Ath11k firmware crash after suspend/resume, used to work fine

Wifi used to work just fine on my Thinkpad Z13 Gen 1, but with recent upgades, every time I suspend, the ath11k firmware crashes on resume:

[    6.560240] ath11k_pci 0000:01:00.0: BAR 0 [mem 0xb0000000-0xb01fffff 64bit]: assigned
[    6.560262] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    6.561052] ath11k_pci 0000:01:00.0: MSI vectors: 32
[    6.561064] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[    7.727218] ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[    7.727239] ath11k_pci 0000:01:00.0: fw_version 0x11088c35 fw_build_timestamp 2024-04-17 08:34 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
[    8.072721] ath11k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
[    8.087200] ath11k_pci 0000:01:00.0: Failed to set the requested Country regulatory setting
[    8.087215] ath11k_pci 0000:01:00.0: failed to process regulatory info -22
[    8.087240] ath11k_pci 0000:01:00.0: Failed to set the requested Country regulatory setting
[    8.087244] ath11k_pci 0000:01:00.0: failed to process regulatory info -22
[ 2360.917522] ath11k_pci 0000:01:00.0: BAR 0 [mem 0xb0000000-0xb01fffff 64bit]: assigned
[ 2360.919808] ath11k_pci 0000:01:00.0: MSI vectors: 32
[ 2360.919818] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[ 2361.814782] ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[ 2361.814797] ath11k_pci 0000:01:00.0: fw_version 0x11088c35 fw_build_timestamp 2024-04-17 08:34 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
[ 2362.199588] ath11k_pci 0000:01:00.0: firmware crashed: MHI_CB_EE_RDDM
[ 2362.199616] ath11k_pci 0000:01:00.0: ignore reset dev flags 0x8000
[ 2371.927942] ath11k_pci 0000:01:00.0: failed to wait wlan mode request (mode 0): -110
[ 2371.927955] ath11k_pci 0000:01:00.0: qmi failed to send wlan fw mode: -110
[ 2371.927963] ath11k_pci 0000:01:00.0: failed to send firmware start: -110
[ 2371.927968] ath11k_pci 0000:01:00.0: failed to start firmware: -110
[ 8010.306211] ath11k_pci 0000:01:00.0: BAR 0 [mem 0xb0000000-0xb01fffff 64bit]: assigned
[ 8010.307941] ath11k_pci 0000:01:00.0: MSI vectors: 32
[ 8010.308139] ath11k_pci 0000:01:00.0: wcn6855 hw2.1
[ 8011.472171] ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[ 8011.472185] ath11k_pci 0000:01:00.0: fw_version 0x11088c35 fw_build_timestamp 2024-04-17 08:34 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
[ 8011.859608] ath11k_pci 0000:01:00.0: firmware crashed: MHI_CB_EE_RDDM
[ 8011.859655] ath11k_pci 0000:01:00.0: ignore reset dev flags 0x8000
[ 8021.641930] ath11k_pci 0000:01:00.0: failed to wait wlan mode request (mode 0): -110
[ 8021.641946] ath11k_pci 0000:01:00.0: qmi failed to send wlan fw mode: -110
[ 8021.641954] ath11k_pci 0000:01:00.0: failed to send firmware start: -110
[ 8021.641959] ath11k_pci 0000:01:00.0: failed to start firmware: -110

Hi @ferrao ,
I wonder whether you could read two post from the forum, in order to solve your problem.
β€˜WiFi suddenly stopped connecting’

β€˜Lenovo Z13 - Issues with Kernel >5.15 - #5 by Zerginator’

Hope it help, regards

1 Like

Thanks @j8a , but ti does not help in my case.
The driver actually crashes, then I get these:

[ 8021.641954] ath11k_pci 0000:01:00.0: failed to send firmware start: -110
[ 8021.641959] ath11k_pci 0000:01:00.0: failed to start firmware: -110

And the wifi interface is gone. Unloading and reloading the kernel modules does not help.
Only rebooting works, but it’s a pain to reboot on just about every time I close the laptop lid.

It used to work fine, the only changes were that I installed tlp and upgraded the kernel to 6.12.

I am using an X13 AMD and have no issues with the Qualcomm QCNFA765 using driver ath11k_pci.

 $ inxi -SMNz
System:
  Kernel: 6.12.10-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.2.5 Distro: Manjaro Linux
Machine:
  Type: Laptop System: LENOVO product: 21J3CTO1WW v: ThinkPad X13 Gen 4
    serial: <superuser required>
  Mobo: LENOVO model: 21J3CTO1WW serial: <superuser required> UEFI: LENOVO
    v: R29ET52W (1.26 ) date: 01/15/2024
Network:
  Device-1: Qualcomm QCNFA765 Wireless Network Adapter driver: ath11k_pci

Hi @ferrao ,
I wonder whether you could inspect the tlp package configuration, maybe something is not well set up.
β€˜TLP - ArchWiki’
Regards

Latest updates to the linux kernel that came out today just fixed it!

Actually I was too quick, still happens on both 6.12 and 6.13 kernels:

[29362.635895] ath11k_pci 0000:01:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
[29362.635908] ath11k_pci 0000:01:00.0: fw_version 0x11088c35 fw_build_timestamp 2024-04-17 08:34 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
[29363.035642] ath11k_pci 0000:01:00.0: firmware crashed: MHI_CB_EE_RDDM
[29363.035737] ath11k_pci 0000:01:00.0: ignore reset dev flags 0x8000
[29372.749010] ath11k_pci 0000:01:00.0: failed to wait wlan mode request (mode 0): -110
[29372.749029] ath11k_pci 0000:01:00.0: qmi failed to send wlan fw mode: -110
[29372.749038] ath11k_pci 0000:01:00.0: failed to send firmware start: -110
[29372.749043] ath11k_pci 0000:01:00.0: failed to start firmware: -110