aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.h b/drivers/net/wireless/ath/ath9k/debug.h
index 822b6f3f23c5..bb0823242ba0 100644
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -80,13 +80,6 @@ struct ath_interrupt_stats {
80 u32 bb_watchdog; 80 u32 bb_watchdog;
81}; 81};
82 82
83struct ath_rc_stats {
84 u32 success;
85 u32 retries;
86 u32 xretries;
87 u8 per;
88};
89
90/** 83/**
91 * struct ath_tx_stats - Statistics about TX 84 * struct ath_tx_stats - Statistics about TX
92 * @tx_pkts_all: No. of total frames transmitted, including ones that 85 * @tx_pkts_all: No. of total frames transmitted, including ones that
@@ -160,7 +153,6 @@ struct ath_rx_stats {
160 153
161struct ath_stats { 154struct ath_stats {
162 struct ath_interrupt_stats istats; 155 struct ath_interrupt_stats istats;
163 struct ath_rc_stats rcstats[RATE_TABLE_SIZE];
164 struct ath_tx_stats txstats[ATH9K_NUM_TX_QUEUES]; 156 struct ath_tx_stats txstats[ATH9K_NUM_TX_QUEUES];
165 struct ath_rx_stats rxstats; 157 struct ath_rx_stats rxstats;
166}; 158};
@@ -177,12 +169,9 @@ void ath9k_exit_debug(struct ath_hw *ah);
177int ath9k_debug_create_root(void); 169int ath9k_debug_create_root(void);
178void ath9k_debug_remove_root(void); 170void ath9k_debug_remove_root(void);
179void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); 171void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
180void ath_debug_stat_rc(struct ath_softc *sc, int final_rate);
181void ath_debug_stat_tx(struct ath_softc *sc, struct ath_txq *txq, 172void ath_debug_stat_tx(struct ath_softc *sc, struct ath_txq *txq,
182 struct ath_buf *bf, struct ath_tx_status *ts); 173 struct ath_buf *bf, struct ath_tx_status *ts);
183void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs); 174void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs);
184void ath_debug_stat_retries(struct ath_softc *sc, int rix,
185 int xretries, int retries, u8 per);
186 175
187#else 176#else
188 177
@@ -209,11 +198,6 @@ static inline void ath_debug_stat_interrupt(struct ath_softc *sc,
209{ 198{
210} 199}
211 200
212static inline void ath_debug_stat_rc(struct ath_softc *sc,
213 int final_rate)
214{
215}
216
217static inline void ath_debug_stat_tx(struct ath_softc *sc, 201static inline void ath_debug_stat_tx(struct ath_softc *sc,
218 struct ath_txq *txq, 202 struct ath_txq *txq,
219 struct ath_buf *bf, 203 struct ath_buf *bf,
@@ -226,11 +210,6 @@ static inline void ath_debug_stat_rx(struct ath_softc *sc,
226{ 210{
227} 211}
228 212
229static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix,
230 int xretries, int retries, u8 per)
231{
232}
233
234#endif /* CONFIG_ATH9K_DEBUGFS */ 213#endif /* CONFIG_ATH9K_DEBUGFS */
235 214
236#endif /* DEBUG_H */ 215#endif /* DEBUG_H */