]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: notify fw when driver in scan-period to avoid potential problem
authorChin-Yen Lee <timlee@realtek.com>
Fri, 14 May 2021 07:55:17 +0000 (15:55 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Jun 2021 15:20:05 +0000 (18:20 +0300)
commita5f5aa4376e32cbdd02876e11d5d1b6e03d677d9
tree8f207e346bfedfb40c4dc192137a66a0914dcd98
parent8a9e16c0dde2ac6cbb3673c3d2808f85bc8c2722
rtw88: notify fw when driver in scan-period to avoid potential problem

It is found that driver scan could be affected by dynamic mechanism
of firmware, so we notify firmware to stop it in the scan period.
Another, firmware will detect the background noise and report to
driver for further use.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210514075517.14216-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c
drivers/net/wireless/realtek/rtw88/fw.h
drivers/net/wireless/realtek/rtw88/mac80211.c
drivers/net/wireless/realtek/rtw88/main.c
drivers/net/wireless/realtek/rtw88/main.h