diff options
author | Anilkumar Kolli | 2018-10-12 08:03:28 +0200 |
---|---|---|
committer | Kalle Valo | 2018-11-05 11:07:12 +0100 |
commit | e88975ca37d10a486cf3a3c7199a669eb393c123 (patch) | |
tree | 7da3fe3bde83657dd6223a188ea3c0f0c84bc63f /drivers/net/wireless/ath/ath10k/wmi.h | |
parent | ath10k: add support for WCN3990 firmware crash recovery (diff) | |
download | kernel-qcow2-linux-e88975ca37d10a486cf3a3c7199a669eb393c123.tar.gz kernel-qcow2-linux-e88975ca37d10a486cf3a3c7199a669eb393c123.tar.xz kernel-qcow2-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/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index f7badd079051..4971d610f567 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -4991,6 +4991,7 @@ enum wmi_rate_preamble { #define ATH10K_LEGACY_NUM 12 #define ATH10K_GI_NUM 2 #define ATH10K_HT_MCS_NUM 32 +#define ATH10K_RATE_TABLE_NUM 320 /* Value to disable fixed rate setting */ #define WMI_FIXED_RATE_NONE (0xff) |