[PATCH] wpa_supplicant: add support for VHT selector
Michal Kazior
michal.kazior
Wed Jul 3 01:14:00 PDT 2013
This allows wpa_supplicant to associate to an AP
that has VHT selector set.
Without the patch it is impossible to connect to,
e.g. hostapd-based AP that has require_vht=1.
wpa_supplicant ignores given network block with
reason:
hardware does not support required rate 63.0 Mbps
Signed-hostap: Michal Kazior <michal.kazior at tieto.com>
---
wpa_supplicant/events.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index f757c72..0059b98 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -613,6 +613,18 @@ static int rate_match(struct wpa_supplicant *wpa_s, struct wpa_bss *bss)
continue;
}
+ /* There's also a VHT selector for 802.11ac */
+ if (flagged && ((rate_ie[j] & 0x7f) ==
+ BSS_MEMBERSHIP_SELECTOR_VHT_PHY)) {
+ if (!ht_supported(mode)) {
+ wpa_dbg(wpa_s, MSG_DEBUG,
+ " hardware does not support "
+ "VHT PHY");
+ return 0;
+ }
+ continue;
+ }
+
if (!flagged)
continue;
--
1.7.9.5
More information about the Hostap
mailing list