]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add check to consider band in enabling connection_vht flag
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Mon, 10 Feb 2020 19:34:33 +0000 (01:04 +0530)
committerJouni Malinen <jouni@codeaurora.org>
Tue, 11 Feb 2020 03:19:16 +0000 (05:19 +0200)
commitadf3de44ca717cb8faa852d481edbd54b0c3cb16
tree15a713562c8d6121f16df9ff77a200ad68eb1e6d
parent490d90db40049357cb7a1a3543efed069e3821b4
Add check to consider band in enabling connection_vht flag

connection_vht flag was set to true when both Association Request and
Response frame IEs have VHT capability. Thus all devices that have
support for the vendor specific partial VHT support in the 2.4 GHz band
were also being reported as VHT capable. However, IEEE Std 802.11ac-2013
defines VHT STA to operate in frequency bands below 6 GHz excluding the
2.4 GHz band.

Do not set connection_vht when the operating band is 2.4 GHz. This
avoids reporting wifi_generation 5 on the 2.4 GHz band and reserves the
generation value 5 for full VHT as defined in the IEEE 802.11 standard.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
wpa_supplicant/events.c