]> git.ipfire.org Git - thirdparty/hostap.git/commit
STA OBSS: Update secondary channel info after CSA
authorSergey Matyukevich <geomatsi@gmail.com>
Fri, 27 Dec 2019 12:22:24 +0000 (15:22 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2019 19:04:57 +0000 (21:04 +0200)
commit078217a2d7007d7948d0ed728a18d30e6e92d3c9
treeedca6253ecbda78a5cdf9d6c25833c4303cadc58
parenta6ba5cca4508b32bdf1744e9eb07a23eff279fd3
STA OBSS: Update secondary channel info after CSA

Field wpa_s->sme.ht_sec_chan keeps secondary channel for the 40 MHz
band. This field is used to prepare a list of channels for the STA OBSS
scan. Initially, the secondary channel is set to HT_SEC_CHAN_UNKNOWN.
Later on, in function wpa_obss_scan_freq_list() it is obtained from the
current BSS HT operation IE. However, the secondary channel information
is not updated after channel switch, which may lead to an incorrect list
of channels prepared for the STA OBSS scan.

Update ht_sec_chan according to the channel switch event data to fix
this.

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