diff options
author | Anilkumar Kolli <akolli@codeaurora.org> | 2018-10-12 11:33:28 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-05 12:07:12 +0200 |
commit | e88975ca37d10a486cf3a3c7199a669eb393c123 (patch) | |
tree | 7da3fe3bde83657dd6223a188ea3c0f0c84bc63f /drivers/net/wireless/ath/ath10k/core.h | |
parent | 0e622f67e0413ad12c2481d47353031ddb185620 (diff) | |
download | blackbird-op-linux-e88975ca37d10a486cf3a3c7199a669eb393c123.tar.gz blackbird-op-linux-e88975ca37d10a486cf3a3c7199a669eb393c123.zip |
ath10k: dump tx stats in rate table format
This patch adds the tx statistics pkts/bytes dump
in rate table format.
Dump format table is similar to http://mcsindex.com/
Tested on QCA9984/QCA4019/QCA988x
Firmware: 10.4-3.5.3-00057
10.2.4-1.0-00037
command:
cat /sys/kernel/debug/ieee80211/phy0/netdev\:wlan0/
stations/<MACADDR>/tx_stats
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 009a4936a7ed..7d8d4e004e31 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -474,6 +474,7 @@ struct ath10k_htt_data_stats { u64 bw[ATH10K_COUNTER_TYPE_MAX][ATH10K_BW_NUM]; u64 nss[ATH10K_COUNTER_TYPE_MAX][ATH10K_NSS_NUM]; u64 gi[ATH10K_COUNTER_TYPE_MAX][ATH10K_GI_NUM]; + u64 rate_table[ATH10K_COUNTER_TYPE_MAX][ATH10K_RATE_TABLE_NUM]; }; struct ath10k_htt_tx_stats { |