]> git.itanic.dy.fi Git - linux-stable/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)
commit3bf2537ec2e33310b431b53fd84be8833736c256
treef5ab16c5b20145805313fbe21e8bd89ff1fe2dcb
parentd3d358efc553de4f9d803c889a2e91523ea90f19
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