]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55652c7a32e5d1d647137995c5875ad3c75bb60c
tree7da3fe3bde83657dd6223a188ea3c0f0c84bc63f
parent4ca973761bb3116a8b897a6e829d282f4a81b326
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