diff mbox series

[v2,01/10] rtw88: coex: run coexistence when WLAN entering/leaving LPS

Message ID 20201126021059.11981-2-pkshih@realtek.com (mailing list archive)
State Accepted
Commit 1329c0dbd485a48979c386088166ee2c3e28ddb8
Delegated to: Kalle Valo
Headers show
Series rtw88: coex: enhance coex performance and synchronize coex code | expand

Commit Message

Ping-Ke Shih Nov. 26, 2020, 2:10 a.m. UTC
From: Ching-Te Ku <ku920601@realtek.com>

When WLAN entering or leaving, it's necessary to run coexistence mechanism
to ensure the setting matched current status.
Without calling rtw_coex_run_coex(), WLAN poor throughput or bad A2DP
quality may happen.

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw88/coex.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo Dec. 2, 2020, 7:24 p.m. UTC | #1
<pkshih@realtek.com> wrote:

> From: Ching-Te Ku <ku920601@realtek.com>
> 
> When WLAN entering or leaving, it's necessary to run coexistence mechanism
> to ensure the setting matched current status.
> Without calling rtw_coex_run_coex(), WLAN poor throughput or bad A2DP
> quality may happen.
> 
> Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

10 patches applied to wireless-drivers-next.git, thanks.

1329c0dbd485 rtw88: coex: run coexistence when WLAN entering/leaving LPS
1a589bd5be92 rtw88: coex: add debug message
76f631cb401f rtw88: coex: update the mechanism for A2DP + PAN
4d0087e763a8 rtw88: coex: update AFH information while in free-run mode
6a910a2a7d5d rtw88: coex: change the coexistence mechanism for HID
c404dbd4fbfc rtw88: coex: change the coexistence mechanism for WLAN connected
8e6947dcb95d rtw88: coex: add function to avoid cck lock
79d06b20d00b rtw88: coex: add action for coexistence in hardware initial
1a74daed6cef rtw88: coex: upgrade coexistence A2DP mechanism
5b2e9a35e456 rtw88: coex: add feature to enhance HID coexistence performance
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw88/coex.c b/drivers/net/wireless/realtek/rtw88/coex.c
index 4bb0d373c862..7b69c7b01e22 100644
--- a/drivers/net/wireless/realtek/rtw88/coex.c
+++ b/drivers/net/wireless/realtek/rtw88/coex.c
@@ -2476,6 +2476,8 @@  void rtw_coex_lps_notify(struct rtw_dev *rtwdev, u8 type)
 
 		if (!coex_stat->wl_force_lps_ctrl)
 			rtw_coex_query_bt_info(rtwdev);
+
+		rtw_coex_run_coex(rtwdev, COEX_RSN_LPS);
 	}
 }