Ath10k_pci causes hardware restart

I'm using a HH5A which has two interfaces: ath10k_pci (which I use for AC) and ath9k (which I use for legacy). I just noticed that my router uptime is usually a maximum of 2 days so I started investigating. It seems that it restarts randomly because of these errors:

Mar 2, 2021 @ 08:49:34.033ath10k_pci 0000:02:00.0: failed to send pdev bss chan info request: -11
Mar 2, 2021 @ 08:49:34.033ath10k_pci 0000:02:00.0: wmi command 36977 timeout, restarting hardware	
Mar 2, 2021 @ 08:49:30.955ath10k_pci 0000:02:00.0: wmi command 36954 timeout, restarting hardware

Is there anything I can do to stop these restarts from happening? i.e. except for not using the interface.

This is my firmware version:

# ethtool -i wlan0
driver: ath10k_pci
version: 4.14.221
firmware-version: 10.1-ct-8x-__fW-022-538f0906
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

also the kernel logs when loading the driver:

[   11.737455] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   11.991781] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:02:00.0.txt failed with error -2
[   12.000988] ath10k_pci 0000:02:00.0: Falling back to user helper
[   12.298629] firmware ath10k!fwcfg-pci-0000:02:00.0.txt: firmware_loading_store: map pages failed
[   12.306656] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   12.316784] ath10k_pci 0000:02:00.0: Falling back to user helper
[   12.708616] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   12.718156] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   12.727760] ath10k_pci 0000:02:00.0: Falling back to user helper
[   13.118691] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   13.127117] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   13.137521] ath10k_pci 0000:02:00.0: Falling back to user helper
[   13.529366] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   13.537832] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   13.547963] ath10k_pci 0000:02:00.0: Falling back to user helper
[   13.940719] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   13.948897] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   13.959059] ath10k_pci 0000:02:00.0: Falling back to user helper
[   14.315109] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   14.323266] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   14.333425] ath10k_pci 0000:02:00.0: Falling back to user helper
[   14.614637] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   14.622869] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   14.632993] ath10k_pci 0000:02:00.0: Falling back to user helper
[   14.914631] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   14.927903] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.935805] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.952696] ath10k_pci 0000:02:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 e1c91a74
[   15.003621] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   15.012725] ath10k_pci 0000:02:00.0: Falling back to user helper
[   15.271174] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   15.279435] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.163614] ath10k_pci 0000:02:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   16.179633] ath10k_pci 0000:02:00.0: wmi print 'P 128 V 8 T 410'
[   16.184252] ath10k_pci 0000:02:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   16.192671] ath10k_pci 0000:02:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   16.260877] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   16.272409] ath10k_pci 0000:02:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   34.565846] ath10k_pci 0000:02:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   34.581869] ath10k_pci 0000:02:00.0: wmi print 'P 128 V 8 T 410'
[   34.586556] ath10k_pci 0000:02:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   34.595472] ath10k_pci 0000:02:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   34.663478] ath10k_pci 0000:02:00.0: pdev param 0 not supported by firmware
1 Like