0001
0002
0003
0004
0005
0006 #ifndef _ATH11K_DEBUGFS_STA_H_
0007 #define _ATH11K_DEBUGFS_STA_H_
0008
0009 #include <net/mac80211.h>
0010
0011 #include "core.h"
0012 #include "hal_tx.h"
0013
0014 #ifdef CONFIG_ATH11K_DEBUGFS
0015
0016 void ath11k_debugfs_sta_op_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
0017 struct ieee80211_sta *sta, struct dentry *dir);
0018 void ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,
0019 struct ath11k_per_peer_tx_stats *peer_stats,
0020 u8 legacy_rate_idx);
0021 void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,
0022 struct hal_tx_status *ts);
0023
0024 #else
0025
0026 #define ath11k_debugfs_sta_op_add NULL
0027
0028 static inline void
0029 ath11k_debugfs_sta_add_tx_stats(struct ath11k_sta *arsta,
0030 struct ath11k_per_peer_tx_stats *peer_stats,
0031 u8 legacy_rate_idx)
0032 {
0033 }
0034
0035 static inline void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,
0036 struct hal_tx_status *ts)
0037 {
0038 }
0039
0040 #endif
0041
0042 #endif