Commit 2dcf60c7 authored by Ching-Te Ku's avatar Ching-Te Ku Committed by Hubert Mazur
Browse files

BACKPORT: FROMGIT: wifi: rtw89: coex: Add protect to avoid A2DP lag while Wi-Fi connecting



To get a well Wi-Fi RF quality, Wi-Fi need to do RF calibrations. While
Wi-Fi is doing RF calibrations, driver will pause the Bluetooth traffic
to make sure the RF calibration will not be interfered by Bluetooth.
However, if the RF calibrations take too much time, Bluetooth audio
will perform a lag sound. Add a function to make Bluetooth can do
traffic between the individual calibrations to avoid Bluetooth sound
lag. And patch related A2DP coexistence mechanism actions.

Signed-off-by: default avatarChing-Te Ku <ku920601@realtek.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250110015416.10704-2-pkshih@realtek.com
(cherry picked from commit 5251fd32
 https://github.com/pkshih/rtw.git

 rtw-next)

Conflicts:
   drivers/net/wireless/realtek/rtw89/rtw8851b.c
	(contextual conflicts)
   drivers/net/wireless/realtek/rtw89/rtw8852a.c
	(contextual conflicts)
   drivers/net/wireless/realtek/rtw89/rtw8852b.c
	(contextual conflicts)
   drivers/net/wireless/realtek/rtw89/rtw8852bt.c
	(Unmerged path)
   drivers/net/wireless/realtek/rtw89/rtw8852c.c
	(contextual conflicts)

BUG=b:383905730
TEST=verify suite:wifi_matfunc and suite:bluetooth_wifi_coex on Nissa

Change-Id: I18f197459f2af9e8c34298c01690703ed1b4795f
Signed-off-by: default avatarZong-Zhe Yang <kevin_yang@realtek.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6181454


Reviewed-by: default avatarRuth Mekonnen <rmekonnen@google.com>
Tested-by: default avatarTim Lee <timlee@realtek.com>
Commit-Queue: Ruth Mekonnen <rmekonnen@google.com>
Reviewed-by: default avatarDavid Ruth <druth@chromium.org>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
parent 0f416111
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment