]> 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)
commitce47a808a665733e5f25d0854dd1bd8f5365ba84
tree8f207e346bfedfb40c4dc192137a66a0914dcd98
parentf29c0363d334e56fa82478e76fb3ee32a828ff4a
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