]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/sme.c
STA OBSS: Add check for overlapping BSSs
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 19 Mar 2019 12:35:56 +0000 (12:35 +0000)
committerJouni Malinen <j@w1.fi>
Thu, 26 Dec 2019 09:41:01 +0000 (11:41 +0200)
commit3204795d7a43bcbda8b695dd96d11f3000de7340
tree026f134bb9e5b5fa2b85964f9001e58c50d61286
parent3af78a4e043ede6488eae081d854bad89500aec2
STA OBSS: Add check for overlapping BSSs

In the previous implementation connected STA performs OBSS scan
according to requests from its 20/40 MHz AP. However STA checks only 40
MHz intolerance subfield from HT Capabilities element in scan results.
Meanwhile, as per IEEE Std 802.11-2016, 11.16.12, STA should check
overlapping BSSs as well.

Note that all the required code to check overlapping BSSs did already
exist for AP mode since AP does those checks properly before operating
as 20/40 MHz BSS in the 2.4 GHz band. Use that existing code by replace
existing 40 MHz intolerance check in sme_proc_obss_scan() with the new
shared helper function check_bss_coex_40mhz().

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
wpa_supplicant/events.c
wpa_supplicant/sme.c
wpa_supplicant/sme.h