On 2017-11-30 22:08, Kalle Valo wrote:
Toke Høiland-Jørgensen writes:
+struct ath10k_10_2_peer_tx_stats {
+ u8 ratecode[PEER_STATS_FOR_NO_OF_PPDUS];
+ u8 success_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
+ __le16 success_bytes[PEER_STATS_FOR_NO_OF_PPDUS];
+ u8
On 11/30/2017 09:04 AM, Ansuel Smith wrote:
had this crash when restarting 5ghz wireless. Very bad performance and
stability on a netgear r7800. Near wifi are on different channel, with
old kernel 4.4 there were no issue. With the new kernel 4.9 i have
this kind of problem and a bandwidth of max
had this crash when restarting 5ghz wireless. Very bad performance and
stability on a netgear r7800. Near wifi are on different channel, with
old kernel 4.4 there were no issue. With the new kernel 4.9 i have
this kind of problem and a bandwidth of max 20-30 mbps. Can make any
test as for now i
Toke Høiland-Jørgensen writes:
>>> +struct ath10k_10_2_peer_tx_stats {
>>> + u8 ratecode[PEER_STATS_FOR_NO_OF_PPDUS];
>>> + u8 success_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
>>> + __le16 success_bytes[PEER_STATS_FOR_NO_OF_PPDUS];
>>> + u8 retry_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
>> +struct ath10k_10_2_peer_tx_stats {
>> +u8 ratecode[PEER_STATS_FOR_NO_OF_PPDUS];
>> +u8 success_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
>> +__le16 success_bytes[PEER_STATS_FOR_NO_OF_PPDUS];
>> +u8 retry_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
>> +__le16
writes:
> From: Anilkumar Kolli
>
> 10.2.4 firmware branch (used in QCA988X) does not support
> HTT_10_4_T2H_MSG_TYPE_PEER_STATS and that's why ath10k does not provide
> tranmission rate statistics to user space, instead it just shows
>
From: Anilkumar Kolli
Add tx stats supoort for QCA988X.
Parse peer stats from pktlog packets and update the tx rate
information per STA.
This way user space can query about transmit rate with iw.
Anilkumar Kolli (2):
ath10k: move pktlog_filter out of ath10k_debug
From: Anilkumar Kolli
Move pktlog_filter from struct ath10k_debug to struct ath10k
so that pktlog can be enabled even when debugfs is not
enabled, needed to enable peer tx stats for 10.2.4.
No changes in functionality.
Signed-off-by: Anilkumar Kolli