Thanks for the kind reply. This change looks superfluous and not good. Please abandon it. I am thinking for another solution, as https://patchwork.ozlabs.org/patch/1217027/ and would like to ask for the advise and help. I agree that " Shouldn't the upper layer code be able to find the matching mode and channel from the existing HOSTAPD_MODE_IEEE80211G/_IEEE80211A entries". At first I met problem at Android VTS test, since "the upper layer code" doesn't consider this situation... The issue was recorded at: https://issuetracker.google.com/issues/145944392 That's why there comes this temporary solution, just to make Android VTS pass... https://android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/1180867 I am thinking if there is any general approach for not only QCA, but other Wifi vendor also. It seems hard to decide which OUI hostapd can use as the general OUI for hostapd to send Linux wiphy vendor command... Any guidance or advice would be appreciated. BR, Neo Jou _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap