[PATCH 0/2][SRU][N] rtw89_8852ce - Lost WIFI connection after suspend
AceLan Kao
acelan.kao at canonical.com
Wed Jun 12 01:33:31 UTC 2024
From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2065128
[Impact]
Lost WIFI connection after suspend.
While this happen, the WIFI module couldn't detect any AP, re-enable module and reboot OS without any help.
There only way to get it back is cold boot.
[Fix]
Realtek provides a fix which has been included in rtw maintainer's tree
https://lore.kernel.org/linux-wireless/20240426061200.44262-1-pkshih@realtek.com/T/#mbfcb37c2fdc85ba280743f2b07fbf1fa8719eb79
The commits has been included in v6.10-rc1
4e5957101d42 wifi: rtw89: 8852c: refine power sequence to imporve power consumption
535c045da60f wifi: rtw89: reset AFEDIG register in power off sequence
[Test case]
1. Boot into OS
2. open terminal to keep checking dmesg or check the wifi connection from GUI
3. suspend/resume multiple times
4. check the wifi connection
[Where problems could occur]
What the 2 commits should be safe and won't introduce any regression.
1. Reset AFEDIG register before BB reset in power off sequence
2. Adjust power and clock parameters
Chia-Yuan Li (1):
wifi: rtw89: 8852c: refine power sequence to imporve power consumption
Chin-Yen Lee (1):
wifi: rtw89: reset AFEDIG register in power off sequence
drivers/net/wireless/realtek/rtw89/rtw8851b.c | 1 +
drivers/net/wireless/realtek/rtw89/rtw8852b.c | 2 ++
drivers/net/wireless/realtek/rtw89/rtw8852c.c | 12 ++++++++++--
3 files changed, 13 insertions(+), 2 deletions(-)
--
2.34.1
More information about the kernel-team
mailing list