wifi: rtw89: 8922a: add BTG functions to assist BT coexistence to control TX/RX
authorChung-Hsuan Hung <hsuan8331@realtek.com>
Sat, 20 Jan 2024 00:38:31 +0000 (08:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 23 Jan 2024 11:34:18 +0000 (13:34 +0200)
commita4374cbd6b2e15340488e66983c7535d5dd6a5a9
tree9c04d27e5b93d94fea739a286586f5673242b355
parent295304040d9f6f350b68652acd99650c7e16d0a8
wifi: rtw89: 8922a: add BTG functions to assist BT coexistence to control TX/RX

These functions are to control baseband AGC while BT coexists with WiFi.
Among these functions, ctrl_btg_bt_rx is used to control AGC related
settings, which is affected by BT RX, while BT shares the same path with
WiFi; ctrl_nbtg_bt_tx is used to control AGC settings under non-shared
path condition, which is affected by BT TX.

Signed-off-by: Chung-Hsuan Hung <hsuan8331@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240120003831.7014-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8922a.c