Hi all,
I recently updated my MOX from TOS 6 to TOS 7.0.2, thought everything went fine but actually the wireless appears to be a bit of a disaster. I am using the original PCIe card part of the “MOX classic” set, Qualcomm QCA 9880. I haven’t tweaked the OS or attempted to change the drivers.
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
Physical Slot: 1
Flags: bus master, fast devsel, latency 0, IRQ 111
[...]
Kernel driver in use: ath10k_pci
Many devices of different types (phones, laptops) can’t connect anymore, they get into a loop of attempts that never succeeds. I tried various 5GHz and 2.4GHz bands, and n or ac modes with no joy. typical failed authentication loop:
authentication loop
Sep 2 16:10:09 mox kernel: [89725.553202] ath10k_pci 0000:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0 arvif->paused: 0x0
Sep 2 15:10:12 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: authenticated
Sep 2 15:10:12 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: associated (aid 3)
Sep 2 15:10:12 mox hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED 08:9d:f4:49:1f:65 off
Sep 2 16:10:16 mox kernel: [89732.682508] ath10k_pci 0000:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0 arvif->paused: 0x0
Sep 2 15:10:17 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: authenticated
Sep 2 15:10:17 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: associated (aid 3)
Sep 2 15:10:17 mox hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED 08:9d:f4:49:1f:65 off
Sep 2 16:10:21 mox kernel: [89737.642086] ath10k_pci 0000:01:00.0: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0 arvif->paused: 0x0
Sep 2 15:10:24 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: authenticated
Sep 2 15:10:24 mox hostapd: wlan0: STA 08:9d:f4:49:1f:65 IEEE 802.11: associated (aid 3)
Sep 2 15:10:24 mox hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED 08:9d:f4:49:1f:65 off
Also more serious errors:
ath10k errors and firmware communication issues
Sep 2 23:02:30 mox kernel: [114464.184730] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Sep 2 23:02:30 mox kernel: [114464.287102] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Sep 2 23:02:30 mox kernel: [114464.389519] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Sep 2 23:02:30 mox kernel: [114464.482401] ath10k_pci 0000:01:00.0: Cannot communicate with firmware, previous wmi cmds: 36954:11417246 36904:11417245 36904:11417244 36904:11417242, jiffies: 4306384848, attempting restart restart firmware, dev-flags: 0 x142
Sep 2 23:02:30 mox-raglu kernel: [114464.482435] ath10k_pci 0000:01:00.0: Cannot communicate with firmware, previous wmi cmds: 36954:11417246 36904:11417245 36904:11417244 36904:11417242, jiffies: 4306384848, attempting restart restart firmware, dev-flags: 0 x142
Sep 2 23:02:30 mox kernel: [114464.503322] ath10k_pci 0000:01:00.0: failed to send wmi nop: -108
Sep 2 23:02:30 mox kernel: [114464.524075] ath10k_pci 0000:01:00.0: already restarting
Sep 2 23:02:30 mox kernel: [114464.530446] ath10k_pci 0000:01:00.0: could not request stats (type -268435456 ret -108 specifier 1)
Sep 2 23:02:30 mox kernel: [114464.535918] ath10k_pci 0000:01:00.0: failed to transmit management frame via WMI: -11
Sep 2 23:02:30 mox kernel: [114464.546098] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
And then a driver crashes like this
ath10k crash
Sep 2 23:02:32 mox kernel: [114466.409279] Call trace:
Sep 2 23:02:32 mox kernel: [114466.411892] ieee80211_is_robust_mgmt_frame_tx+0x92c/0xa64 [ath10k_core]
Sep 2 23:02:32 mox kernel: [114466.418917] 0xffffffc000d4ac14
Sep 2 23:02:32 mox kernel: [114466.422263] ath10k_mac_tx_push_txq+0x268/0x570 [ath10k_core]
Sep 2 23:02:32 mox kernel: [114466.428299] ath10k_mac_tx_push_pending+0x1b0/0x1c0 [ath10k_core]
Sep 2 23:02:32 mox kernel: [114466.434691] ieee80211_ctstoself_duration+0x3d0/0x5c4 [mac80211]
Sep 2 23:02:32 mox kernel: [114466.441032] ieee80211_propagate_queue_wake+0x294/0x2e4 [mac80211]
Sep 2 23:02:32 mox kernel: [114466.447536] ieee80211_wake_queues_by_reason+0x78/0xf0 [mac80211]
Sep 2 23:02:32 mox kernel: [114466.453949] ieee80211_reconfig+0x89c/0xc10 [mac80211]
Sep 2 23:02:32 mox kernel: [114466.459376] ieee80211_alloc_hw_nm+0x848/0x8b0 [mac80211]
Sep 2 23:02:32 mox kernel: [114466.465069] process_one_work+0x200/0x3c0
Sep 2 23:02:32 mox kernel: [114466.469304] worker_thread+0x74/0x4d4
Sep 2 23:02:32 mox kernel: [114466.473174] kthread+0x11c/0x130
Sep 2 23:02:32 mox kernel: [114466.476595] ret_from_fork+0x10/0x20
Sep 2 23:02:32 mox kernel: [114466.480376] ---[ end trace 5975be24207b23d7 ]---
Still some devices can connect and get wifi, but overall very difficult. I had to reactivate the SDIO wifi to get some devices going but this is not smooth experience either. And not even supported by Turris anymore.
Any clues/suggestions welcome. I heard of the Candela ath10k-ct driver that used to be the default on OpenWRT but there is a lot of conflicting information out there. If anyone has experiences to share, I am all ears…
My wireless config, nothing fancy i think (GB country is correct BTW):
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/d0070000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option country 'GB'
option disabled '0'
option cell_density '0'
option htmode 'HT40'
option band '2g'
option channel '8'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option disabled '0'
option ssid 'xxxx'
option encryption 'sae-mixed'
option wpa_group_rekey '86400'
option key xxxxxx'
option hidden '0'
Thanks