rtw88: coex: Set 4 slot mode for A2DP
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 8 Oct 2019 08:21:00 +0000 (16:21 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 14 Oct 2019 09:10:51 +0000 (12:10 +0300)
commit12078aae453556a88fb46777b7cc5fc97f867b7c
treea86fb6fb68cff58e96a54364cfee47abfb5e01cf
parent474264d5a6b7db4d6c1a1ba1464812addbb7f974
rtw88: coex: Set 4 slot mode for A2DP

With shallow buffer size, certain BT devices have active
A2DP flow control to fill buffer frequently. If the slot
is not at BT side, data can't be sent successfully to BT
devices, and will cause audio glitch.

To resolve this issue, this commit splits TUs into 4-slots
instead of 2-slot for all of the A2DP related coexistence
strategies. That makes BT have higher opportunity to fill
the A2DP buffer in time, and the audio quality could be
more stable and smooth.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/coex.c