aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:39:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:47 -0400
commit3deb4da554c3ad9b059f51d19eebadf8525da4a4 (patch)
tree7047e9f88da33119edfacbcc7d0f482722dfaff0 /drivers
parent79de23751a79a1270e45559296256ecb3dd35e12 (diff)
ath9k_hw: set cwmin and cwmax to 0 for for AR9003 upon txq reset
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/mac.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c
index 44ea43a143d8..c003baf2e937 100644
--- a/drivers/net/wireless/ath/ath9k/mac.c
+++ b/drivers/net/wireless/ath/ath9k/mac.c
@@ -533,6 +533,12 @@ bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q)
533 AR_D_MISC_ARB_LOCKOUT_CNTRL_S) 533 AR_D_MISC_ARB_LOCKOUT_CNTRL_S)
534 | AR_D_MISC_BEACON_USE 534 | AR_D_MISC_BEACON_USE
535 | AR_D_MISC_POST_FR_BKOFF_DIS); 535 | AR_D_MISC_POST_FR_BKOFF_DIS);
536 /* cwmin and cwmax should be 0 for beacon queue */
537 if (AR_SREV_9300_20_OR_LATER(ah)) {
538 REG_WRITE(ah, AR_DLCL_IFS(q), SM(0, AR_D_LCL_IFS_CWMIN)
539 | SM(0, AR_D_LCL_IFS_CWMAX)
540 | SM(qi->tqi_aifs, AR_D_LCL_IFS_AIFS));
541 }
536 break; 542 break;
537 case ATH9K_TX_QUEUE_CAB: 543 case ATH9K_TX_QUEUE_CAB:
538 REG_WRITE(ah, AR_QMISC(q), REG_READ(ah, AR_QMISC(q)) 544 REG_WRITE(ah, AR_QMISC(q), REG_READ(ah, AR_QMISC(q))