aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.c
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2010-11-23 14:12:23 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-30 13:53:21 -0500
commit61cde037234c4b8e6497a23f5f236c64cbf9d41d (patch)
treeca988a018dc9d9e4f433f273d48d4ebe517eeec0 /drivers/net/wireless/ath/ath5k/base.c
parent3017fcab416d8d1ee48ca16aa9a3062f600dab8e (diff)
ath5k: Extend rate_duration
* Extend ieee80211_generic_frame_duration to support the various bwmodes. * Better document what's going on with ack bitrates and update write_rate_duration to support the standard ack bitrates (when we don't set the high bit). * Get rid of set_ack_bitrate_high and introduce a flag on ath5k_hw for this (we only called the function on init anyway so there is no difference). Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 9af7e461a236..526d8bc412c0 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2420,7 +2420,9 @@ ath5k_init(struct ath5k_softc *sc)
2420 for (i = 0; i < common->keymax; i++) 2420 for (i = 0; i < common->keymax; i++)
2421 ath_hw_keyreset(common, (u16) i); 2421 ath_hw_keyreset(common, (u16) i);
2422 2422
2423 ath5k_hw_set_ack_bitrate_high(ah, true); 2423 /* Use higher rates for acks instead of base
2424 * rate */
2425 ah->ah_ack_bitrate_high = true;
2424 2426
2425 for (i = 0; i < ARRAY_SIZE(sc->bslot); i++) 2427 for (i = 0; i < ARRAY_SIZE(sc->bslot); i++)
2426 sc->bslot[i] = NULL; 2428 sc->bslot[i] = NULL;