ath10k: fw_stats not reporting peer_stats with 10.2
Hello,
I have a device equipped with a ath10k driven wifi card, specifically:
qca988x hw2.0 (0x4100016c, 0x043202ff) fw 10.2-00082-4-2 api 3 htt 2.1 wmi 65.109.0.0 cal file
(line grabbed from dmesg at boot time)
On my device I have configured 2 AP vifs and for each of them I would like to read the last TX rate of the associated stations.
As I've read on wireless.kernel.org this is not possible through the standard nl/cfg80211 interface and therefore I have been trying to read /sys/kernel/debug/ieee80211/phy1/ath10k/fw_stats , but this file always reports "ath10k PEER stats (0)" (no peers..).
I tried printing some debug messages here and there and the only useful information I got is that in "ath10k_wmi_10x_pull_fw_stats()" the value of "ev->num_peer_stats" is always 0.
Is this yet another fw limitation?
I also realized that upon station connection ath10k receives the WMI_10_2_PEER_RATECODE_LIST_EVENTID event but it is not handled as no handler is implemented. Might it be related with my problem ?
Thanks a lot for any information you would be able to provide :)
Cheers,
Signature · 1 line
Antonio Quartulli
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 1 line · Antonio Quartulli
Hello,
Hi,
Sorry for the late reply.
Quoted 10 lines
(line grabbed from dmesg at boot time)
On my device I have configured 2 AP vifs and for each of them I would like to read the last TX rate of the associated stations.
As I've read on wireless.kernel.org this is not possible through the standard nl/cfg80211 interface and therefore I have been trying to read
/sys/kernel/debug/ieee80211/phy1/ath10k/fw_stats, but this file always reports "ath10k PEER stats (0)" (no peers..).
Quoted 5 lines
I tried printing some debug messages here and there and the only useful information I got is that in "
ath10k_wmi_10x_pull_fw_stats()" the value of "ev->num_peer_stats" is always 0.Is this yet another fw limitation?
Firmware stats has a very fragile ABI. Apparently 10.2 changed it again and thus is broken. I'll try to look into it more if time permits.
Quoted 3 lines
I also realized that upon station connection ath10k receives the
WMI_10_2_PEER_RATECODE_LIST_EVENTIDevent but it is not handled as no handler is implemented. Might it be related with my problem ?
No. That's not the problem.
Michał
Quoted 10 lines · Michal Kazior
Quoted 5 lines · Antonio Quartulli
I tried printing some debug messages here and there and the only useful information I got is that in "
ath10k_wmi_10x_pull_fw_stats()" the value of "ev->num_peer_stats" is always 0.Is this yet another fw limitation?
Firmware stats has a very fragile ABI. Apparently 10.2 changed it again and thus is broken. I'll try to look into it more if time permits.
Thank Michał!
I will be happy to test any change you might be able to provide.
Cheers,
Signature · 1 line
Antonio Quartulli