hostapd/src
Sven Eckelmann b0fc2ef3a3 hw_features: Fix check of supported 802.11ac channel width
The two channel width bits in the VHT capability field can be decoded in
following values (IEEE Std 802.11ac-2013 8.4.2.160.2 VHT Capabilities
Info field):

 * 0: no 160 or 80+80 MHz support
 * 1: 160 MHz support
 * 2: 160 and 80+80 MHz support
 * 3: (reserved)

The check must therefore not be done bitwise but instead it must checked
whether the capabilities announced by the driver are at least the ones
requested by the user.

Fixes: c781eb8428 ("hostapd: Verify VHT capabilities are supported by driver")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
2017-07-18 13:39:46 +03:00
..
ap WNM: Differentiate between WNM for station and for AP in build 2017-07-18 13:28:09 +03:00
common hw_features: Fix check of supported 802.11ac channel width 2017-07-18 13:39:46 +03:00
crypto OpenSSL: Clear default_passwd_cb more thoroughly 2017-07-17 12:06:17 +03:00
drivers nl80211: Check if driver supports OCE specific features 2017-07-14 21:13:22 +03:00
eap_common Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_peer EAP-TTLS: Fix a memory leak on error paths 2017-07-08 16:21:38 +03:00
eap_server Use os_memdup() 2017-03-07 13:19:10 +02:00
eapol_auth Use os_memdup() 2017-03-07 13:19:10 +02:00
eapol_supp eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
fst FST: Silence compiler warning on WPA_ASSERT 2017-01-29 18:45:29 +02:00
l2_packet tests: Add TEST_FAIL() checks in l2_packet 2017-03-04 11:43:58 +02:00
p2p P2P: Do not use wait_time for SD Response TX for last fragmentation 2017-04-01 14:25:26 +03:00
pae PAE: Silence static analyzer warning about NULL pointer dereference 2017-04-24 11:38:10 +03:00
radius Use os_memdup() 2017-03-07 13:19:10 +02:00
rsn_supp FILS: Fix compilation with CONFIG_NO_WPA 2017-07-08 16:21:38 +03:00
tls Use os_memdup() 2017-03-07 13:19:10 +02:00
utils JSON: Fix \u escaping 2017-06-22 15:09:57 +03:00
wps Use os_memdup() 2017-03-07 13:19:10 +02:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00