aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/debug.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>2016-01-13 10:46:34 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2016-01-26 09:47:37 -0500
commit856e7c3084399fb7e029628dbe43dcb9bb7d7b5b (patch)
treec6580fee2b4eb672eb683927a0661ca11381ea85 /drivers/net/wireless/ath/ath10k/debug.h
parent8351c052194b30f852db6225a568e48ee2a4947b (diff)
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)
153#ifdef CONFIG_MAC80211_DEBUGFS 153#ifdef CONFIG_MAC80211_DEBUGFS
154void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, 154void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
155 struct ieee80211_sta *sta, struct dentry *dir); 155 struct ieee80211_sta *sta, struct dentry *dir);
156void ath10k_sta_update_rx_duration(struct ath10k *ar, struct list_head *peer);
157#else
158static inline void ath10k_sta_update_rx_duration(struct ath10k *ar,
159 struct list_head *peer)
160{
161}
156#endif /* CONFIG_MAC80211_DEBUGFS */ 162#endif /* CONFIG_MAC80211_DEBUGFS */
157 163
158#ifdef CONFIG_ATH10K_DEBUG 164#ifdef CONFIG_ATH10K_DEBUG