[SRU][N/M/J][PATCH 0/1] RTL8852BE fw security fail then lost WIFI function during suspend/resume cycle

Hui Wang hui.wang at canonical.com
Tue Apr 23 02:18:42 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2063096

[Impact]

On a Dell laptop, When we do suspend/resume test, we found the
realtek wifi couldn't work after resume, from the dmesg, we found
the error log as below:
Log:
三 05 15:08:02 u-Precision-3591 kernel: rtw89_8852be 0000:02:00.0: fw security fail
三 05 15:08:02 u-Precision-3591 kernel: rtw89_8852be 0000:02:00.0: download firmware fail
三 05 15:08:02 u-Precision-3591 kernel: rtw89_8852be 0000:02:00.0: [ERR]fwdl 0x1E0 = 0x62
三 05 15:08:02 u-Precision-3591 kernel: rtw89_8852be 0000:02:00.0: [ERR]fwdl 0x83F2 = 0x8

[Fix]

Backport a commit from mainline kernel (linux-next), this will retry firmware
loading for 5 times.

[Test Case]

run suspend/resume test case for over 100 times, the wifi still
works.

[Where problems could occur]

This commit comes from mailine kernel, and it doesn't change existing
driver except loading firmware a couple of more times if there is an error.
In theory this will not introduce regression.


Chia-Yuan Li (1):
  wifi: rtw89: download firmware with five times retry

 drivers/net/wireless/realtek/rtw89/fw.c | 27 +++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list