wpa_supplicant: Implement HE membership selector check
Check the HE membership selector and don't use the BSS if required but not supported by HW. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
054fcfab6f
commit
ed0a7b4809
4 changed files with 31 additions and 1 deletions
|
@ -964,6 +964,17 @@ static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (flagged && ((rate_ie[j] & 0x7f) ==
|
||||
BSS_MEMBERSHIP_SELECTOR_HE_PHY)) {
|
||||
if (!he_supported(mode, IEEE80211_MODE_INFRA)) {
|
||||
if (debug_print)
|
||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||
" hardware does not support HE PHY");
|
||||
return 0;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SAE
|
||||
if (flagged && ((rate_ie[j] & 0x7f) ==
|
||||
BSS_MEMBERSHIP_SELECTOR_SAE_H2E_ONLY)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue