ath10k: fw_stats not reporting peer_stats with 10.2

Michal Kazior michal.kazior at
Mon Jan 12 03:54:52 PST 2015

On 18 December 2014 at 14:00, Antonio Quartulli <antonio at> wrote:
> Hello,


Sorry for the late reply.

> (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 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?

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

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

No. That's not the problem.


More information about the ath10k mailing list