wifi: rtw89: fix incorrect channel info during scan due to ppdu_sts filtering
authorChih-Kang Chang <gary.chang@realtek.com>
Mon, 20 Mar 2023 09:31:12 +0000 (17:31 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 3 Apr 2023 13:37:07 +0000 (16:37 +0300)
commit40711486c7ba91a35ba495564e45be0f2a1b3729
tree66efa46a019f692f22781009bdcb964357931112
parent41209362d700f868ae7f0f30dc7634d0e0026880
wifi: rtw89: fix incorrect channel info during scan due to ppdu_sts filtering

We use ppdu_sts to obtain channel information from hardware, to ensure
that the scan results have correct channel information. However, some of
ppdu_sts that is filtered by the to_self check is also needed for the scan
results. Therefore, we modify the filter part in front of CFO count.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230320093112.30466-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c