diff options
| author | Anilkumar Kolli | 2018-09-04 08:45:14 +0200 |
|---|---|---|
| committer | Kalle Valo | 2018-09-06 18:02:34 +0200 |
| commit | 348cd95c8196818613980983b277faae8a3d1fd5 (patch) | |
| tree | 6bfeba294fd32495b10d6ddd40d8ece9530c64ce /drivers/net/wireless/ath/ath10k/debug.h | |
| parent | ath10k: get the legacy rate index to update the txrate table (diff) | |
| download | kernel-qcow2-linux-348cd95c8196818613980983b277faae8a3d1fd5.tar.gz kernel-qcow2-linux-348cd95c8196818613980983b277faae8a3d1fd5.tar.xz kernel-qcow2-linux-348cd95c8196818613980983b277faae8a3d1fd5.zip | |
ath10k: add debugfs entry to enable extended tx stats
This patch adds debugfs entry to enable/disable extended
tx statistics. Extended tx statistics are from peer stats
feature.
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.h')
| -rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 0afca5c106b6..3a6191cff2f9 100644 --- a/drivers/net/wireless/ath/ath10k/debug.h +++ b/drivers/net/wireless/ath/ath10k/debug.h @@ -128,6 +128,10 @@ static inline u32 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) return ar->debug.fw_dbglog_level; } +static inline int ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) +{ + return ar->debug.enable_extd_tx_stats; +} #else static inline int ath10k_debug_start(struct ath10k *ar) @@ -190,6 +194,11 @@ static inline u32 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) return 0; } +static inline int ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) +{ + return 0; +} + #define ATH10K_DFS_STAT_INC(ar, c) do { } while (0) #define ath10k_debug_get_et_strings NULL |
