OSDN Git Service

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)
commita853d234e179086040912a8bbb3341829c079495
tree8f207e346bfedfb40c4dc192137a66a0914dcd98
parent9a711831c4e71f29897b3489c3097081aea580c4
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