[OpenWrt-Devel] ath10k-ct issues - IBSS mode

Koen Vandeputte koen.vandeputte at ncentric.com
Tue Mar 26 09:59:54 EDT 2019


On 26.03.19 14:50, Ben Greear wrote:
>
>
> On 03/26/2019 03:09 AM, Koen Vandeputte wrote:
>> Hi Ben,
>> Following our conversation from yesterday, here is a summary of all 
>> issues seen so far:
>>
>> Test setup:
>>
>> - Board: Mikrotik RB922
>> - Hardware used: on-board QCA9882 (QCA988x),  Wave1  2x2 .ac
>> - firmware's tested: both non-HTT and HTT flavours for qca988x
>>
>> Synopsis:
>> - Setting the interface in IBSS mode results in following errors and 
>> spamming
>> - Speed is very low (100 kbit/s) upon linking 2 devices in HT20, long GI
>
> Hello,
>
> Do you see those SWBA overrun messages on both systems, or just one of 
> them?
>
> I'll work on fixing the out-of-my-tree compile for 4.20 today, as well 
> as do
> a quick test on 4.19 to see if I see that error below.
>
> Thanks,
> Ben
>
Hi Ben,

A huge amount of then continuously:


[12251.122241] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.129868] ath10k_pci 0000:01:00.0: failed to clear all peer wep 
keys for vdev 0: -2
[12251.137860] ath10k_pci 0000:01:00.0: failed to disassociate station: 
74:4d:28:0a:1e:45 vdev 0: -2
[12251.147582] wlan0: No active IBSS STAs - trying to scan for other 
IBSS networks with same SSID (merge)
[12251.157127] ath10k_pci 0000:01:00.0: failed to start hw scan: -143
[12251.232255] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.239864] ath10k_pci 0000:01:00.0: failed to create wmi peer 
74:4d:28:0a:1e:45 on vdev 0: -143
[12251.248823] ath10k_pci 0000:01:00.0: failed to add peer 
74:4d:28:0a:1e:45 for vdev 0 whe
[12251.259146] wlan0: failed to move IBSS STA 74:4d:28:0a:1e:45 to state 
1 (-143) - keeping
[12251.342246] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.349804] ath10k_pci 0000:01:00.0: mac sta rc update failed to find 
peer 74:4d:28:0a:1
[12251.452242] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.562246] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.672240] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.782254] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.892278] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12251.899880] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.002267] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.112238] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.222277] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.332284] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.442241] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.552250] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.662240] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.772249] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.882247] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12252.992232] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12253.102233] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12253.212242] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12253.322233] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12253.432233] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon
[12253.440209] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped 
old beacon


Regards,

Koen

>>
>>
>> Using ath10k-ct 4.19:
>>
>> [   45.172344] ------------[ cut here 
>> ]------------                                        |     Yes No     |
>> [   45.177161] WARNING: CPU: 0 PID: 1575 at 
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922+----------------------+4kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.19/mac.c:6455 
>> ath10
>> k_mac_vif_beacon_free+0xb8c/0x1008 [ath10k_core]
>> [   45.199549] Modules linked in: mbt_netlink mbt ath9k ath9k_common 
>> qcserial pppoe ppp_async option cdc_mbim ath9k_hw ath10k_pci 
>> ath10k_core ath usb_wwan sierra_net sierra rndis_host qmi_wwan pppox 
>> ppp_g
>> eneric mac80211 iptable_nat iptable_mangle iptable_filter ipt_REJECT 
>> ipt_MASQUERADE ip_tables huawei_cdc_ncm ftdi_sio cfg80211 cdc_subset 
>> cdc_ncm cdc_ether xt_time xt_tcpudp xt_state xt_nat xt_multiport x
>> t_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT 
>> xt_LOG xt_FLOWOFFLOAD x_tables usbserial usbnet slhc nf_reject_ipv4 
>> nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv
>> 4 nf_nat nf_log_ipv4 nf_log_common nf_flow_table_hw nf_flow_table 
>> nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack hso crc_ccitt compat 
>> cdc_wdm cdc_acm i2c_dev ledtrig_usbport cryptodev msdos dummy
>> [   45.271137]  tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 authenc 
>> usb_storage ohci_platform ohci_hcd ehci_platform sd_mod scsi_mod 
>> ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_c
>> ommon ptp pps_core mii aead crypto_null cryptomgr crc32c_generic 
>> crypto_hash
>> [   45.296057] CPU: 0 PID: 1575 Comm: wpa_supplicant Not tainted 
>> 4.14.108 #0
>> [   45.302945] Stack : 80500000 804bbf54 00000000 00000000 80490f00 
>> 86fd9a34 87d0e95c 804e3307
>> [   45.311427]         8048d0d8 00000627 805437d0 00001937 877c1d14 
>> 00000001 86fd99e8 e16507ad
>> [   45.319919]         00000000 00000000 80540000 000064f8 00000000 
>> 00000000 00000007 00000000
>> [   45.328409]         0000011a 060a2b40 00000119 00000000 80000000 
>> 00000000 870bf4b8 8708bbc0
>> [   45.336904]         00000009 00001937 877c1d14 876d5000 00000000 
>> 802a0d54 00000000 80540000
>> [   45.345395]         ...
>> [   45.347878] Call Trace:
>> [   45.350361] [<8006c6cc>] show_stack+0x58/0x100
>> [   45.354888] [<80086d30>] __warn+0xe4/0x118
>> [   45.359043] [<80086df4>] warn_slowpath_null+0x1c/0x28
>> [   45.364205] [<8708bbc0>] ath10k_mac_vif_beacon_free+0xb8c/0x1008 
>> [ath10k_core]
>> [   45.371539] ---[ end trace c77b21f4b5c2b5db ]---
>>
>> Followed by an infinite amount of:
>> [   53.592940] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.600422] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.607886] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.615341] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.622781] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.630203] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.637640] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>> [   53.645079] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, 
>> skipped old beacon
>>
>>
>> Using ath10k-ct 4.20:
>> Results in build errors ..
>>
>> make CONFIG_ATH10K=m CONFIG_ATH10K_PCI=m CONFIG_ATH10K_CE=y 
>> CONFIG_ATH10K_AHB=m CONFIG_ATH10K_DEBUGFS=y CONFIG_MAC80211_DEBUGFS=y 
>> CONFIG_ATH10K_LEDS=y  -C 
>> "/mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/linux-4.14.108" 
>> HOSTCFLAGS="-O2 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/host/include 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/hostpkg/include 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/host/include 
>> -Wall -Wmissing-prototypes -Wstrict-prototypes" 
>> CROSS_COMPILE="mips-openwrt-linux-musl-" ARCH="mips" 
>> KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" 
>> KBUILD_BUILD_TIMESTAMP="Mon Mar 25 19:01:58 2019" 
>> KBUILD_BUILD_VERSION="0" 
>> HOST_LOADLIBES="-L/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/host/lib" 
>> CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.14.108
>> SUBDIRS="/mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k"-4.20"" 
>> NOSTDINC_FLAGS="-I/mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/usr/include/mac80211-backport/uapi 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/usr/include/mac80211-backport 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/usr/include/mac80211/uapi 
>> -I/mnt/ramdisk/koen/firmware/builds/generic_rb922/staging_dir/target-mips_24kc_musl/usr/include/mac80211 
>> -include backport/autoconf.h -include backport/backport.h 
>> -DCONFIG_ATH10K_AHB -DSTANDALONE_CT -DCONFIG_MAC80211_DEBUGFS 
>> -DCONFIG_ATH10K_DEBUGFS -DCONFIG_ATH10K_DEBUG -DCONFIG_ATH10K_LEDS" 
>> modules
>> make[4]: Entering directory 
>> '/mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/linux-4.14.108'
>>   CC [M] 
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.o
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c:8987:3: 
>> error: 'const struct ieee80211_ops' has no member named 
>> 'consume_block_ack'
>>   .consume_block_ack  = ath10k_mac_consume_block_ack,
>>    ^~~~~~~~~~~~~~~~~
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c:8987:24: 
>> error: initialization from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
>>   .consume_block_ack  = ath10k_mac_consume_block_ack,
>>                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c:8987:24: 
>> note: (near initialization for 'ath10k_ops.sta_notify')
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c: 
>> In function 'ath10k_mac_register':
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c:9769:11: 
>> error: 'NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT' undeclared (first use 
>> in this function); did you mean 
>> 'NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT'?
>>            NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT);
>>            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>            NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT
>> /mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.c:9769:11: 
>> note: each undeclared identifier is reported only once for each 
>> function it appears in
>> cc1: some warnings being treated as errors
>> scripts/Makefile.build:326: recipe for target 
>> '/mnt/ramdisk/koen/firmware/builds/generic_rb922/build_dir/target-mips_24kc_musl/linux-ar71xx_mikrotik/ath10k-ct-2019-03-25-2e917efb/ath10k-4.20/mac.o' 
>> failed
>>
>>
>> Kind regards,
>>
>> Koen
>>
>

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list