]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: coex: Set Wi-Fi/Bluetooth priority for Wi-Fi scan case
authorChing-Te Ku <ku920601@realtek.com>
Sat, 19 Oct 2024 06:31:31 +0000 (14:31 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 25 Oct 2024 02:22:13 +0000 (10:22 +0800)
The priority table should be changed according to what the in using
Bluetooth application is. To avoid Bluetooth audio + HID (mouse) will
trigger the lag experience, update the priority table.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241019063131.9462-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c

index 989e6e882c6e73ccc483ffb31d54092a0770bd80..8a65722dd1fd48e26e5f55540ba4ec4b8eecf591 100644 (file)
@@ -3853,7 +3853,7 @@ void rtw89_btc_set_policy_v1(struct rtw89_dev *rtwdev, u16 policy_type)
                                     s_def[CXST_ENULL].cxtbl, s_def[CXST_ENULL].cxtype);
                        break;
                case BTC_CXP_OFFE_2GBWMIXB:
-                       _slot_set(btc, CXST_E2G, 0, 0xea5a5555, SLOT_MIX);
+                       _slot_set(btc, CXST_E2G, 0, tbl_w1, SLOT_MIX);
                        _slot_set_le(btc, CXST_EBT, s_def[CXST_EBT].dur,
                                     s_def[CXST_EBT].cxtbl, s_def[CXST_EBT].cxtype);
                        break;