]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: drop beacon and probe response which leak from other channel
authorWen Gong <quic_wgong@quicinc.com>
Wed, 8 Dec 2021 06:17:52 +0000 (01:17 -0500)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 9 Dec 2021 08:16:25 +0000 (10:16 +0200)
commit7a8d976d5ad5c835ed2d5a3e64bd33ca8b0aac93
treef5ab16c5b20145805313fbe21e8bd89ff1fe2dcb
parentbff8682656e7e5c7adf04e0a3e767abe79d219f6
ath10k: drop beacon and probe response which leak from other channel

When scan request on channel 1, it also receive beacon from other
channels, and the beacon also indicate to mac80211 and wpa_supplicant,
and then the bss info appears in radio measurement report of radio
measurement sent from wpa_supplicant, thus lead RRM case fail.

This is to drop the beacon and probe response which is not the same
channel of scanning.

Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211208061752.16564-1-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath10k/wmi.c