wifi: rtw89: coex: Update coexistence policy for Wi-Fi LPS
authorChing-Te Ku <ku920601@realtek.com>
Mon, 18 Dec 2023 06:13:36 +0000 (14:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 20 Dec 2023 18:27:42 +0000 (20:27 +0200)
commit94fb737042c1c850c138eef7c661c3ea1d18ccab
tree93a111ab00fbf7ab559e89d0feb480e441424830
parent3ac4b57ca12d5baaedd0d1a0cd532fa50911eaf0
wifi: rtw89: coex: Update coexistence policy for Wi-Fi LPS

Including Wi-Fi RF mode to judge is Wi-Fi RF still on or off,
if Wi-Fi is RF off should set scoreboard to let Bluetooth know
Wi-Fi has gone. Every time the Wi-Fi radio state changed firmware
should force execute refresh the TDMA coexistence mechanism to
prevent incorrect mechanism runs at mismatch state. The coexistence
antenna/TDMA settings should consider what the Wi-Fi mode it is now,
this can help to solve some LPS transient state issue like A2DP
slightly glitch.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231218061341.51255-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c