greearb / ath10k-ct

Stand-alone ath10k driver based on Candela Technologies Linux kernel.
111 stars 40 forks source link

IPQ4019 firmware crashes #93

Closed matejkupljen closed 4 years ago

matejkupljen commented 5 years ago

Please provide this info. See this link for more info on how to gather debug info: http://www.candelatech.com/ath10k-bugs.php

Description of the problem (how to configure, how to reproduce, how often it happens).

We noticed a firmware crash where we have more stations connected to the AP, more then 80 on both radios. I do not have exact procedure to reproduce it, just when many STAs connect to this AP, we see the crash. Please note, that I used fwcfg-ahb-xxxxxx.wifi.txt to change the default parameters. The contents is the same for 2.4GHz and for 5GHz radio and it looks like:

cat /lib/firmware/ath10k/fwcfg-ahb-a800000.wifi.txt vdevs = 8 peers = 64 active_peers = 64 stations = 128

Also when I enabled debug output trough sysfs, we saw a lot of debug messages in the log, however in that case we couldn't crash the firmware.

Software (OS, Firmware version, kernel, driver, etc)

Custom OpenWRT OS, with the latest ath10k-ct driver (as available in OpenWRT OS, driver from 14th August 2019) and latest CT firmware.

uname -a Linux OpenWrt 4.14.71 #0 SMP Fri Aug 23 11:26:36 2019 armv7l GNU/Linux

Hardware (NIC chipset, platform, etc)

Yuncore XD5200 AP with IPQ4019.

Logs (dmesg, maybe supplicant and/or hostap)

dmesg-xd5200.txt output is attached.

Here is the output when the firmware crashed:

[ 2830.546110] ath10k_ahb a000000.wifi: firmware crashed! (guid n/a) [ 2830.546798] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 2830.551432] ath10k_ahb a000000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 2830.564045] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,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,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 b27a5aa8 [ 2830.578935] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 e2dfaa91 [ 2830.597427] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1 [ 2830.605903] ath10k_ahb a000000.wifi: firmware register dump: [ 2830.615025] ath10k_ahb a000000.wifi: [00]: 0x0000000B 0x00000000 0x00971534 0x00000000 [ 2830.620667] ath10k_ahb a000000.wifi: [04]: 0x00000000 0x00060124 0x00000000 0x00000000 [ 2830.628371] ath10k_ahb a000000.wifi: [08]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.636286] ath10k_ahb a000000.wifi: [12]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.644186] ath10k_ahb a000000.wifi: [16]: 0x009C1FE3 0x009606B6 0x00960DD2 0x00971534 [ 2830.652086] ath10k_ahb a000000.wifi: [20]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.659983] ath10k_ahb a000000.wifi: [24]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.667866] ath10k_ahb a000000.wifi: [28]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.675784] ath10k_ahb a000000.wifi: [32]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.683682] ath10k_ahb a000000.wifi: [36]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.691583] ath10k_ahb a000000.wifi: [40]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.699478] ath10k_ahb a000000.wifi: [44]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.707362] ath10k_ahb a000000.wifi: [48]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.715279] ath10k_ahb a000000.wifi: [52]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.723177] ath10k_ahb a000000.wifi: [56]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.731077] ath10k_ahb a000000.wifi: Copy Engine register dump: [ 2830.738962] ath10k_ahb a000000.wifi: [00]: 0x0004a000 2 2 3 3 [ 2830.744792] ath10k_ahb a000000.wifi: [01]: 0x0004a400 20 20 122 123 [ 2830.751390] ath10k_ahb a000000.wifi: [02]: 0x0004a800 26 26 24 26 [ 2830.757798] ath10k_ahb a000000.wifi: [03]: 0x0004ac00 1 1 5 1 [ 2830.764239] ath10k_ahb a000000.wifi: [04]: 0x0004b000 5570 5570 12 231 [ 2830.770660] ath10k_ahb a000000.wifi: [05]: 0x0004b400 2 2 0 2 [ 2830.777068] ath10k_ahb a000000.wifi: [06]: 0x0004b800 21 21 21 21 [ 2830.783683] ath10k_ahb a000000.wifi: [07]: 0x0004bc00 1 1 1 1 [ 2830.790106] ath10k_ahb a000000.wifi: [08]: 0x0004c000 0 0 127 0 [ 2830.796513] ath10k_ahb a000000.wifi: [09]: 0x0004c400 1 1 1 1 [ 2830.802965] ath10k_ahb a000000.wifi: [10]: 0x0004c800 0 0 0 0 [ 2830.809383] ath10k_ahb a000000.wifi: [11]: 0x0004cc00 0 0 0 0 [ 2830.816811] ath10k_ahb a000000.wifi: debug log header, dbuf: 0x418810 dropped: 0 [ 2830.823248] ath10k_ahb a000000.wifi: [0] next: 0x418828 buf: 0x414c20 sz: 1500 len: 0 count: 0 free: 0 [ 2830.829711] ath10k_ahb a000000.wifi: [1] next: 0x418810 buf: 0x415210 sz: 1500 len: 0 count: 0 free: 0 [ 2830.839457] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2830.848171] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2830.855469] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2830.862776] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2830.919146] ath10k_ahb a000000.wifi: failed to synchronize monitor vdev 2 stop: -108 [ 2830.919197] ath10k_ahb a000000.wifi: failed to stop monitor vdev: -108 [ 2830.926019] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd220200 vdev: 0 addr: dc:4f:22:2d:88:3e [ 2830.932369] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd037e00 vdev: 0 addr: 78:a3:e4:b7:2f:73 [ 2830.943530] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daee4600 vdev: 0 addr: dc:4f:22:2d:88:53 [ 2830.954447] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd364c00 vdev: 0 addr: 50:3e:aa:db:ab:ca [ 2830.965331] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd364000 vdev: 0 addr: 50:3e:aa:e2:73:86 [ 2830.976257] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335e00 vdev: 0 addr: 50:3e:aa:e2:fa:56 [ 2830.987210] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334a00 vdev: 0 addr: 50:3e:aa:e2:fa:5b [ 2830.998270] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334800 vdev: 0 addr: 50:3e:aa:e2:a7:64 [ 2831.009173] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334600 vdev: 0 addr: 50:3e:aa:db:ab:b2 [ 2831.020047] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334400 vdev: 0 addr: 50:3e:aa:e2:f6:76 [ 2831.031031] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335200 vdev: 0 addr: 50:3e:aa:e2:59:91 [ 2831.041980] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335000 vdev: 0 addr: 50:3e:aa:da:aa:81 [ 2831.052823] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd6fd600 vdev: 0 addr: 50:3e:aa:e2:73:e7 [ 2831.063926] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f0c00 vdev: 0 addr: dc:4f:22:2d:84:2e [ 2831.074762] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f1600 vdev: 0 addr: dc:4f:22:2d:8b:8a [ 2831.085619] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69da00 vdev: 0 addr: dc:4f:22:2d:7f:48 [ 2831.096572] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69c200 vdev: 0 addr: ec:fa:bc:86:e7:7b [ 2831.107500] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer da8cda00 vdev: 0 addr: f4:5c:89:92:69:07 [ 2831.118462] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc669000 vdev: 0 addr: 44:d1:fa:5e:01:72 [ 2831.129397] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc669400 vdev: 0 addr: 44:d1:fa:5e:00:da [ 2831.140310] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335400 vdev: 0 addr: 44:d1:fa:5e:02:ce [ 2831.151255] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334c00 vdev: 0 addr: 44:d1:fa:5e:00:ce [ 2831.162191] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335600 vdev: 0 addr: 44:d1:fa:5e:01:4a [ 2831.173119] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334e00 vdev: 0 addr: 44:d1:fa:5e:00:d2 [ 2831.184064] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335a00 vdev: 0 addr: 44:d1:fa:5e:03:86 [ 2831.195001] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334200 vdev: 0 addr: 44:d1:fa:5e:02:66 [ 2831.205938] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335800 vdev: 0 addr: 44:d1:fa:5d:ff:ea [ 2831.216874] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd06d000 vdev: 0 addr: 44:d1:fa:5e:00:ae [ 2831.227816] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de016200 vdev: 0 addr: 44:d1:fa:5e:02:82 [ 2831.238747] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de017c00 vdev: 0 addr: 44:d1:fa:5e:02:4a [ 2831.249708] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de017e00 vdev: 0 addr: 44:d1:fa:5e:02:d2 [ 2831.260622] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dbf71200 vdev: 0 addr: 88:dc:96:6f:1f:3e [ 2831.271570] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd77f200 vdev: 0 addr: 88:dc:96:6f:1f:40 [ 2831.282517] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1bd600 vdev: 0 addr: 44:d1:fa:5e:03:8e [ 2831.293439] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69d200 vdev: 2 addr: 44:d1:fa:5e:02:5e [ 2831.304403] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f1400 vdev: 0 addr: 44:d1:fa:5d:ff:e2 [ 2831.315328] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd36b400 vdev: 0 addr: 44:d1:fa:5e:02:7e [ 2831.326256] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd36b600 vdev: 0 addr: 00:d0:41:e0:30:48 [ 2831.337187] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer df5ed600 vdev: 0 addr: 44:d1:fa:5d:ff:e6 [ 2831.348133] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daf96200 vdev: 0 addr: 44:d1:fa:5e:02:ca [ 2831.359096] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daf96000 vdev: 0 addr: 44:d1:fa:5e:02:ee [ 2831.369987] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd558600 vdev: 0 addr: 44:d1:fa:5e:02:e2 [ 2831.380937] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6e00 vdev: 0 addr: 44:d1:fa:5e:01:46 [ 2831.391878] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6400 vdev: 0 addr: 44:d1:fa:5e:02:2a [ 2831.402810] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f7200 vdev: 0 addr: 00:d0:41:e0:30:5c [ 2831.413755] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6c00 vdev: 0 addr: 44:d1:fa:5e:01:76 [ 2831.424684] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6600 vdev: 0 addr: 44:d1:fa:5e:02:7a [ 2831.435630] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd558e00 vdev: 0 addr: 44:d1:fa:5e:02:76 [ 2831.446558] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd487a00 vdev: 0 addr: b8:27:eb:18:65:59 [ 2831.457499] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dbc4dc00 vdev: 1 addr: 42:d1:fa:5e:02:5e [ 2831.468436] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daee2e00 vdev: 0 addr: 46:d1:fa:5e:02:5e [ 2831.481048] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.490430] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.497389] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.504876] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.512150] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.519408] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.526550] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.534050] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.541321] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.548526] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.555808] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.563224] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.570506] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.577651] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.584980] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.606401] ieee80211 phy2: Hardware restart was requested [ 2833.090052] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 8 peers: 64 tid: 96 [ 2833.090232] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32 [ 2833.139508] ath10k_ahb a000000.wifi: wmi print 'P 64/64 V 8 K 192 PH 208 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 2833.140690] ath10k_ahb a000000.wifi: wmi print 'free: 54344 iram: 23480 sram: 32824' [ 2833.678521] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 [ 2834.528297] ath10k_ahb a000000.wifi: device successfully recovered [ 3010.458655] ath10k_ahb a800000.wifi: firmware crashed! (guid n/a) [ 3010.458730] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 3010.463752] ath10k_ahb a800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 3010.483617] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,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,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 b27a5aa8 [ 3010.499944] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 e2dfaa91 [ 3010.511325] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1 [ 3010.519821] ath10k_ahb a800000.wifi: firmware register dump: [ 3010.528943] ath10k_ahb a800000.wifi: [00]: 0x0000000B 0x00000000 0x00971534 0x00000000 [ 3010.534566] ath10k_ahb a800000.wifi: [04]: 0x00000000 0x00060124 0x00000000 0x00000000 [ 3010.542308] ath10k_ahb a800000.wifi: [08]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.550203] ath10k_ahb a800000.wifi: [12]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.558090] ath10k_ahb a800000.wifi: [16]: 0x009C1FE3 0x009606B6 0x009606B6 0x00971534 [ 3010.566017] ath10k_ahb a800000.wifi: [20]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.573904] ath10k_ahb a800000.wifi: [24]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.581805] ath10k_ahb a800000.wifi: [28]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.589700] ath10k_ahb a800000.wifi: [32]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.597585] ath10k_ahb a800000.wifi: [36]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.605504] ath10k_ahb a800000.wifi: [40]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.613399] ath10k_ahb a800000.wifi: [44]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.621299] ath10k_ahb a800000.wifi: [48]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.629194] ath10k_ahb a800000.wifi: [52]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.637080] ath10k_ahb a800000.wifi: [56]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.644995] ath10k_ahb a800000.wifi: Copy Engine register dump: [ 3010.652898] ath10k_ahb a800000.wifi: [00]: 0x0004a000 2 2 3 3 [ 3010.658708] ath10k_ahb a800000.wifi: [01]: 0x0004a400 29 29 3 4 [ 3010.665294] ath10k_ahb a800000.wifi: [02]: 0x0004a800 10 10 9 10 [ 3010.671732] ath10k_ahb a800000.wifi: [03]: 0x0004ac00 25 25 28 25 [ 3010.678142] ath10k_ahb a800000.wifi: [04]: 0x0004b000 3537 3489 153 153 [ 3010.684595] ath10k_ahb a800000.wifi: [05]: 0x0004b400 7 7 38 39 [ 3010.691003] ath10k_ahb a800000.wifi: [06]: 0x0004b800 15 15 15 15 [ 3010.697585] ath10k_ahb a800000.wifi: [07]: 0x0004bc00 1 1 1 1 [ 3010.704028] ath10k_ahb a800000.wifi: [08]: 0x0004c000 0 0 127 0 [ 3010.710445] ath10k_ahb a800000.wifi: [09]: 0x0004c400 1 1 1 1 [ 3010.716854] ath10k_ahb a800000.wifi: [10]: 0x0004c800 0 0 0 0 [ 3010.723295] ath10k_ahb a800000.wifi: [11]: 0x0004cc00 0 0 0 0 [ 3010.730740] ath10k_ahb a800000.wifi: debug log header, dbuf: 0x418828 dropped: 0 [ 3010.737141] ath10k_ahb a800000.wifi: [0] next: 0x418810 buf: 0x415210 sz: 1500 len: 96 count: 4 free: 0 [ 3010.744628] ath10k_ahb a800000.wifi: ath10k_pci ATH10K_DBG_BUFFER: [ 3010.752811] ath10k: [0000]: 001586DB 10045881 00003112 0041CDAC 0000000A 00000000 001586DC 10045881 [ 3010.759058] ath10k: [0008]: 00003112 0041CDAC 0000000E 00000000 001586FE 10085881 00003112 0041CCBC [ 3010.767985] ath10k: [0016]: 0000000A 00000000 001586FE 10085881 00003112 0041CCBC 0000000E 00000000 [ 3010.777028] ath10k_ahb a800000.wifi: ATH10K_END [ 3010.786070] ath10k_ahb a800000.wifi: [1] next: 0x418828 buf: 0x414c20 sz: 1500 len: 0 count: 0 free: 0 [ 3010.790892] ath10k_ahb a800000.wifi: failed to synchronize monitor vdev 4 stop: -108 [ 3010.800208] ath10k_ahb a800000.wifi: failed to stop monitor vdev: -108 [ 3010.807842] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dc606000 vdev: 0 addr: f4:5c:89:92:69:07 [ 3010.814228] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd36b600 vdev: 0 addr: f0:99:b6:46:d9:d0 [ 3010.825230] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db17d400 vdev: 0 addr: c0:a6:00:5d:e7:44 [ 3010.836154] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd036c00 vdev: 0 addr: 6c:72:e7:95:92:81 [ 3010.847100] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db17c200 vdev: 0 addr: c4:b3:01:ce:8b:59 [ 3010.858037] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de457200 vdev: 0 addr: a8:66:7f:30:b8:ff [ 3010.869083] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd364600 vdev: 0 addr: 50:3e:aa:74:f9:36 [ 3010.879912] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd6fd800 vdev: 0 addr: f4:5c:89:b3:5d:8b [ 3010.890856] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f0600 vdev: 0 addr: 44:d1:fa:5e:00:af [ 3010.901790] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f1e00 vdev: 0 addr: 44:d1:fa:5e:00:db [ 3010.912721] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f1c00 vdev: 0 addr: 44:d1:fa:5e:02:7f [ 3010.923653] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f0e00 vdev: 0 addr: 44:d1:fa:5e:02:67 [ 3010.934599] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dbf71c00 vdev: 0 addr: 44:d1:fa:5d:ff:eb [ 3010.945530] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dbf71e00 vdev: 0 addr: 44:d1:fa:5e:00:d3 [ 3010.956474] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7400 vdev: 0 addr: 44:d1:fa:5e:00:cf [ 3010.967408] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7000 vdev: 0 addr: 00:d0:41:e0:30:5d [ 3010.978352] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7a00 vdev: 0 addr: 44:d1:fa:5e:03:8f [ 3010.989286] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6400 vdev: 0 addr: 44:d1:fa:5e:03:87 [ 3011.000215] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6e00 vdev: 0 addr: 44:d1:fa:5e:02:cb [ 3011.011161] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6000 vdev: 0 addr: 44:d1:fa:5e:01:4b [ 3011.022094] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7800 vdev: 0 addr: 44:d1:fa:5e:01:77 [ 3011.033025] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1bca00 vdev: 0 addr: 44:d1:fa:5e:02:83 [ 3011.043967] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db178600 vdev: 0 addr: 44:d1:fa:5d:ff:e3 [ 3011.054911] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db179200 vdev: 0 addr: 44:d1:fa:5d:ff:e7 [ 3011.065847] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db178000 vdev: 0 addr: 44:d1:fa:5e:02:77 [ 3011.076775] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db179c00 vdev: 0 addr: 00:d0:41:e0:30:49 [ 3011.087722] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer daf97200 vdev: 0 addr: 44:d1:fa:5e:02:ef [ 3011.098665] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487200 vdev: 0 addr: 44:d1:fa:5e:02:2b [ 3011.109589] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd36ac00 vdev: 0 addr: 44:d1:fa:5e:02:cf [ 3011.120528] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487000 vdev: 0 addr: 44:d1:fa:5e:02:d3 [ 3011.131461] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487600 vdev: 0 addr: 44:d1:fa:5e:01:47 [ 3011.142402] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487c00 vdev: 0 addr: 44:d1:fa:5e:01:73 [ 3011.153354] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd486a00 vdev: 0 addr: 44:d1:fa:5e:02:4b [ 3011.164288] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db29b600 vdev: 0 addr: 44:d1:fa:5e:02:7b [ 3011.175232] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db29aa00 vdev: 0 addr: 44:d1:fa:5e:02:e3 [ 3011.186154] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd232800 vdev: 0 addr: f4:0f:24:3a:24:9a [ 3011.197088] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd54b400 vdev: 0 addr: 88:dc:96:6f:1f:41 [ 3011.208031] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd54a400 vdev: 0 addr: 88:dc:96:6f:1f:3f [ 3011.218972] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de016a00 vdev: 3 addr: 44:d1:fa:5e:02:5f [ 3011.229904] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd965a00 vdev: 2 addr: 4e:d1:fa:5e:02:5f [ 3011.240841] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd77ec00 vdev: 1 addr: 42:d1:fa:5e:02:5f [ 3011.251855] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dc669600 vdev: 0 addr: 46:d1:fa:5e:02:5f [ 3011.270749] ieee80211 phy3: Hardware restart was requested [ 3012.750684] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 8 peers: 64 tid: 96 [ 3012.751021] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32 [ 3012.802119] ath10k_ahb a800000.wifi: wmi print 'P 64/64 V 8 K 192 PH 208 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 3012.802532] ath10k_ahb a800000.wifi: wmi print 'free: 54344 iram: 23480 sram: 32824' [ 3013.128930] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 [ 3014.191429] ath10k_ahb a800000.wifi: device successfully recovered

If you need anything else, I am happy to provide.

klukonin commented 5 years ago

Hello.

Possibly you have wrong configuration.

Please try fwcfg-ahb-a800000.wifi.txt vdevs = 4 peers = 128 active_peers = 64 stations = 127

matejkupljen commented 5 years ago

Hello,

thanks for the info, but if I use those values the WiFi doesn't come up:

[ 14.032621] ath10k_ahb a000000.wifi: fwcfg key: vdevs val: 4 [ 14.032668] ath10k_ahb a000000.wifi: fwcfg key: peers val: 128 [ 14.037384] ath10k_ahb a000000.wifi: fwcfg key: active_peers val: 64 [ 14.043221] ath10k_ahb a000000.wifi: fwcfg key: stations val: 127 [ 14.059483] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-5.bin failed with error -2 [ 14.059530] ath10k_ahb a000000.wifi: Falling back to user helper [ 15.347615] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed [ 15.348021] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-2.bin failed with error -2 [ 15.355985] ath10k_ahb a000000.wifi: Falling back to user helper [ 15.420214] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed [ 15.420623] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2 [ 15.428552] ath10k_ahb a000000.wifi: Falling back to user helper [ 15.503510] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed [ 16.217058] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 16.217103] ath10k_ahb a000000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 16.228727] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-8 [ 16.322233] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 e2dfaa91 [ 17.632371] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 4 peers: 128 tid: 96 [ 17.632417] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32 [ 22.641366] ath10k_ahb a000000.wifi: wmi unified ready event not received [ 22.664295] ath10k_ahb a000000.wifi: could not init core (-110) [ 22.664512] ath10k_ahb a000000.wifi: could not probe fw (-110) [ 22.841174] ath10k_ahb a800000.wifi: fwcfg key: vdevs val: 4 [ 22.841224] ath10k_ahb a800000.wifi: fwcfg key: peers val: 128 [ 22.845915] ath10k_ahb a800000.wifi: fwcfg key: active_peers val: 64 [ 22.851677] ath10k_ahb a800000.wifi: fwcfg key: stations val: 127 [ 22.861897] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-5.bin failed with error -2 [ 22.864327] ath10k_ahb a800000.wifi: Falling back to user helper [ 22.915794] firmware ath10k!QCA4019!hw1.0!ct-firmware-5.bin: firmware_loading_store: map pages failed [ 22.916150] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/ct-firmware-2.bin failed with error -2 [ 22.924087] ath10k_ahb a800000.wifi: Falling back to user helper [ 22.989115] firmware ath10k!QCA4019!hw1.0!ct-firmware-2.bin: firmware_loading_store: map pages failed [ 22.989469] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2 [ 22.997425] ath10k_ahb a800000.wifi: Falling back to user helper [ 23.058769] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed [ 23.060376] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 23.066713] ath10k_ahb a800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 23.080721] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-8 [ 23.135204] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 e2dfaa91 [ 24.445598] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 4 peers: 128 tid: 96 [ 24.445644] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32 [ 29.521398] ath10k_ahb a800000.wifi: wmi unified ready event not received [ 29.536245] ath10k_ahb a800000.wifi: could not init core (-110) [ 29.536525] ath10k_ahb a800000.wifi: could not probe fw (-110)

As you can see, there is an error "could not init core (-110)".

cat /lib/firmware/ath10k/fwcfg-ahb-a800000.wifi.txt

vdevs = 4 peers = 128 active_peers = 64 stations = 127

greearb commented 5 years ago

Hello,

You are hitting a null-ptr, and I need the binary crash dump to debug where. Most likely you are running out of some resource, maybe tids.

Please try increasing tids to 4x the number of peers.

peers and active peers should always be the same with ath10k-ct firmware. Stations are typically 2x peers.

Thanks, Ben

On 9/4/19 12:03 AM, Matej Kupljen wrote:

Please provide this info. See this link for more info on how to gather debug info: http://www.candelatech.com/ath10k-bugs.php

Description of the problem (how to configure, how to reproduce, how often it happens).

We noticed a firmware crash where we have more stations connected to the AP, more then 80 on both radios. I do not have exact procedure to reproduce it, just when many STAs connect to this AP, we see the crash. Please note, that I used fwcfg-ahb-xxxxxx.wifi.txt to change the default parameters. The contents is the same for 2.4GHz and for 5GHz radio and it looks like:

cat /lib/firmware/ath10k/fwcfg-ahb-a800000.wifi.txt
vdevs = 8
peers = 64
active_peers = 64
stations = 128

Also when I enabled debug output trough sysfs, we saw a lot of debug messages in the log, however in that case we couldn't crash the firmware.

Software (OS, Firmware version, kernel, driver, etc)

Custom OpenWRT OS, with the latest ath10k-ct driver (as available in OpenWRT OS, driver from 14th August 2019) and latest CT firmware.

uname -a
Linux OpenWrt 4.14.71 #0 SMP Fri Aug 23 11:26:36 2019 armv7l GNU/Linux

Hardware (NIC chipset, platform, etc)

Yuncore XD5200 AP with IPQ4019.

Logs (dmesg, maybe supplicant and/or hostap)

dmesg-xd5200.txt https://github.com/greearb/ath10k-ct/files/3573081/dmesg-xd5200.txt output is attached.

Here is the output when the firmware crashed:

[ 2830.546110] ath10k_ahb a000000.wifi: firmware crashed! (guid n/a) [ 2830.546798] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 2830.551432] ath10k_ahb a000000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 2830.564045] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,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,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 b27a5aa8 [ 2830.578935] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:20 crc32 e2dfaa91 [ 2830.597427] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1 [ 2830.605903] ath10k_ahb a000000.wifi: firmware register dump: [ 2830.615025] ath10k_ahb a000000.wifi: [00]: 0x0000000B 0x00000000 0x00971534 0x00000000 [ 2830.620667] ath10k_ahb a000000.wifi: [04]: 0x00000000 0x00060124 0x00000000 0x00000000 [ 2830.628371] ath10k_ahb a000000.wifi: [08]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.636286] ath10k_ahb a000000.wifi: [12]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.644186] ath10k_ahb a000000.wifi: [16]: 0x009C1FE3 0x009606B6 0x00960DD2 0x00971534 [ 2830.652086] ath10k_ahb a000000.wifi: [20]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.659983] ath10k_ahb a000000.wifi: [24]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.667866] ath10k_ahb a000000.wifi: [28]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.675784] ath10k_ahb a000000.wifi: [32]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.683682] ath10k_ahb a000000.wifi: [36]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.691583] ath10k_ahb a000000.wifi: [40]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.699478] ath10k_ahb a000000.wifi: [44]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.707362] ath10k_ahb a000000.wifi: [48]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.715279] ath10k_ahb a000000.wifi: [52]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.723177] ath10k_ahb a000000.wifi: [56]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 2830.731077] ath10k_ahb a000000.wifi: Copy Engine register dump: [ 2830.738962] ath10k_ahb a000000.wifi: [00]: 0x0004a000 2 2 3 3 [ 2830.744792] ath10k_ahb a000000.wifi: [01]: 0x0004a400 20 20 122 123 [ 2830.751390] ath10k_ahb a000000.wifi: [02]: 0x0004a800 26 26 24 26 [ 2830.757798] ath10k_ahb a000000.wifi: [03]: 0x0004ac00 1 1 5 1 [ 2830.764239] ath10k_ahb a000000.wifi: [04]: 0x0004b000 5570 5570 12 231 [ 2830.770660] ath10k_ahb a000000.wifi: [05]: 0x0004b400 2 2 0 2 [ 2830.777068] ath10k_ahb a000000.wifi: [06]: 0x0004b800 21 21 21 21 [ 2830.783683] ath10k_ahb a000000.wifi: [07]: 0x0004bc00 1 1 1 1 [ 2830.790106] ath10k_ahb a000000.wifi: [08]: 0x0004c000 0 0 127 0 [ 2830.796513] ath10k_ahb a000000.wifi: [09]: 0x0004c400 1 1 1 1 [ 2830.802965] ath10k_ahb a000000.wifi: [10]: 0x0004c800 0 0 0 0 [ 2830.809383] ath10k_ahb a000000.wifi: [11]: 0x0004cc00 0 0 0 0 [ 2830.816811] ath10k_ahb a000000.wifi: debug log header, dbuf: 0x418810 dropped: 0 [ 2830.823248] ath10k_ahb a000000.wifi: [0] next: 0x418828 buf: 0x414c20 sz: 1500 len: 0 count: 0 free: 0 [ 2830.829711] ath10k_ahb a000000.wifi: [1] next: 0x418810 buf: 0x415210 sz: 1500 len: 0 count: 0 free: 0 [ 2830.839457] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2830.848171] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2830.855469] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2830.862776] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2830.919146] ath10k_ahb a000000.wifi: failed to synchronize monitor vdev 2 stop: -108 [ 2830.919197] ath10k_ahb a000000.wifi: failed to stop monitor vdev: -108 [ 2830.926019] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd220200 vdev: 0 addr: dc:4f:22:2d:88:3e [ 2830.932369] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd037e00 vdev: 0 addr: 78:a3:e4:b7:2f:73 [ 2830.943530] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daee4600 vdev: 0 addr: dc:4f:22:2d:88:53 [ 2830.954447] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd364c00 vdev: 0 addr: 50:3e:aa:db🆎ca [ 2830.965331] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd364000 vdev: 0 addr: 50:3e:aa:e2:73:86 [ 2830.976257] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335e00 vdev: 0 addr: 50:3e:aa:e2:fa:56 [ 2830.987210] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334a00 vdev: 0 addr: 50:3e:aa:e2:fa:5b [ 2830.998270] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334800 vdev: 0 addr: 50:3e:aa:e2:a7:64 [ 2831.009173] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334600 vdev: 0 addr: 50:3e:aa:db🆎b2 [ 2831.020047] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334400 vdev: 0 addr: 50:3e:aa:e2:f6:76 [ 2831.031031] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335200 vdev: 0 addr: 50:3e:aa:e2:59:91 [ 2831.041980] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335000 vdev: 0 addr: 50:3e:aa:da:aa:81 [ 2831.052823] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd6fd600 vdev: 0 addr: 50:3e:aa:e2:73:e7 [ 2831.063926] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f0c00 vdev: 0 addr: dc:4f:22:2d:84:2e [ 2831.074762] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f1600 vdev: 0 addr: dc:4f:22:2d:8b:8a [ 2831.085619] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69da00 vdev: 0 addr: dc:4f:22:2d:7f:48 [ 2831.096572] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69c200 vdev: 0 addr: ec:fa:bc:86:e7:7b [ 2831.107500] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer da8cda00 vdev: 0 addr: f4:5c:89:92:69:07 [ 2831.118462] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc669000 vdev: 0 addr: 44:d1:fa:5e:01:72 [ 2831.129397] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc669400 vdev: 0 addr: 44:d1:fa:5e:00:da [ 2831.140310] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335400 vdev: 0 addr: 44:d1:fa:5e:02:ce [ 2831.151255] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334c00 vdev: 0 addr: 44:d1:fa:5e:00:ce [ 2831.162191] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335600 vdev: 0 addr: 44:d1:fa:5e:01:4a [ 2831.173119] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334e00 vdev: 0 addr: 44:d1:fa:5e:00:d2 [ 2831.184064] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335a00 vdev: 0 addr: 44:d1:fa:5e:03:86 [ 2831.195001] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd334200 vdev: 0 addr: 44:d1:fa:5e:02:66 [ 2831.205938] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd335800 vdev: 0 addr: 44:d1:fa:5d:ff:ea [ 2831.216874] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd06d000 vdev: 0 addr: 44:d1:fa:5e:00:ae [ 2831.227816] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de016200 vdev: 0 addr: 44:d1:fa:5e:02:82 [ 2831.238747] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de017c00 vdev: 0 addr: 44:d1:fa:5e:02:4a [ 2831.249708] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de017e00 vdev: 0 addr: 44:d1:fa:5e:02:d2 [ 2831.260622] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dbf71200 vdev: 0 addr: 88:dc:96:6f:1f:3e [ 2831.271570] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd77f200 vdev: 0 addr: 88:dc:96:6f:1f:40 [ 2831.282517] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1bd600 vdev: 0 addr: 44:d1:fa:5e:03:8e [ 2831.293439] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc69d200 vdev: 2 addr: 44:d1:fa:5e:02:5e [ 2831.304403] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer de1f1400 vdev: 0 addr: 44:d1:fa:5d:ff:e2 [ 2831.315328] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd36b400 vdev: 0 addr: 44:d1:fa:5e:02:7e [ 2831.326256] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd36b600 vdev: 0 addr: 00:d0:41:e0:30:48 [ 2831.337187] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer df5ed600 vdev: 0 addr: 44:d1:fa:5d:ff:e6 [ 2831.348133] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daf96200 vdev: 0 addr: 44:d1:fa:5e:02:ca [ 2831.359096] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daf96000 vdev: 0 addr: 44:d1:fa:5e:02:ee [ 2831.369987] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd558600 vdev: 0 addr: 44:d1:fa:5e:02:e2 [ 2831.380937] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6e00 vdev: 0 addr: 44:d1:fa:5e:01:46 [ 2831.391878] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6400 vdev: 0 addr: 44:d1:fa:5e:02:2a [ 2831.402810] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f7200 vdev: 0 addr: 00:d0:41:e0:30:5c [ 2831.413755] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6c00 vdev: 0 addr: 44:d1:fa:5e:01:76 [ 2831.424684] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dc5f6600 vdev: 0 addr: 44:d1:fa:5e:02:7a [ 2831.435630] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd558e00 vdev: 0 addr: 44:d1:fa:5e:02:76 [ 2831.446558] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dd487a00 vdev: 0 addr: b8:27:eb:18:65:59 [ 2831.457499] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer dbc4dc00 vdev: 1 addr: 42:d1:fa:5e:02:5e [ 2831.468436] ath10k_ahb a000000.wifi: removing peer, cleanup-all, deleting: peer daee2e00 vdev: 0 addr: 46:d1:fa:5e:02:5e [ 2831.481048] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.490430] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.497389] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.504876] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.512150] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.519408] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.526550] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.534050] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.541321] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.548526] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.555808] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.563224] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon [ 2831.570506] ath10k_ahb a800000.wifi: SWBA overrun on vdev 2, skipped old beacon [ 2831.577651] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon [ 2831.584980] ath10k_ahb a800000.wifi: SWBA overrun on vdev 3, skipped old beacon [ 2831.606401] ieee80211 phy2: Hardware restart was requested [ 2833.090052] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 8 peers: 64 tid: 96 [ 2833.090232] ath10k_ahb a000000.wifi: msdu-desc: 2500 skid: 32 [ 2833.139508] ath10k_ahb a000000.wifi: wmi print 'P 64/64 V 8 K 192 PH 208 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 2833.140690] ath10k_ahb a000000.wifi: wmi print 'free: 54344 iram: 23480 sram: 32824' [ 2833.678521] ath10k_ahb a000000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 [ 2834.528297] ath10k_ahb a000000.wifi: device successfully recovered [ 3010.458655] ath10k_ahb a800000.wifi: firmware crashed! (guid n/a) [ 3010.458730] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000 [ 3010.463752] ath10k_ahb a800000.wifi: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 0 [ 3010.483617] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-012-c7b0f3f98 api 5 features mfp,peer-flow-ctrl,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,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 b27a5aa8 [ 3010.499944] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:21 crc32 e2dfaa91 [ 3010.511325] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 128 raw 0 hwcrypto 1 [ 3010.519821] ath10k_ahb a800000.wifi: firmware register dump: [ 3010.528943] ath10k_ahb a800000.wifi: [00]: 0x0000000B 0x00000000 0x00971534 0x00000000 [ 3010.534566] ath10k_ahb a800000.wifi: [04]: 0x00000000 0x00060124 0x00000000 0x00000000 [ 3010.542308] ath10k_ahb a800000.wifi: [08]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.550203] ath10k_ahb a800000.wifi: [12]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.558090] ath10k_ahb a800000.wifi: [16]: 0x009C1FE3 0x009606B6 0x009606B6 0x00971534 [ 3010.566017] ath10k_ahb a800000.wifi: [20]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.573904] ath10k_ahb a800000.wifi: [24]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.581805] ath10k_ahb a800000.wifi: [28]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.589700] ath10k_ahb a800000.wifi: [32]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.597585] ath10k_ahb a800000.wifi: [36]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.605504] ath10k_ahb a800000.wifi: [40]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.613399] ath10k_ahb a800000.wifi: [44]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.621299] ath10k_ahb a800000.wifi: [48]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.629194] ath10k_ahb a800000.wifi: [52]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.637080] ath10k_ahb a800000.wifi: [56]: 0x00000000 0x00000000 0x00000000 0x00000000 [ 3010.644995] ath10k_ahb a800000.wifi: Copy Engine register dump: [ 3010.652898] ath10k_ahb a800000.wifi: [00]: 0x0004a000 2 2 3 3 [ 3010.658708] ath10k_ahb a800000.wifi: [01]: 0x0004a400 29 29 3 4 [ 3010.665294] ath10k_ahb a800000.wifi: [02]: 0x0004a800 10 10 9 10 [ 3010.671732] ath10k_ahb a800000.wifi: [03]: 0x0004ac00 25 25 28 25 [ 3010.678142] ath10k_ahb a800000.wifi: [04]: 0x0004b000 3537 3489 153 153 [ 3010.684595] ath10k_ahb a800000.wifi: [05]: 0x0004b400 7 7 38 39 [ 3010.691003] ath10k_ahb a800000.wifi: [06]: 0x0004b800 15 15 15 15 [ 3010.697585] ath10k_ahb a800000.wifi: [07]: 0x0004bc00 1 1 1 1 [ 3010.704028] ath10k_ahb a800000.wifi: [08]: 0x0004c000 0 0 127 0 [ 3010.710445] ath10k_ahb a800000.wifi: [09]: 0x0004c400 1 1 1 1 [ 3010.716854] ath10k_ahb a800000.wifi: [10]: 0x0004c800 0 0 0 0 [ 3010.723295] ath10k_ahb a800000.wifi: [11]: 0x0004cc00 0 0 0 0 [ 3010.730740] ath10k_ahb a800000.wifi: debug log header, dbuf: 0x418828 dropped: 0 [ 3010.737141] ath10k_ahb a800000.wifi: [0] next: 0x418810 buf: 0x415210 sz: 1500 len: 96 count: 4 free: 0 [ 3010.744628] ath10k_ahb a800000.wifi: ath10k_pci ATH10K_DBG_BUFFER: [ 3010.752811] ath10k: [0000]: 001586DB 10045881 00003112 0041CDAC 0000000A 00000000 001586DC 10045881 [ 3010.759058] ath10k: [0008]: 00003112 0041CDAC 0000000E 00000000 001586FE 10085881 00003112 0041CCBC [ 3010.767985] ath10k: [0016]: 0000000A 00000000 001586FE 10085881 00003112 0041CCBC 0000000E 00000000 [ 3010.777028] ath10k_ahb a800000.wifi: ATH10K_END [ 3010.786070] ath10k_ahb a800000.wifi: [1] next: 0x418828 buf: 0x414c20 sz: 1500 len: 0 count: 0 free: 0 [ 3010.790892] ath10k_ahb a800000.wifi: failed to synchronize monitor vdev 4 stop: -108 [ 3010.800208] ath10k_ahb a800000.wifi: failed to stop monitor vdev: -108 [ 3010.807842] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dc606000 vdev: 0 addr: f4:5c:89:92:69:07 [ 3010.814228] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd36b600 vdev: 0 addr: f0:99:b6:46:d9:d0 [ 3010.825230] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db17d400 vdev: 0 addr: c0:a6:00:5d:e7:44 [ 3010.836154] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd036c00 vdev: 0 addr: 6c:72:e7:95:92:81 [ 3010.847100] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db17c200 vdev: 0 addr: c4:b3:01:ce:8b:59 [ 3010.858037] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de457200 vdev: 0 addr: a8:66:7f:30:b8:ff [ 3010.869083] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd364600 vdev: 0 addr: 50:3e:aa:74:f9:36 [ 3010.879912] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd6fd800 vdev: 0 addr: f4:5c:89:b3:5d:8b [ 3010.890856] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f0600 vdev: 0 addr: 44:d1:fa:5e:00:af [ 3010.901790] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f1e00 vdev: 0 addr: 44:d1:fa:5e:00:db [ 3010.912721] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f1c00 vdev: 0 addr: 44:d1:fa:5e:02:7f [ 3010.923653] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1f0e00 vdev: 0 addr: 44:d1:fa:5e:02:67 [ 3010.934599] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dbf71c00 vdev: 0 addr: 44:d1:fa:5d:ff:eb [ 3010.945530] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dbf71e00 vdev: 0 addr: 44:d1:fa:5e:00:d3 [ 3010.956474] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7400 vdev: 0 addr: 44:d1:fa:5e:00:cf [ 3010.967408] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7000 vdev: 0 addr: 00:d0:41:e0:30:5d [ 3010.978352] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7a00 vdev: 0 addr: 44:d1:fa:5e:03:8f [ 3010.989286] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6400 vdev: 0 addr: 44:d1:fa:5e:03:87 [ 3011.000215] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6e00 vdev: 0 addr: 44:d1:fa:5e:02:cb [ 3011.011161] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f6000 vdev: 0 addr: 44:d1:fa:5e:01:4b [ 3011.022094] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd2f7800 vdev: 0 addr: 44:d1:fa:5e:01:77 [ 3011.033025] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de1bca00 vdev: 0 addr: 44:d1:fa:5e:02:83 [ 3011.043967] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db178600 vdev: 0 addr: 44:d1:fa:5d:ff:e3 [ 3011.054911] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db179200 vdev: 0 addr: 44:d1:fa:5d:ff:e7 [ 3011.065847] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db178000 vdev: 0 addr: 44:d1:fa:5e:02:77 [ 3011.076775] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db179c00 vdev: 0 addr: 00:d0:41:e0:30:49 [ 3011.087722] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer daf97200 vdev: 0 addr: 44:d1:fa:5e:02:ef [ 3011.098665] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487200 vdev: 0 addr: 44:d1:fa:5e:02:2b [ 3011.109589] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd36ac00 vdev: 0 addr: 44:d1:fa:5e:02:cf [ 3011.120528] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487000 vdev: 0 addr: 44:d1:fa:5e:02:d3 [ 3011.131461] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487600 vdev: 0 addr: 44:d1:fa:5e:01:47 [ 3011.142402] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd487c00 vdev: 0 addr: 44:d1:fa:5e:01:73 [ 3011.153354] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd486a00 vdev: 0 addr: 44:d1:fa:5e:02:4b [ 3011.164288] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db29b600 vdev: 0 addr: 44:d1:fa:5e:02:7b [ 3011.175232] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer db29aa00 vdev: 0 addr: 44:d1:fa:5e:02:e3 [ 3011.186154] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd232800 vdev: 0 addr: f4:0f:24:3a:24:9a [ 3011.197088] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd54b400 vdev: 0 addr: 88:dc:96:6f:1f:41 [ 3011.208031] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd54a400 vdev: 0 addr: 88:dc:96:6f:1f:3f [ 3011.218972] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer de016a00 vdev: 3 addr: 44:d1:fa:5e:02:5f [ 3011.229904] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd965a00 vdev: 2 addr: 4e:d1:fa:5e:02:5f [ 3011.240841] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dd77ec00 vdev: 1 addr: 42:d1:fa:5e:02:5f [ 3011.251855] ath10k_ahb a800000.wifi: removing peer, cleanup-all, deleting: peer dc669600 vdev: 0 addr: 46:d1:fa:5e:02:5f [ 3011.270749] ieee80211 phy3: Hardware restart was requested [ 3012.750684] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 8 peers: 64 tid: 96 [ 3012.751021] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32 [ 3012.802119] ath10k_ahb a800000.wifi: wmi print 'P 64/64 V 8 K 192 PH 208 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 3012.802532] ath10k_ahb a800000.wifi: wmi print 'free: 54344 iram: 23480 sram: 32824' [ 3013.128930] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 [ 3014.191429] ath10k_ahb a800000.wifi: device successfully recovered

If you need anything else, I am happy to provide.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/93?email_source=notifications&email_token=AACHNKXNTRJAM7NWA3ZZ7XDQH5MSXA5CNFSM4ITOGEYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJFHXUA, or mute the thread https://github.com/notifications/unsubscribe-auth/AACHNKSGDM2VVNT3ONIM5ETQH5MSXANCNFSM4ITOGEYA.

-- Ben Greear greearb@candelatech.com Candela Technologies Inc http://www.candelatech.com

klukonin commented 5 years ago

@greearb

Is it right to say that each vdev should create one additional peer? So if we want to have 64 active peers and 4 vdevs, we need to configure "peers = 68" ?

greearb commented 5 years ago

I think that might work for AP mode. Station-mode vdevs need 2 peers each.

Thanks, Ben

On 09/04/2019 10:50 PM, Kirill wrote:

@greearb https://github.com/greearb

Is it right to say that each vdev should create one additional peer? So if we want to have 64 active peers and 4 vdevs, we need to configure "peers = 68" ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/greearb/ath10k-ct/issues/93?email_source=notifications&email_token=AACHNKQMAEVJTQFMVSGLQI3QICM3FA5CNFSM4ITOGEYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD555DTA#issuecomment-528208332, or mute the thread https://github.com/notifications/unsubscribe-auth/AACHNKXYHKAPKH735PYRDULQICM3FANCNFSM4ITOGEYA.

-- Ben Greear greearb@candelatech.com Candela Technologies Inc http://www.candelatech.com

matejkupljen commented 5 years ago

@greearb, will change the configuration as you suggested and will run it on the AP. I'll monitor it and if I get the firmware crash again, I'll try to dump binary crash dump and send it too you.

So, from the @klukonin comments and @greearb I think this would be the right combination:

vdevs = 8 peers = 72 active_peers = 64 stations = 128 tids = 288

So, peers = vdevs + active_peers and tids = 4 x peers

Thanks, Matej

greearb commented 4 years ago

I updated the ath10k help page with some fwcfg files that work for 9984. They most likely will NOT work for 4019, but maybe it will provide some clues. In case you get a good working example for 4019 (at least minimally tested with the maximum number of configured stations), please let me know and I'll add it to the page.

http://www.candelatech.com/ath10k-10.4.php#config

Closing this bug, I think it was just some problem with fwcfg.