Turris Omnia: ath10k wifi dies after a couple of days

Hi, guys! The wi-fi connectivity on my Turris Omnia with two ath10k cards (both WLE900VX) running OpenWrt 18.06.1 dies after a couple of days, requiring a reboot. Is this a known issue? Dmesg attached. Let me know if I should open an OpenWrt bug or report to Linux upstream. Thanks in advance!

[244101.003745] ath10k_pci 0000:01:00.0: failed to delete peer b0:48:1a:9f:f8:71 for vdev 0: -110
[244101.012517] ath10k_pci 0000:01:00.0: found sta peer b0:48:1a:9f:f8:71 (ptr edde4e00 id 19) entry on vdev 0 after it was supposedly removed
[244101.025225] ------------[ cut here ]------------
[244101.029949] WARNING: CPU: 0 PID: 14624 at backports-2017-11-01/net/mac80211/sta_info.c:1001 0xbf3afa1c [mac80211@bf3a9000+0x5e000]
[244101.041806] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 lz4 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 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_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_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard ts_fsm ts_bm slhc 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_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip
[244101.113988]  nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda lz4_decompress lz4_compress iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb
[244101.184755]  ip6_udp_tunnel udp_tunnel nls_utf8 zram zsmalloc vfat fat nls_iso8859_1 nls_cp437 gpio_button_hotplug
[244101.195234] CPU: 0 PID: 14624 Comm: hostapd Not tainted 4.14.63 #0
[244101.201513] Hardware name: Marvell Armada 380/385 (Device Tree)
[244101.207536] Function entered at [<c010f500>] from [<c010b1d0>]
[244101.213468] Function entered at [<c010b1d0>] from [<c061a8a8>]
[244101.219401] Function entered at [<c061a8a8>] from [<c0121d40>]
[244101.225331] Function entered at [<c0121d40>] from [<c0121e0c>]
[244101.231263] Function entered at [<c0121e0c>] from [<bf3afa1c>]
[244101.237230] Function entered at [<bf3afa1c>] from [<bf3afadc>]
[244101.243162] Function entered at [<bf3afadc>] from [<bf3afb54>]
[244101.249093] Function entered at [<bf3afb54>] from [<bf36a600>]
[244101.255031] Function entered at [<bf36a600>] from [<c0550eb8>]
[244101.260964] Function entered at [<c0550eb8>] from [<c0550098>]
[244101.266895] Function entered at [<c0550098>] from [<c0550bc0>]
[244101.272826] Function entered at [<c0550bc0>] from [<c054f86c>]
[244101.278757] Function entered at [<c054f86c>] from [<c054fd10>]
[244101.284688] Function entered at [<c054fd10>] from [<c04ff744>]
[244101.290619] Function entered at [<c04ff744>] from [<c04ffc78>]
[244101.296550] Function entered at [<c04ffc78>] from [<c0500a78>]
[244101.302481] Function entered at [<c0500a78>] from [<c0107880>]
[244101.308420] ---[ end trace 449d3a1eb7c3243b ]---
[244101.313237] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[244104.363487] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer b0:48:1a:9f:f8:71 on vdev 0: -110
[244104.373477] ath10k_pci 0000:01:00.0: failed to add peer b0:48:1a:9f:f8:71 for vdev 0 when adding a new sta: -110
[244107.413249] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[244110.453026] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[244113.492797] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[244116.522574] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[244119.562339] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[244122.612109] ath10k_pci 0000:01:00.0: failed to set erp slot for vdev 0: -11
[244125.651886] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[244128.691650] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[244131.721454] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 1: -11
[244134.771200] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 1: -11
[244137.800967] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 1: -11
[244140.840742] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 1: -11
[244143.880503] ath10k_pci 0000:01:00.0: failed to set erp slot for vdev 1: -11
[244146.920285] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 1: -11
[244149.970044] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[244153.009817] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[244156.049586] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[244159.089371] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[244162.119132] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[244165.158898] ath10k_pci 0000:01:00.0: failed to set erp slot for vdev 0: -11
[244168.208667] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[244171.248461] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[244174.278224] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 1: -11

Yeah firmware dies and takes the driver with it. Switch to ath10k-ct which avoids the issue by restarting the firmware before it has a chance to kill the driver.

Also avoid 802.11w. That kills it really fast.

1 Like

Oh, bugger. Alright, I'll disable 802.11w. If it doesn't help, I'll just switch to ath10k-ct. Thanks for the heads-up!