5GHz wifi fails with "ath10k_pci 0000:02:00.0: failed to send pdev bss chan info request"

Every few days, Omnia’s 5GHz wifi stops working. Apparently there is a failure of the ath10k adapter or its driver. On the most recent occurrence, I quickly connected on 2.4GHz and found this in Luci’s log:

warning kernel[]: [276461.759786] ath10k_pci 0000:02:00.0: failed to send pdev bss chan info request

A few seconds later, more messages were logged, which I’ll put at the end of this post.

The Luci wireless page, showed “Tx power: 0”, “Signal: 0”, “Wireless network is enabled.”

I clicked the button to “Disable” and then “Enable”. After a long delay, maybe 5 minutes, the 5GHz came back up and I was able to reconnect.

This has been happening a few times every week.

Will it be necessary to replace the ath10k chip?

Regards,
Kurt

PS. I found a report of similar symptoms from 2018. That user’s problem was solved by a driver change. I assume Omnia has the best drivers already thanks to automatic update.

[276537.753421] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 44:91:60:9b:cd:02: -11
[276537.753430] wlan0: failed to remove key (0, 44:91:60:9b:cd:02) from hardware (-11)
[276537.762543] ath10k_pci 0000:02:00.0: cipher 0 is not supported
[276537.762552] ath10k_pci 0000:02:00.0: failed to remove peer wep key 0: -95
[276537.762558] ath10k_pci 0000:02:00.0: failed to clear all peer wep keys for vdev 0: -95
[276537.762563] ath10k_pci 0000:02:00.0: failed to disassociate station: 44:91:60:9b:cd:02 vdev 0: -95
[276537.762567] ------------[ cut here ]------------
[276537.762644] WARNING: CPU: 0 PID: 4527 at /home/beast/beast/workspace/omnia-stable/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.15_eabi/linux-mvebu/compat-wireless-2017-01-31/net/mac80211/sta_info.c:956 sta_set_sinfo+0xa8c/0xaec mac80211
[276537.762706] Modules linked in: qcserial option iptable_nat ath9k usb_wwan rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cdc_ether ath9k_common armada_thermal xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm thermal_sys pppox ppp_mppe ppp_async nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast mvsdio iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hwmon ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt cdc_wdm ath9k_hw fuse sch_cake nf_conntrack sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_vlan act_police act_pedit act_nat act_ipt act_gact act_csum act_bpf act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio cryptodev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc nfsd nfsv3 msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad vfat fat udf crc_itu_t ntfs nfs_layout_nfsv41_files nfsv4 nfs auth_rpcgss oid_registry lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc xhci_plat_hcd xhci_pci xhci_hcd uhci_hcd ledtrig_transient ahci_platform uas xfs libcrc32c jfs f2fs exfat mii aead crypto_null
[276537.763098] CPU: 0 PID: 4527 Comm: hostapd Tainted: G W 4.4.199-a890a5a94ebb621f8f1720c24d12fef1-0 #1
[276537.763102] Hardware name: Marvell Armada 380/385 (Device Tree)
[276537.763105] Backtrace:
[276537.763115] [] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[276537.763119] r6:00000000 r5:60000013 r4:c077aea8 r3:00000000
[276537.763129] [] (show_stack) from [] (dump_stack+0x98/0xac)
[276537.763137] [] (dump_stack) from [] (warn_slowpath_common+0x8c/0xbc)
[276537.763140] r6:000003bc r5:bf69cd94 r4:00000000 r3:00000006
[276537.763149] [] (warn_slowpath_common) from [] (warn_slowpath_null+0x24/0x2c)
[276537.763152] r8:00000000 r7:bf6f63c5 r6:eb51b480 r5:ed748ba0 r4:eacb5800
[276537.763191] [] (warn_slowpath_null) from [] (sta_set_sinfo+0xa8c/0xaec [mac80211])
[276537.763239] [] (sta_set_sinfo [mac80211]) from [] (__sta_info_destroy+0x28/0x30 [mac80211])
[276537.763242] r7:ebec5000 r6:ed748000 r5:eacb5800 r4:00000000
[276537.763292] [] (__sta_info_destroy [mac80211]) from [] (sta_info_destroy_addr_bss+0x34/0x50 [mac80211])
[276537.763295] r5:ea937d20 r4:eb51b480
[276537.763344] [] (sta_info_destroy_addr_bss [mac80211]) from [] (ieee80211_del_station+0x20/0x30 [mac80211])
[276537.763347] r5:eb51b000 r4:ea937d20
[276537.763402] [] (ieee80211_del_station [mac80211]) from [] (nl80211_del_station+0xc0/0xfc [cfg80211])
[276537.763405] r4:e56e9cf0 r3:bf6b1e18
[276537.763427] [] (nl80211_del_station [cfg80211]) from [] (genl_rcv_msg+0x264/0x3f4)
[276537.763430] r6:ed61f800 r5:bf67d234 r4:bf686140
[276537.763438] [] (genl_rcv_msg) from [] (netlink_rcv_skb+0xb4/0xc8)
[276537.763441] r10:00000008 r9:00000000 r8:00000000 r7:00000028 r6:c04dd6cc r5:ebec5000
[276537.763450] r4:ea937d00
[276537.763455] [] (netlink_rcv_skb) from [] (genl_rcv+0x30/0x3c)
[276537.763458] r6:ebec5000 r5:ebec5000 r4:c0794454 r3:00000001
[276537.763466] [] (genl_rcv) from [] (netlink_unicast+0x15c/0x24c)
[276537.763469] r5:ebf83c00 r4:ef106400
[276537.763475] [] (netlink_unicast) from [] (netlink_sendmsg+0x31c/0x350)
[276537.763478] r8:ebec5000 r7:00000000 r6:00000028 r5:ebf83c00 r4:e56e9f4c
[276537.763491] [] (netlink_sendmsg) from [] (sock_sendmsg+0x1c/0x2c)
[276537.763494] r10:00000000 r9:00000000 r8:e56e9e28 r7:00000000 r6:eef04f00 r5:00000000
[276537.763502] r4:e56e9f4c
[276537.763508] [] (sock_sendmsg) from [] (___sys_sendmsg+0x1f4/0x1fc)
[276537.763514] [] (___sys_sendmsg) from [] (__sys_sendmsg+0x44/0x74)
[276537.763517] r10:00000000 r9:e56e8000 r8:c0009ec4 r7:00000128 r6:becca49c r5:00000000
[276537.763525] r4:eef04f00
[276537.763530] [] (__sys_sendmsg) from [] (SyS_sendmsg+0x10/0x14)
[276537.763533] r6:b6f6adc0 r5:00000000 r4:00000000
[276537.763541] [] (SyS_sendmsg) from [] (ret_fast_syscall+0x0/0x48)
[276537.763566] —[ end trace 72f40336c4374cc6 ]—
[276540.763176] ath10k_pci 0000:02:00.0: failed to delete peer 44:91:60:9b:cd:02 for vdev 0: -11
[276540.763189] ath10k_pci 0000:02:00.0: found sta peer 44:91:60:9b:cd:02 (ptr ecf2b400 id 159) entry on vdev 0 after it was supposedly removed
[276543.762928] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer dc:0b:34:c1:ab:82: -11
[276543.762937] wlan0: failed to remove key (0, dc:0b:34:c1:ab:82) from hardware (-11)
[276543.771437] ath10k_pci 0000:02:00.0: cipher 0 is not supported
[276543.771446] ath10k_pci 0000:02:00.0: failed to remove peer wep key 0: -95
[276543.771452] ath10k_pci 0000:02:00.0: failed to clear all peer wep keys for vdev 0: -95
[276543.771457] ath10k_pci 0000:02:00.0: failed to disassociate station: dc:0b:34:c1:ab:82 vdev 0: -95
[276546.762675] ath10k_pci 0000:02:00.0: failed to delete peer dc:0b:34:c1:ab:82 for vdev 0: -11
[276546.762686] ath10k_pci 0000:02:00.0: found sta peer dc:0b:34:c1:ab:82 (ptr ea8b7000 id 82) entry on vdev 0 after it was supposedly removed
[276555.211971] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 9c:b6:d0:e4:ba:5d: -11
[276555.211981] wlan0: failed to remove key (0, 9c:b6:d0:e4:ba:5d) from hardware (-11)
[276555.220812] ath10k_pci 0000:02:00.0: cipher 0 is not supported
[276555.220821] ath10k_pci 0000:02:00.0: failed to remove peer wep key 0: -95
[276555.220826] ath10k_pci 0000:02:00.0: failed to clear all peer wep keys for vdev 0: -95
[276555.220832] ath10k_pci 0000:02:00.0: failed to disassociate station: 9c:b6:d0:e4:ba:5d vdev 0: -95
[276558.211722] ath10k_pci 0000:02:00.0: failed to delete peer 9c:b6:d0:e4:ba:5d for vdev 0: -11
[276558.211735] ath10k_pci 0000:02:00.0: found sta peer 9c:b6:d0:e4:ba:5d (ptr e1920c00 id 207) entry on vdev 0 after it was supposedly removed
[276564.211210] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 88:53:2e:11:a3:41: -11
[276564.211220] wlan0: failed to remove key (0, 88:53:2e:11:a3:41) from hardware (-11)
[276567.210963] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 44:91:60:d3:0d:e4: -11
[276567.210973] wlan0: failed to remove key (0, 44:91:60:d3:0d:e4) from hardware (-11)
[276567.219357] ath10k_pci 0000:02:00.0: cipher 0 is not supported
[276567.219367] ath10k_pci 0000:02:00.0: failed to remove peer wep key 0: -95
[276567.219372] ath10k_pci 0000:02:00.0: failed to clear all peer wep keys for vdev 0: -95
[276567.219378] ath10k_pci 0000:02:00.0: failed to disassociate station: 88:53:2e:11:a3:41 vdev 0: -95
[276570.210714] ath10k_pci 0000:02:00.0: failed to delete peer 88:53:2e:11:a3:41 for vdev 0: -11
[276570.210726] ath10k_pci 0000:02:00.0: found sta peer 88:53:2e:11:a3:41 (ptr ea8b6400 id 198) entry on vdev 0 after it was supposedly removed
[276570.211247] ath10k_pci 0000:02:00.0: cipher 0 is not supported
[276570.211256] ath10k_pci 0000:02:00.0: failed to remove peer wep key 0: -95
[276573.210454] ath10k_warn: 2 callbacks suppressed
[276573.210469] ath10k_pci 0000:02:00.0: failed to delete peer 44:91:60:d3:0d:e4 for vdev 0: -11
[276573.210478] ath10k_pci 0000:02:00.0: found sta peer 44:91:60:d3:0d:e4 (ptr e1f01c00 id 211) entry on vdev 0 after it was supposedly removed
[276576.210202] ath10k_pci 0000:02:00.0: failed to set beacon mode for vdev 0: -11
[276579.209955] ath10k_pci 0000:02:00.0: failed to set dtim period for vdev 0: -11
[276582.209703] ath10k_pci 0000:02:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[276585.209452] ath10k_pci 0000:02:00.0: failed to set cts protection for vdev 0: -11
[276588.209229] ath10k_pci 0000:02:00.0: failed to set preamble for vdev 0: -11
[276591.208950] ath10k_pci 0000:02:00.0: failed to set beacon mode for vdev 1: -11
[276594.208700] ath10k_pci 0000:02:00.0: failed to set dtim period for vdev 1: -11

Assuming you have the standard 5G-card installed: even though one might think the very same chip means the same driver helps for everyone it does not. It depends also on other circumstances like connecting client devices.
So feel free to test other drivers (like *-htt, *-ct or others), it really might help.