greearb / ath10k-ct

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

QCA9984 ibss stop working after event id 36925 #127

Open cor-mt opened 4 years ago

cor-mt commented 4 years ago

On an ibss setup between 2 Soekris NET6501 with COMPEX WLE1216V5-20 cards, the connection stop passing traffic after getting an event with id 36925 without getting disconnected. Need to remove and reload the modules before it will work again. Sometimes it's running for half an hour before it happens other times less than a minute. Happens also on the first and last version from "all_builds-9984b-H-feb-6-2019.tar.gz"

BTW. Haven't tried all the beta 12 lede versions but with all the previous and the "firmware-5-ct-full-community-12.bin-lede.001" I had about 20% packet loss on small packets, a lot of "tx failed" and no "tx retries" in a station dump, this is the first version I tested with no packet loss when it's running (and "tx retries" working).

Software

Gentoo kernel 5.4.28 with the ath10k folder replaced with your ath10k-ct/ath10k-5.4 and 0001-wireless-Relax-beacon_int_min_gcd-and-ADHOC-check.patch applied.

directory: ath10k/QCA9984/hw1.0
firmware:  firmware-5.bin
fwcfg:     fwcfg-pci-0000:07:00.0.txt
bus:       0000:07:00.0
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
version:   10.4b-ct-9984-fW-013-d81f62d97
hw_rev:    9984
board:     board-2.bin

fwcfg-pci-0000:07:00.0.txt

vdevs = 4
peers = 24
active_peers = 24
stations = 24
rate_ctrl_objs = 7
regdom = 840
#fwname = firmware-5-htt-mgt-b.bin
#fwver = 5
nohwcrypt = 0
ct_sta_mode = 0
tx_desc = 1024
#max_nss = 3
tids = 256
skid_limit = 360
max_amsdus = 3

Connection setup with:

iw wlanx ibss join test 5745 80MHz fixed-freq 02:12:34:xx:xx:xx

dmesg snipped:

[11899.552512] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11899.665023] wlan1: AddBA Req buf_size=64 for 04:f0:21:xx:xx:xx
[11899.665047] ath10k_pci 0000:07:00.0: mac ampdu vdev_id 0 sta 04:f0:21:xx:xx:xx tid 5 action 0
[11899.665052] wlan1: Rx A-MPDU request on 04:f0:21:xx:xx:xx tid 5 result 0
[11900.052615] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11900.552744] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11900.600111] ath10k_pci 0000:07:00.0: wmi request stats 0xf0000000
[11900.600189] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11900.835588] ath10k_pci 0000:07:00.0: wmi event debug mesg len 140
[11900.835624] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11900.835644] ath10k: [0000]: 00004A40 17FC580E 0044D6AC 0000459E 00000009 0000006A 00000000 00004C38
[11900.835660] ath10k: [0008]: 17FC580E 0044D6AC 0000459E 0000002F 000000D5 00000000 00004D14 0FFC5813
[11900.835671] ath10k: [0016]: 0552FB77 94F9BFCC 0000AB00 00004D14 13FC5813 40000395 7EC8402E 200A8007
[11900.835680] ath10k: [0024]: 0000AB01 00004D14 0FFC5813 0000019B 00000000 0000AB02 00004D14 0BFC5813
[11900.835687] ath10k: [0032]: 000001FF 0000AB03
[11900.835695] ath10k_pci 0000:07:00.0: ATH10K_END
[11900.835713] ath10k_pci 0000:07:00.0: received event id 36925 not implemented
[11901.000671] ath10k_pci 0000:07:00.0: wmi event debug mesg len 84
[11901.000701] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11901.000715] ath10k: [0000]: 00004DBD 0FFC5813 05589805 96739BF8 0000AB00 00004DBD 13FC5813 40000395
[11901.000726] ath10k: [0008]: 7EC8402E 200A8007 0000AB01 00004DBD 0FFC5813 0000019B 00000000 0000AB02
[11901.000734] ath10k: [0016]: 00004DBD 0BFC5813 000001FF 0000AB03
[11901.000742] ath10k_pci 0000:07:00.0: ATH10K_END
[11901.000756] ath10k_pci 0000:07:00.0: received event id 36925 not implemented
[11901.100295] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11901.163512] ath10k_pci 0000:07:00.0: wmi event peer sta kickout 04:f0:21:xx:xx:xx
[11901.600438] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11902.099482] ath10k_pci 0000:07:00.0: wmi event debug mesg len 60
[11902.099514] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11902.099528] ath10k: [0000]: 00004E64 17FC5813 0044D6AC 0000459E 00000002 00000140 00000140 00005095
[11902.099538] ath10k: [0008]: 17FC580E 0044D6AC 0000459E 00000003 0000006A 00000000
[11902.099546] ath10k_pci 0000:07:00.0: ATH10K_END
[11902.100546] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11902.416060] ath10k_pci 0000:07:00.0: wmi event debug mesg len 112
[11902.416091] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11902.416105] ath10k: [0000]: 00005290 17FC580E 0044D6AC 0000459E 00000010 000000D5 00000000 00005366
[11902.416116] ath10k: [0008]: 0FFC5813 05894F43 A31B4CCD 0000AB00 00005366 13FC5813 40000395 7EC8402E
[11902.416126] ath10k: [0016]: 200A8007 0000AB01 00005366 0FFC5813 0000019B 00000000 0000AB02 00005366
[11902.416133] ath10k: [0024]: 0BFC5813 000001FF 0000AB03
[11902.416141] ath10k_pci 0000:07:00.0: ATH10K_END
[11902.416156] ath10k_pci 0000:07:00.0: received event id 36925 not implemented
[11902.539029] ath10k_pci 0000:07:00.0: wmi event debug mesg len 84
[11902.539056] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11902.539069] ath10k: [0000]: 000053E4 0FFC5813 058E9945 A434C935 0000AB00 000053E4 13FC5813 40000395
[11902.539080] ath10k: [0008]: 7EC8402E 200A8007 0000AB01 000053E4 0FFC5813 0000019B 00000000 0000AB02
[11902.539088] ath10k: [0016]: 000053E4 0BFC5813 000001FF 0000AB03
[11902.539096] ath10k_pci 0000:07:00.0: ATH10K_END
[11902.539109] ath10k_pci 0000:07:00.0: received event id 36925 not implemented
[11902.600646] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11902.647947] ath10k_pci 0000:07:00.0: wmi request stats 0xf0000000
[11902.648044] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11902.666703] ath10k_pci 0000:07:00.0: wmi event peer sta kickout 04:f0:21:xx:xx:xx
[11902.736101] wlan1: RX ProbeReq SA=72:8c:b3:xx:xx:xx DA=ff:ff:ff:ff:ff:ff
[11902.736111] wlan1:   BSSID=ff:ff:ff:ff:ff:ff (tx_last_beacon=1)
[11902.736119] wlan1: Sending ProbeResp to 72:8c:b3:xx:xx:xx
[11902.776312] wlan1: RX ProbeReq SA=72:8c:b3:xx:xx:xx DA=ff:ff:ff:ff:ff:ff
[11902.776321] wlan1:   BSSID=ff:ff:ff:ff:ff:ff (tx_last_beacon=1)
[11902.776331] wlan1: Sending ProbeResp to 72:8c:b3:xx:xx:xx
[11903.099576] ath10k_pci 0000:07:00.0: wmi event debug mesg len 32
[11903.099610] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11903.099631] ath10k: [0000]: 00005467 17FC5813 0044D6AC 0000459E 0000000A 00000140 00000140
[11903.099644] ath10k_pci 0000:07:00.0: ATH10K_END
[11903.148107] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11903.648212] ath10k_pci 0000:07:00.0: WMI_UPDATE_STATS_EVENTID
[11903.908771] ath10k_pci 0000:07:00.0: wmi event debug mesg len 140
[11903.908804] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11903.908817] ath10k: [0000]: 0000564E 17FC580E 0044D6AC 0000459E 0000002A 0000006A 00000000 00005877
[11903.908828] ath10k: [0008]: 17FC580E 0044D6AC 0000459E 0000001C 000000D5 00000000 0000595F 0FFC5813
[11903.908838] ath10k: [0016]: 05C2914A B073FD87 0000AB00 0000595F 13FC5813 40000395 7EC8402E 200A8007
[11903.908848] ath10k: [0024]: 0000AB01 0000595F 0FFC5813 0000019B 00000000 0000AB02 0000595F 0BFC5813
[11903.908855] ath10k: [0032]: 000001FF 0000AB03
[11903.908862] ath10k_pci 0000:07:00.0: ATH10K_END
[11903.908876] ath10k_pci 0000:07:00.0: received event id 36925 not implemented
[11904.060571] ath10k_pci 0000:07:00.0: wmi event debug mesg len 84
[11904.060605] ath10k_pci 0000:07:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[11904.060626] ath10k: [0000]: 000059FA 0FFC5813 05C84DF4 B1CF7589 0000AB00 000059FA 13FC5813 40000395
[11904.060642] ath10k: [0008]: 7EC8402E 200A8007 0000AB01 000059FA 0FFC5813 0000019B 00000000 0000AB02
[11904.060650] ath10k: [0016]: 000059FA 0BFC5813 000001FF 0000AB03