]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: coex: 8723d: handle BT inquiry cases
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 29 May 2020 02:50:08 +0000 (10:50 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 May 2020 17:36:04 +0000 (20:36 +0300)
commitc451a80b6ff9f9d3af025c4e37a5ad1277d701b5
tree130345dc2ab4e3dc77f852b479b5f903049d615c
parent541e929dcd61bf849be7257eaa09188bdce196ad
rtw88: coex: 8723d: handle BT inquiry cases

Coex mechanism used to make BT have higher priority and more time to
transfer data when BT inquiry-page, which leads to poor WiFi performance.
Should take WiFi traffic into consideration. If the WiFi is having heavy
traffic, use another parameter to make sure WiFi has more chance to TX/RX,
while guarantee the priority of BT for inquiry. If the WiFi isn't busy
(connected or not), set proper parameter to fix originals.

Fixes: 9bdeb94b37e3 ("rtw88: 8723d: Add 8723DE to Kconfig and Makefile")
Tested-by: You-Sheng Yang <vicamo.yang@canonical.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200529025009.2468-3-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/coex.c
drivers/net/wireless/realtek/rtw88/rtw8723d.c