diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-04 08:10:26 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-11 11:44:22 -0500 |
commit | 029bc43270e770e0d57d67dc431fe711c58e74f5 (patch) | |
tree | c9f2247642743c97ef803c4fdefde8b7e2746af4 /drivers/net/wireless/ath9k/core.h | |
parent | d42c6b71a8e722e00a302e7e3365909560de478a (diff) | |
download | linux-stable-029bc43270e770e0d57d67dc431fe711c58e74f5.tar.gz linux-stable-029bc43270e770e0d57d67dc431fe711c58e74f5.tar.bz2 linux-stable-029bc43270e770e0d57d67dc431fe711c58e74f5.zip |
ath9k: Add retry counters to rate control debug file
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r-- | drivers/net/wireless/ath9k/core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h index 63d3eb6cda88..64fc5c269f22 100644 --- a/drivers/net/wireless/ath9k/core.h +++ b/drivers/net/wireless/ath9k/core.h @@ -137,6 +137,8 @@ struct ath_legacy_rc_stats { struct ath_11n_rc_stats { u32 success; + u32 retries; + u32 xretries; }; struct ath_stats { @@ -160,6 +162,8 @@ int ath9k_init_debug(struct ath_softc *sc); void ath9k_exit_debug(struct ath_softc *sc); void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); void ath_debug_stat_rc(struct ath_softc *sc, struct sk_buff *skb); +void ath_debug_stat_retries(struct ath_softc *sc, int rix, + int xretries, int retries); #else @@ -187,6 +191,11 @@ static inline void ath_debug_stat_rc(struct ath_softc *sc, { } +static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix, + int xretries, int retries) +{ +} + #endif /* CONFIG_ATH9K_DEBUG */ struct ath_config { |