aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/rc.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-11-17 22:37:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-26 09:47:30 -0500
commite63835b0f4d8545942fd41b3ca32bbf71bd73e4b (patch)
tree38eab8819cf8d3cc7aa98ee2cfb4e7df7e8eca3b /drivers/net/wireless/ath9k/rc.h
parenta8efee4f4740c61fccaf73608df282c4ee24ae86 (diff)
ath9k: Remove ath9k_rate_table
Maintaining two sets of rate tables is redundant, remove one and use struct ath_rate_table exclusively. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.h')
-rw-r--r--drivers/net/wireless/ath9k/rc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/rc.h b/drivers/net/wireless/ath9k/rc.h
index 3324bed3f0ac..c1e370c7c681 100644
--- a/drivers/net/wireless/ath9k/rc.h
+++ b/drivers/net/wireless/ath9k/rc.h
@@ -143,6 +143,7 @@ enum {
143 */ 143 */
144struct ath_rate_table { 144struct ath_rate_table {
145 int rate_cnt; 145 int rate_cnt;
146 u8 rateCodeToIndex[256];
146 struct { 147 struct {
147 int valid; 148 int valid;
148 int valid_single_stream; 149 int valid_single_stream;
@@ -160,6 +161,8 @@ struct ath_rate_table {
160 u8 sgi_index; 161 u8 sgi_index;
161 u8 ht_index; 162 u8 ht_index;
162 u32 max_4ms_framelen; 163 u32 max_4ms_framelen;
164 u16 lpAckDuration;
165 u16 spAckDuration;
163 } info[RATE_TABLE_SIZE]; 166 } info[RATE_TABLE_SIZE];
164 u32 probe_interval; 167 u32 probe_interval;
165 u32 rssi_reduce_interval; 168 u32 rssi_reduce_interval;