aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/debug.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-20 04:43:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:49 -0500
commit9e7127908473bfb863c5064b0a61d0f0d6b1af46 (patch)
treeaa58b869ebf4e36764ae058d678b58dc3d8bb526 /drivers/net/wireless/ath9k/debug.h
parentd9ae96d94a9117fa8d80dd4881f5835f9112c449 (diff)
ath9k: Add PER to RC debug statistics
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath9k/debug.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath9k/debug.h b/drivers/net/wireless/ath9k/debug.h
index 61e969894c0a..01681f2d0549 100644
--- a/drivers/net/wireless/ath9k/debug.h
+++ b/drivers/net/wireless/ath9k/debug.h
@@ -91,12 +91,13 @@ struct ath_11n_rc_stats {
91 u32 success; 91 u32 success;
92 u32 retries; 92 u32 retries;
93 u32 xretries; 93 u32 xretries;
94 u8 per;
94}; 95};
95 96
96struct ath_stats { 97struct ath_stats {
97 struct ath_interrupt_stats istats; 98 struct ath_interrupt_stats istats;
98 struct ath_legacy_rc_stats legacy_rcstats[12]; /* max(11a,11b,11g) */ 99 struct ath_legacy_rc_stats legacy_rcstats[12]; /* max(11a,11b,11g) */
99 struct ath_11n_rc_stats n_rcstats[16]; /* 0..15 MCS rates */ 100 struct ath_11n_rc_stats n_rcstats[16]; /* 0..15 MCS rates */
100}; 101};
101 102
102struct ath9k_debug { 103struct ath9k_debug {
@@ -115,7 +116,7 @@ void ath9k_exit_debug(struct ath_softc *sc);
115void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); 116void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
116void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb); 117void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb);
117void ath_debug_stat_retries(struct ath_softc *sc, int rix, 118void ath_debug_stat_retries(struct ath_softc *sc, int rix,
118 int xretries, int retries); 119 int xretries, int retries, u8 per);
119 120
120#else 121#else
121 122
@@ -144,7 +145,7 @@ static inline void ath_debug_stat_rc(struct ath_softc *sc,
144} 145}
145 146
146static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix, 147static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix,
147 int xretries, int retries) 148 int xretries, int retries, u8 per)
148{ 149{
149} 150}
150 151