Re: [PATCH 2/2] ath10k: add per peer tx stats support for 10.2.4

2017-11-30 Thread akolli
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

Re: ath10k; QCA9984 firmware crash

2017-11-30 Thread Ben Greear
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

ath10k; QCA9984 firmware crash

2017-11-30 Thread Ansuel Smith
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

Re: [PATCH 2/2] ath10k: add per peer tx stats support for 10.2.4

2017-11-30 Thread Kalle Valo
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];

Re: [PATCH 2/2] ath10k: add per peer tx stats support for 10.2.4

2017-11-30 Thread Toke Høiland-Jørgensen
>> +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

Re: [PATCH 2/2] ath10k: add per peer tx stats support for 10.2.4

2017-11-30 Thread Kalle Valo
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 >

[PATCH 0/2] ath10k: tx stats for 10.2.4

2017-11-30 Thread akolli
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

[PATCH 1/2] ath10k: move pktlog_filter out of ath10k_debug

2017-11-30 Thread akolli
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