ath10k-ct
ath10k-ct copied to clipboard
QCA 988x: Kernel OOPs and devices cannot mesh or communicate in IBSS mode
Description of the problem (how to configure, how to reproduce, how often it happens).
I have two devices: Ubiquiti nano station and Ubiquiti Mesh AC, both (QCA 988x). Driver is loaded fine, once I set both in IBSS mode (no encryption and did not use wpa_supp) the kernel crashes and log is filled with "ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon" messages on both units. Also, the units cannot ping.
Software (OS, Firmware version, kernel, driver, etc) OpenWRT, 4b403821c6e on master.
root@OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/ath10k/firmware_info
directory: ath10k/QCA988X/hw2.0
firmware: firmware-2.bin
fwcfg: fwcfg-pci-0000:00:00.0.txt
bus: 0000:00:00.0
features: wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT
version: 10.1-ct-8x-__fW-022-1bbfa151
hw_rev: 988x
board: board.bin
Logs (dmesg, maybe supplicant and/or hostap)
root@OpenWrt:/# dmesg
[ 0.000000] Linux version 4.14.96 (root@ahmed-VirtualBox) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9059-6e104c6)) #0 Thu Jan 31 13:07:00 2019
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is Ubiquiti Nanostation AC (WA)
[ 0.000000] SoC: Atheros AR9342 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 80513600, node_mem_map 810075c0
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 51748K/65536K available (3758K kernel code, 149K rwdata, 908K rodata, 7720K init, 204K bss, 13788K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 535.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7144898866 ns
[ 0.000011] sched_clock: 32 bits at 267MHz, resolution 3ns, wraps every 8027976190ns
[ 0.008327] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[ 0.094954] pid_max: default: 32768 minimum: 301
[ 0.100103] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.107168] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.119415] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.129932] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.136520] pinctrl core: initialized pinctrl subsystem
[ 0.143229] NET: Registered protocol family 16
[ 0.156077] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[ 0.163017] MEM 0x0000000010000000..0x0000000013ffffff
[ 0.168578] IO 0x0000000000000000..0x0000000000000000
[ 0.194879] PCI host bridge to bus 0000:00
[ 0.199257] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.206621] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.212552] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.219790] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.228263] pci 0000:00:00.0: [0777:11ac] type 00 class 0x028000
[ 0.228328] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.228385] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.228471] pci 0000:00:00.0: supports D1 D2
[ 0.228714] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.228747] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 0.236590] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 0.247483] clocksource: Switched to clocksource MIPS
[ 0.254047] NET: Registered protocol family 2
[ 0.259651] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.267090] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.273927] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.280861] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.287101] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.294126] NET: Registered protocol family 1
[ 0.298866] PCI: CLS 0 bytes, default 32
[ 0.466593] Crashlog allocated RAM at address 0x3f00000
[ 0.473801] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.486265] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.492536] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.588869] io scheduler noop registered
[ 0.593051] io scheduler deadline registered (default)
[ 0.601019] pinctrl-single 1804002c.pinmux: 544 pins at pa b804002c size 68
[ 0.609660] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.617287] console [ttyS0] disabled
[ 0.621207] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 2500000) is a 16550A
[ 0.630421] console [ttyS0] enabled
[ 0.637845] bootconsole [early0] disabled
[ 0.659689] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.664882] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.671357] Creating 5 MTD partitions on "spi0.0":
[ 0.676233] 0x000000000000-0x000000040000 : "u-boot"
[ 0.682246] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.688623] 0x000000050000-0x000000fb0000 : "firmware"
[ 0.697054] 2 uimage-fw partitions found on MTD device firmware
[ 0.703129] Creating 2 MTD partitions on "firmware":
[ 0.708189] 0x000000000000-0x000000100000 : "kernel"
[ 0.714086] 0x000000100000-0x000000f60000 : "rootfs"
[ 0.720029] mtd: device 4 (rootfs) set to be root filesystem
[ 0.725814] 1 squashfs-split partitions found on MTD device rootfs
[ 0.732159] 0x0000007c0000-0x000000f60000 : "rootfs_data"
[ 0.738556] 0x000000fb0000-0x000000ff0000 : "cfg"
[ 0.744219] 0x000000ff0000-0x000001000000 : "EEPROM"
[ 0.751478] libphy: Fixed MDIO Bus: probed
[ 1.097907] libphy: ag71xx_mdio: probed
[ 1.129571] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus.0
[ 2.128677] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[ 2.140302] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 2.149170] NET: Registered protocol family 10
[ 2.158702] Segment Routing with IPv6
[ 2.162542] NET: Registered protocol family 17
[ 2.167106] 8021q: 802.1Q VLAN Support v1.8
[ 2.223781] Freeing unused kernel memory: 7720K
[ 2.228416] This architecture does not have kernel memory protection.
[ 2.251492] init: Console is alive
[ 2.255206] init: - watchdog -
[ 2.284182] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.294964] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.312883] init: - preinit -
[ 2.517533] random: fast init done
[ 2.633395] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.737906] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.988781] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.275486] urandom_read: 4 callbacks suppressed
[ 4.275496] random: procd: uninitialized urandom read (4 bytes read)
[ 4.294265] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4.300366] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 5.308793] eth0: link up (1000Mbps/Full duplex)
[ 5.313568] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.320396] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 7.388297] eth0: link down
[ 7.411414] procd: - early -
[ 7.414464] procd: - watchdog -
[ 7.984104] procd: - watchdog -
[ 7.987740] procd: - ubus -
[ 7.999494] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.042165] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.050388] procd: - init -
[ 8.264172] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.275654] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.293814] Loading modules backported from Linux version v4.19.7-0-g61c68f2a2af0
[ 8.301482] Backport generated by backports.git v4.19.7-1-0-g148b072d
[ 8.340912] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.373983] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 8.462449] xt_time: kernel timezone is -0000
[ 8.536758] PPP generic driver version 2.4.2
[ 8.544117] NET: Registered protocol family 24
[ 8.584674] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x11ac.
[ 8.594668] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 8.602684] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 8.882389] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[ 8.893110] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.019459] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[ 9.028772] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 9.039674] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.289643] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 9.299137] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 9.309684] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.606256] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[ 9.617445] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.809293] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[ 9.819048] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[ 9.830215] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.083759] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[ 10.093513] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 10.104413] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.353462] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 10.362948] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 10.373852] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.623038] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 10.632529] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 10.643432] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 10.891939] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 10.901431] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 10.912332] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.162352] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 11.174700] ath10k_pci 0000:00:00.0: qca988x hw2.0 ubiquiti target 0x4100016c chip_id 0x043222ff sub 0777:e7fb
[ 11.184921] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 11.198920] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-1bbfa151 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 crc32 66e0dff7
[ 11.312698] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 11.323340] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 11.499001] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 11.508400] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 12.487724] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 12.505680] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 12.512154] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 12.520313] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24616 iram: 26584'
[ 12.577426] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 12.722521] ath: EEPROM regdomain: 0x2a
[ 12.722531] ath: EEPROM indicates we should expect a direct regpair map
[ 12.722552] ath: Country alpha2 being used: US
[ 12.722557] ath: Regpair used: 0x2a
[ 12.813680] ath: phy1: disabling 5GHz band
[ 12.818931] ath: EEPROM regdomain: 0x2a
[ 12.818936] ath: EEPROM indicates we should expect a direct regpair map
[ 12.818957] ath: Country alpha2 being used: US
[ 12.818961] ath: Regpair used: 0x2a
[ 12.834469] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 12.836664] ieee80211 phy1: Atheros AR9340 Rev:2 mem=0xb8100000, irq=11
[ 12.896231] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 26.602231] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.638950] br-lan: port 1(eth0.1) entered blocking state
[ 26.644442] br-lan: port 1(eth0.1) entered disabled state
[ 26.650377] device eth0.1 entered promiscuous mode
[ 26.655244] device eth0 entered promiscuous mode
[ 26.727746] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 26.809187] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 27.629257] eth0: link up (1000Mbps/Full duplex)
[ 27.634018] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 27.696831] br-lan: port 1(eth0.1) entered blocking state
[ 27.702386] br-lan: port 1(eth0.1) entered forwarding state
[ 27.708448] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 27.827591] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# cat /sys/kernel/debug/ieee80211/phy0/ath10k/firmware_info
directory: ath10k/QCA988X/hw2.0
firmware: firmware-2.bin
fwcfg: fwcfg-pci-0000:00:00.0.txt
bus: 0000:00:00.0
features: wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT
version: 10.1-ct-8x-__fW-022-1bbfa151
hw_rev: 988x
board: board.bin
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# iw wlan0 set type ibss
root@OpenWrt:/# ip link set dev wlan0 up
[ 302.104486] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 302.122507] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 302.128656] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 302.137129] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24616 iram: 26584'
[ 302.209854] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[ 302.225910] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@OpenWrt:/# [ 303.102771] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/#
root@OpenWrt:/# iw wlan0 ibss join open_mesh 5745 HT40+ fixed-freq
[ 321.439633] ------------[ cut here ]------------
[ 321.444452] WARNING: CPU: 0 PID: 1621 at /home/ahmed/open_source/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2018-12-20-118e16da/ath10k-4.19/mac.c:6423 ath10k_mac_vif_beacon_free+0xbd4/0xd70 [ath10k_core]
[ 321.465236] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
[ 321.529068] CPU: 0 PID: 1621 Comm: iw Not tainted 4.14.96 #0
[ 321.534809] Stack : 80510000 804cd604 00000000 00000000 804a3d64 839d9a34 839c295c 804f7907
[ 321.543327] 8049ff80 00000655 80ca3670 00001917 838c9d24 00000001 839d99e8 eb0bed5e
[ 321.551843] 00000000 00000000 80ca0000 00004c10 00000000 00000000 00000007 00000000
[ 321.560347] 000000da 89fce6bf 000000d9 00000000 80000000 00000000 809cb478 8098bd04
[ 321.568863] 00000009 00001917 838c9d24 82fac800 00000003 80264d24 00000000 80ca0000
[ 321.577364] ...
[ 321.579865] Call Trace:
[ 321.582378] [<8006a92c>] show_stack+0x58/0x100
[ 321.586909] [<80081440>] __warn+0xe4/0x118
[ 321.591090] [<80081504>] warn_slowpath_null+0x1c/0x28
[ 321.596273] [<8098bd04>] ath10k_mac_vif_beacon_free+0xbd4/0xd70 [ath10k_core]
[ 321.603548] ---[ end trace 09b57efd34c8eb12 ]---
root@OpenWrt:/# [ 324.107504] wlan0: Trigger new scan to find an IBSS to join
[ 324.165512] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 324.232872] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.240379] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.247858] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.255284] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.263566] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.271075] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.278560] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.286010] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.293487] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.300945] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.308416] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 324.315847] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
.
.
.
.
.
.
.
.
[ 326.134160] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 326.141645] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 326.149103] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 326.156533] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 326.164007] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 326.171489] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[ 347.867505] ath10k_pci 0000:00:00.0: failed to receive scan abortion completion: timed out
[ 347.875928] ath10k_pci 0000:00:00.0: failed to abort scan: -145
Looks like I'm getting a similar issue - Trying to get Mesh mode on a Compex WLE900VX ( QCA9880 hw2.0 )
Build is Master (OpenWrt SNAPSHOT, r14966-7330348f2d on IPQ806x) using ath10k-firmware-qca988x-ct-full-htt
cat /sys/kernel/debug/ieee80211/phy2/ath10k/firmwa
re_info
directory: ath10k/QCA988X/hw2.0
firmware: ct-firmware-2.bin
fwcfg: fwcfg-pci-0002:01:00.0.txt
bus: 0002:01:00.0
features: wmi-10.x,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT
version: 10.1-ct-8x-__fH-022-538f0906
hw_rev: 988x
board: board.bin
iw shows that it should support mesh, but it isn't listed as a valid interface combination
iw phy2 info:
...
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
* P2P-device
...
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
...
valid interface combinations:
* #{ managed, P2P-client } <= 16, #{ P2P-GO } <= 3, #{ AP } <= 16, #{ IBSS } <= 1,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }
The other card ( WLE1216V2 - QCA9884 ) IW output is the same for the supported TX and RX frames and interface modes, but the valid interface combinations section show "Mesh" ( not P2P ,.. interesting but irrelevant at the moment )- they are running 10.4-ct vs 10.1-ct and are also different chipsets ( 9884 vs 9880 ) on the WLE1216V2:
valid interface combinations:
* #{ managed } <= 16, #{ AP, mesh point } <= 16, #{ IBSS } <= 1,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }