wifi: rtw89: coex: Update RF parameter control setting logic
authorChing-Te Ku <ku920601@realtek.com>
Mon, 18 Dec 2023 06:13:39 +0000 (14:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 20 Dec 2023 18:27:43 +0000 (20:27 +0200)
commit6e5cf39f3107f9f21e3b4b9ee243897cd946473e
treef2fbf8bf166cfc24d1af5d66b3d74a3f0cfe069f
parent221a72f73888f8de603e70bdda394d0fc110be2a
wifi: rtw89: coex: Update RF parameter control setting logic

Coexistence will set the RF parameter according to Wi-Fi link mode,
Wi-Fi/Bluetooth signal level, traffic direction, antenna type,
and is there Bluetooth connection exist or not. Bluetooth will notify
the current LNA level by scoreboard. If the setting not as expected,
coexistence will try to assign the correct level.

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-10-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c
drivers/net/wireless/realtek/rtw89/core.h