ath10k: dump tx stats in rate table format
authorAnilkumar Kolli <akolli@codeaurora.org>
Fri, 12 Oct 2018 06:03:28 +0000 (11:33 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 5 Nov 2018 10:07:12 +0000 (12:07 +0200)
commite88975ca37d10a486cf3a3c7199a669eb393c123
tree7da3fe3bde83657dd6223a188ea3c0f0c84bc63f
parent0e622f67e0413ad12c2481d47353031ddb185620
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>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debugfs_sta.c
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/wmi.h