aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-04-15 17:39:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:41 -0400
commit7f62a136910f70d9b412f48f764321ff20ce6f38 (patch)
treefd8ea5c616cdcc2e3028f3df8c14a87626236da6 /drivers
parentebd5a14a450e31611696dfe96781a3b8915d835c (diff)
ath9k_hw: Configure Tx interrupt mitigation timer
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 70162db1323..d1e68c255de 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1286,6 +1286,11 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
1286 REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 2000); 1286 REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 2000);
1287 } 1287 }
1288 1288
1289 if (ah->config.tx_intr_mitigation) {
1290 REG_RMW_FIELD(ah, AR_TIMT, AR_TIMT_LAST, 300);
1291 REG_RMW_FIELD(ah, AR_TIMT, AR_TIMT_FIRST, 750);
1292 }
1293
1289 ath9k_hw_init_bb(ah, chan); 1294 ath9k_hw_init_bb(ah, chan);
1290 1295
1291 if (!ath9k_hw_init_cal(ah, chan)) 1296 if (!ath9k_hw_init_cal(ah, chan))