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/hw.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/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index a22ed766b6ae..b12634262d97 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -647,7 +647,7 @@ bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); | |||
647 | u32 ath9k_hw_reverse_bits(u32 val, u32 n); | 647 | u32 ath9k_hw_reverse_bits(u32 val, u32 n); |
648 | bool ath9k_get_channel_edges(struct ath_hw *ah, u16 flags, u16 *low, u16 *high); | 648 | bool ath9k_get_channel_edges(struct ath_hw *ah, u16 flags, u16 *low, u16 *high); |
649 | u16 ath9k_hw_computetxtime(struct ath_hw *ah, | 649 | u16 ath9k_hw_computetxtime(struct ath_hw *ah, |
650 | const struct ath_rate_table *rates, | 650 | u8 phy, int kbps, |
651 | u32 frameLen, u16 rateix, bool shortPreamble); | 651 | u32 frameLen, u16 rateix, bool shortPreamble); |
652 | void ath9k_hw_get_channel_centers(struct ath_hw *ah, | 652 | void ath9k_hw_get_channel_centers(struct ath_hw *ah, |
653 | struct ath9k_channel *chan, | 653 | struct ath9k_channel *chan, |