[LEDE-DEV] ath10k-ct fw 10.1, QCA988X hw, iw dev type IBSS, SET_SPECIAL_ID_ACK_CTS value > 0 => no traffic.

Nick Dennis ndennis at rapiduswireless.com
Wed Aug 2 14:22:35 PDT 2017


Radio Card and Firmware:

root at njdrlk2:/sys/kernel/debug/ieee80211/phy0/ath10k# cat 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,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
version:   10.1-ct-8x-__fW-019-f466004
hw_rev:    988x

I added the line
     echo 0x0000000000003FFF > 
/sys/kernel/debug/ieee80211/phy0/ath10k/ct_special
towards the end of /lib/netifd/wireless/mac80211.sh for long-distance 
(10kM) links.

This works fine for MAC types AP and client.
When the type is set to IBSS (for Batman mesh) on 2 devices, they each 
show an association to the other in iwinfo and a neighbour in batctl n. 
But, neither can ping the other, either ICMP or batctl p {mac address}.

When the line is changed to:
     echo 0x0000000000000000 > 
/sys/kernel/debug/ieee80211/phy0/ath10k/ct_special
and the devices rebooted, ICMP and batctl pings get responses.

Are the ID and values for this ct special  OK?

Does anyone know what the ath10k clock rate for the ACK timeout counter 
is so the ct special value can be calculated from a distance setting?

Thanks.



More information about the Lede-dev mailing list