aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h
index 7e1a88a5abdb..ca525842d827 100644
--- a/drivers/net/wireless/ath/ath5k/base.h
+++ b/drivers/net/wireless/ath/ath5k/base.h
@@ -105,6 +105,12 @@ struct ath5k_rfkill {
105 struct tasklet_struct toggleq; 105 struct tasklet_struct toggleq;
106}; 106};
107 107
108/* statistics (only used for debugging now) */
109struct ath5k_statistics {
110 unsigned int antenna_rx[5]; /* frames count per antenna RX */
111 unsigned int antenna_tx[5]; /* frames count per antenna TX */
112};
113
108#if CHAN_DEBUG 114#if CHAN_DEBUG
109#define ATH_CHAN_MAX (26+26+26+200+200) 115#define ATH_CHAN_MAX (26+26+26+200+200)
110#else 116#else
@@ -191,6 +197,8 @@ struct ath5k_softc {
191 int power_level; /* Requested tx power in dbm */ 197 int power_level; /* Requested tx power in dbm */
192 bool assoc; /* associate state */ 198 bool assoc; /* associate state */
193 bool enable_beacon; /* true if beacons are on */ 199 bool enable_beacon; /* true if beacons are on */
200
201 struct ath5k_statistics stats;
194}; 202};
195 203
196#define ath5k_hw_hasbssidmask(_ah) \ 204#define ath5k_hw_hasbssidmask(_ah) \