OSDN Git Service

rtw88: coex: Improve WLAN throughput when HFP COEX
authorChing-Te Ku <ku920601@realtek.com>
Tue, 15 Feb 2022 00:48:51 +0000 (08:48 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 21 Feb 2022 08:48:48 +0000 (10:48 +0200)
Disable power save TDMA mechanism under HFP COEX, so WLAN can TX/RX full
time.

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://lore.kernel.org/r/20220215004855.4098-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/coex.c

index 2551e22..70adaee 100644 (file)
@@ -1816,13 +1816,8 @@ static void rtw_coex_action_bt_hfp(struct rtw_dev *rtwdev)
 
        if (efuse->share_ant) {
                /* Shared-Ant */
-               if (coex_stat->bt_multi_link) {
-                       table_case = 10;
-                       tdma_case = 17;
-               } else {
-                       table_case = 10;
-                       tdma_case = 5;
-               }
+               table_case = 10;
+               tdma_case = 5;
        } else {
                /* Non-Shared-Ant */
                if (coex_stat->bt_multi_link) {