]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: coex: Allow Bluetooth doing traffic during Wi-Fi scan
authorChing-Te Ku <ku920601@realtek.com>
Thu, 18 Apr 2024 02:11:59 +0000 (10:11 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 23 Apr 2024 11:45:28 +0000 (19:45 +0800)
commita4f19fd7dcea99970927df1dac5bba60b905f4d3
tree850f63278fa0045ab4b65a84de99716dbc9e85be
parentfeaedb05fc47f3078eecdefa317db8e79a24b0e2
wifi: rtw89: coex: Allow Bluetooth doing traffic during Wi-Fi scan

The Wi-Fi/Bluetooth slot are toggled by firmware timer when Wi-Fi doing
firmware scan, and Wi-Fi slot don't allow Bluetooth do traffic when
Wi-Fi slot. It will trigger Bluetooth audio lag in a random rate, because
Bluetooth can not have enough time slot to keep enough data to play audio.
This patch make Bluetooth can do traffic during Wi-Fi slot, this can help
Bluetooth to collect audio data in time.

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