aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-04-12 03:38:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-14 14:52:41 -0400
commit0edc9a6709d8e7d4f26c7f2a4b5ebdb641f8dfa0 (patch)
tree4734a45d2c748652087250596d048828c02b8f60 /drivers/net/wireless/ath/ath5k/base.c
parentcc78e904bd960196233e2cd6a49068bba8787527 (diff)
ath5k: Use high bitrates for ACK/CTS
There was a confusion in the usage of the bits AR5K_STA_ID1_ACKCTS_6MB and AR5K_STA_ID1_BASE_RATE_11B. If they are set (1), we will get lower bitrates for ACK and CTS. Therefore ath5k_hw_set_ack_bitrate_high(ah, false) actually resulted in high bitrates, which i think is what we want anyways. Cleared the confusion and added some documentation. Signed-off-by: Bruno Randolf <br1@einfach.org> 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index f7f57c1cca7d..3f59bc2d7912 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -2558,8 +2558,7 @@ ath5k_init(struct ath5k_softc *sc)
2558 for (i = 0; i < AR5K_KEYTABLE_SIZE; i++) 2558 for (i = 0; i < AR5K_KEYTABLE_SIZE; i++)
2559 ath5k_hw_reset_key(ah, i); 2559 ath5k_hw_reset_key(ah, i);
2560 2560
2561 /* Set ack to be sent at low bit-rates */ 2561 ath5k_hw_set_ack_bitrate_high(ah, true);
2562 ath5k_hw_set_ack_bitrate_high(ah, false);
2563 ret = 0; 2562 ret = 0;
2564done: 2563done:
2565 mmiowb(); 2564 mmiowb();