diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-23 16:21:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:24 -0500 |
commit | 545750d36fa78203e28acefb4bab61ebb7c4d197 (patch) | |
tree | c9810428acf0bd673c6cd9ed74e6eb273c923842 /drivers/net/wireless/ath/ath9k/rc.h | |
parent | 04658fba2314d6d70d5fa05c0b5995e6428aacc3 (diff) |
ath9k: properly use the mac80211 rate control api
This patch changes ath9k to pass proper MCS indexes and flags
between the RC and the rest of the driver code.
sc->cur_rate_table remains, as it's used by the RC code internally,
but the rest of the driver code no longer uses it, so a potential
new RC for ath9k would not have to update it.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.h b/drivers/net/wireless/ath/ath9k/rc.h index 51f85ecbe88..d68bc946bb3 100644 --- a/drivers/net/wireless/ath/ath9k/rc.h +++ b/drivers/net/wireless/ath/ath9k/rc.h | |||
@@ -104,6 +104,7 @@ enum { | |||
104 | */ | 104 | */ |
105 | struct ath_rate_table { | 105 | struct ath_rate_table { |
106 | int rate_cnt; | 106 | int rate_cnt; |
107 | int mcs_start; | ||
107 | struct { | 108 | struct { |
108 | int valid; | 109 | int valid; |
109 | int valid_single_stream; | 110 | int valid_single_stream; |
@@ -179,8 +180,6 @@ enum ath9k_internal_frame_type { | |||
179 | ATH9K_INT_UNPAUSE | 180 | ATH9K_INT_UNPAUSE |
180 | }; | 181 | }; |
181 | 182 | ||
182 | void ath_rate_attach(struct ath_softc *sc); | ||
183 | u8 ath_rate_findrateix(struct ath_softc *sc, u8 dot11_rate); | ||
184 | int ath_rate_control_register(void); | 183 | int ath_rate_control_register(void); |
185 | void ath_rate_control_unregister(void); | 184 | void ath_rate_control_unregister(void); |
186 | 185 | ||