rtw88: coex: run coexistence when WLAN entering/leaving LPS

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201126021059.11981-2-pkshih@realtek.com
This commit is contained in:
Ching-Te Ku
2020-11-26 10:10:50 +08:00
committed by Kalle Valo
parent e220332c3a
commit 1329c0dbd4

View File

@ -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);
}
}