OSDN Git Service

rtw88: coex: Change antenna setting to enhance free-run performance
authorChing-Te Ku <ku920601@realtek.com>
Thu, 12 Nov 2020 03:14:26 +0000 (11:14 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Nov 2020 09:16:25 +0000 (11:16 +0200)
commit65c6861f6382391149605631432af4bf8d7e8c9a
treea89c90b63be3d8633b2155280c628a3ed5df73c6
parent22a9dc720f106715e76546db8268fd6e99bdeb93
rtw88: coex: Change antenna setting to enhance free-run performance

While the mechanism goes to 2G_free_run or WL5G_BT2G,
set BT to hardware PTA mode to get a more efficiently performance.

Add a flag to indicate antenna switch is supported or not so
that the IC serials which has different antenna structure can
set antenna correctly.

Signed-off-by: Ching-Te Ku <ku920601@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/20201112031430.4846-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/coex.c