ath10k: add debugfs support to dump per sta tx stats
authorAnilkumar Kolli <akolli@codeaurora.org>
Tue, 4 Sep 2018 06:45:16 +0000 (12:15 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Sep 2018 16:02:51 +0000 (19:02 +0300)
commit85dd28eb9917fb22095aab0cf22eaa351bb3e24d
treeaa128ee626f9665a34c318a49bb5ff89f9ec6dc1
parenta904417fc8761b78d46342d13a6fd08f4beb7075
ath10k: add debugfs support to dump per sta tx stats

This patch adds 'tx_stats' in per station debugfs entry.

Use this command to dump tx_stats:
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/debugfs_sta.c