aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/ani.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-09 02:59:49 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:44:56 -0500
commitee6e8d1c234e62e503f2dd8137643b24cf424886 (patch)
treeb1de72315221dbae01bbfdcb832f42b192040673 /drivers/net/wireless/ath9k/ani.h
parent394cf0a1ca02e7998c8d01975b60a3cdc121e7d8 (diff)
ath9k: Convert ANI channel to a pointer
This patch converts the ANI channel reference to a pointer, this facilitates moving struct ar5416AniState to ani.h Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ani.h')
-rw-r--r--drivers/net/wireless/ath9k/ani.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/ani.h b/drivers/net/wireless/ath9k/ani.h
index cfb7fbc8f134..78880e591052 100644
--- a/drivers/net/wireless/ath9k/ani.h
+++ b/drivers/net/wireless/ath9k/ani.h
@@ -72,6 +72,33 @@ struct ath9k_node_stats {
72 u32 ns_avgtxrate; 72 u32 ns_avgtxrate;
73}; 73};
74 74
75struct ar5416AniState {
76 struct ath9k_channel *c;
77 u8 noiseImmunityLevel;
78 u8 spurImmunityLevel;
79 u8 firstepLevel;
80 u8 ofdmWeakSigDetectOff;
81 u8 cckWeakSigThreshold;
82 u32 listenTime;
83 u32 ofdmTrigHigh;
84 u32 ofdmTrigLow;
85 int32_t cckTrigHigh;
86 int32_t cckTrigLow;
87 int32_t rssiThrLow;
88 int32_t rssiThrHigh;
89 u32 noiseFloor;
90 u32 txFrameCount;
91 u32 rxFrameCount;
92 u32 cycleCount;
93 u32 ofdmPhyErrCount;
94 u32 cckPhyErrCount;
95 u32 ofdmPhyErrBase;
96 u32 cckPhyErrBase;
97 int16_t pktRssi[2];
98 int16_t ofdmErrRssi[2];
99 int16_t cckErrRssi[2];
100};
101
75struct ar5416Stats { 102struct ar5416Stats {
76 u32 ast_ani_niup; 103 u32 ast_ani_niup;
77 u32 ast_ani_nidown; 104 u32 ast_ani_nidown;