summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/debug.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2016-01-13 21:16:34 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2016-01-26 16:47:37 +0200
commit856e7c3084399fb7e029628dbe43dcb9bb7d7b5b (patch)
treec6580fee2b4eb672eb683927a0661ca11381ea85 /drivers/net/wireless/ath/ath10k/debug.h
parent8351c052194b30f852db6225a568e48ee2a4947b (diff)
downloadlwn-856e7c3084399fb7e029628dbe43dcb9bb7d7b5b.tar.gz
lwn-856e7c3084399fb7e029628dbe43dcb9bb7d7b5b.zip
ath10k: add debugfs support for Per STA total rx duration
Add debugfs support for per client total rx duration, track this via the report of Peer stats rx duration reported for every 500ms Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h
index 814719cf4f22..f273478e2afb 100644
--- a/drivers/net/wireless/ath/ath10k/debug.h
+++ b/drivers/net/wireless/ath/ath10k/debug.h
@@ -153,6 +153,12 @@ ath10k_debug_get_new_fw_crash_data(struct ath10k *ar)
#ifdef CONFIG_MAC80211_DEBUGFS
void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
struct ieee80211_sta *sta, struct dentry *dir);
+void ath10k_sta_update_rx_duration(struct ath10k *ar, struct list_head *peer);
+#else
+static inline void ath10k_sta_update_rx_duration(struct ath10k *ar,
+ struct list_head *peer)
+{
+}
#endif /* CONFIG_MAC80211_DEBUGFS */
#ifdef CONFIG_ATH10K_DEBUG