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,
--
Antonio Quartulli
On 12/01/15 12:54, Michal Kazior wrote:
> On 18 December 2014 at 14:00, Antonio Quartulli <[email protected]> wrote:
>> 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,
--
Antonio Quartulli
On 18 December 2014 at 14:00, Antonio Quartulli <[email protected]> wrote:
> Hello,
Hi,
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 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?
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.
> 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.
Michał