* ath10k: fw_stats not reporting peer_stats with 10.2
@ 2014-12-18 13:00 ` Antonio Quartulli
0 siblings, 0 replies; 6+ messages in thread
From: Antonio Quartulli @ 2014-12-18 13:00 UTC (permalink / raw)
To: ath10k; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* ath10k: fw_stats not reporting peer_stats with 10.2
@ 2014-12-18 13:00 ` Antonio Quartulli
0 siblings, 0 replies; 6+ messages in thread
From: Antonio Quartulli @ 2014-12-18 13:00 UTC (permalink / raw)
To: ath10k; +Cc: linux-wireless
[-- Attachment #1.1: Type: text/plain, Size: 1162 bytes --]
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
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: fw_stats not reporting peer_stats with 10.2
2014-12-18 13:00 ` Antonio Quartulli
@ 2015-01-12 11:54 ` Michal Kazior
-1 siblings, 0 replies; 6+ messages in thread
From: Michal Kazior @ 2015-01-12 11:54 UTC (permalink / raw)
To: Antonio Quartulli; +Cc: ath10k, linux-wireless
On 18 December 2014 at 14:00, Antonio Quartulli <antonio@open-mesh.com> 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ł
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: fw_stats not reporting peer_stats with 10.2
@ 2015-01-12 11:54 ` Michal Kazior
0 siblings, 0 replies; 6+ messages in thread
From: Michal Kazior @ 2015-01-12 11:54 UTC (permalink / raw)
To: Antonio Quartulli; +Cc: linux-wireless, ath10k
On 18 December 2014 at 14:00, Antonio Quartulli <antonio@open-mesh.com> 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ł
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: fw_stats not reporting peer_stats with 10.2
2015-01-12 11:54 ` Michal Kazior
@ 2015-01-13 7:11 ` Antonio Quartulli
-1 siblings, 0 replies; 6+ messages in thread
From: Antonio Quartulli @ 2015-01-13 7:11 UTC (permalink / raw)
To: Michal Kazior; +Cc: ath10k, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
On 12/01/15 12:54, Michal Kazior wrote:
> On 18 December 2014 at 14:00, Antonio Quartulli <antonio@open-mesh.com> 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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k: fw_stats not reporting peer_stats with 10.2
@ 2015-01-13 7:11 ` Antonio Quartulli
0 siblings, 0 replies; 6+ messages in thread
From: Antonio Quartulli @ 2015-01-13 7:11 UTC (permalink / raw)
To: Michal Kazior; +Cc: linux-wireless, ath10k
[-- Attachment #1.1: Type: text/plain, Size: 636 bytes --]
On 12/01/15 12:54, Michal Kazior wrote:
> On 18 December 2014 at 14:00, Antonio Quartulli <antonio@open-mesh.com> 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
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-01-13 7:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-18 13:00 ath10k: fw_stats not reporting peer_stats with 10.2 Antonio Quartulli
2014-12-18 13:00 ` Antonio Quartulli
2015-01-12 11:54 ` Michal Kazior
2015-01-12 11:54 ` Michal Kazior
2015-01-13 7:11 ` Antonio Quartulli
2015-01-13 7:11 ` Antonio Quartulli
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.