[PATCH RFC/RFT] ath10k: use xmit encapsulation offloading

Ansuel Smith ansuelsmth at gmail.com
Wed May 18 16:21:02 PDT 2022


Il giorno gio 19 mag 2022 alle ore 01:17 Edward Matijevic
<motolav at gmail.com> ha scritto:
>
> Reporting an issue running these patches with the ath10k-ct driver
> from OpenWrt 22.03-rc1 crashing repeatedly on my IPQ8064+QCA9980
> router
> The patches only require an edit to the file locations to the
> directory ath10k-5.15/ and the offsets apply without issue
> Below is a log from the hardware crashing repeatedly, only lines
> removed included MACs
>
> ieee80211 phy0: Hardware restart was requested
> ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
> ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
> ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186
> msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
> ath10k_pci 0000:01:00.0: wmi print 'free: 31080 iram: 23028 sram: 9596'
> ath10k_pci 0000:01:00.0: rts threshold -1
> ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a
> retry limit of > 2 is OK, requested limit: 4
> ath10k_pci 0000:01:00.0: device successfully recovered
> ath10k_pci 0000:01:00.0: firmware crashed! (guid
> dacbb411-7d89-4a0b-b4a8-1e25f10d9838)
> ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id
> 0x003b01ff sub 168c:0002
> ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
> ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9980-fW-13-5ae337bb1
> 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 b36a12bf
> ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 e4a0f655
> ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal
> pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
> ath10k_pci 0000:01:00.0: firmware register dump:
> ath10k_pci 0000:01:00.0: [00]: 0x00000009 0x00000000 0x0098C64F 0x00000000
> ath10k_pci 0000:01:00.0: [04]: 0x00000000 0x00060124 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [16]: 0x009BFE03 0x009C0489 0x0097F8C6 0x0098C64F
> ath10k_pci 0000:01:00.0: [20]: 0x00000000 0x00401C20 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
> ath10k_pci 0000:01:00.0: Copy Engine register dump:
> ath10k_pci 0000:01:00.0: [00]: 0x0004a000   0   0   3   3
> ath10k_pci 0000:01:00.0: [01]: 0x0004a400   3   3  73  74
> ath10k_pci 0000:01:00.0: [02]: 0x0004a800  51  51  50  51
> ath10k_pci 0000:01:00.0: [03]: 0x0004ac00  29  29   1  29
> ath10k_pci 0000:01:00.0: [04]: 0x0004b000  23  23  52  14
> ath10k_pci 0000:01:00.0: [05]: 0x0004b400  22  22  53  54
> ath10k_pci 0000:01:00.0: [06]: 0x0004b800   8   8   8   8
> ath10k_pci 0000:01:00.0: [07]: 0x0004bc00   1   1   1   1
> ath10k_pci 0000:01:00.0: [08]: 0x0004c000   0   0 127   0
> ath10k_pci 0000:01:00.0: [09]: 0x0004c400   1   1   1   1
> ath10k_pci 0000:01:00.0: [10]: 0x0004c800   0   0   0   0
> ath10k_pci 0000:01:00.0: [11]: 0x0004cc00   0   0   0   0
> ath10k_pci 0000:01:00.0: debug log header, dbuf: 0x4197f8  dropped: 0
> ath10k_pci 0000:01:00.0: [0] next: 0x4197e0 buf: 0x4158b0 sz: 1500
> len: 0 count: 0 free: 0
> ath10k_pci 0000:01:00.0: [1] next: 0x4197f8 buf: 0x4152c0 sz: 1500
> len: 0 count: 0 free: 0
>

There should be a beta firmware with the crash fixed...
But anyway the ct firmware doesn't work with offload and
this is the main reason i never actually put effort in getting
this merged. Openwrt use ath10k-ct and offload doesn't work,
the dev didn't bother to fix it so.... rip any use of this since the
original ath10k is not usable for some user.

> _______________________________________________
> 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