mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
wifi: rtw89: coex: Set Bluetooth background scan PTA request priority
When Wi-Fi is RX, set Bluetooth background scan to low-priority and not to break Wi-Fi packet. Bluetooth can RX depend on hardware ability even RX request has been rejected. This way can improve Wi-Fi RX throughput performance. 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/20230117114109.4298-6-pkshih@realtek.com
This commit is contained in:
parent
7cd8200555
commit
6d2a479c1f
|
|
@ -4763,6 +4763,8 @@ void _run_coex(struct rtw89_dev *rtwdev, enum btc_reason_and_action reason)
|
|||
_action_wl_nc(rtwdev);
|
||||
break;
|
||||
case BTC_WLINK_2G_STA:
|
||||
if (wl->status.map.traffic_dir & BIT(RTW89_TFC_DL))
|
||||
bt->scan_rx_low_pri = true;
|
||||
_action_wl_2g_sta(rtwdev);
|
||||
break;
|
||||
case BTC_WLINK_2G_AP:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user