projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79de237
)
ath9k_hw: set cwmin and cwmax to 0 for for AR9003 upon txq reset
author
Luis R. Rodriguez
<
[email protected]
>
Thu, 15 Apr 2010 21:39:32 +0000
(17:39 -0400)
committer
John W. Linville
<
[email protected]
>
Fri, 16 Apr 2010 19:43:47 +0000
(15:43 -0400)
Signed-off-by: Luis R. Rodriguez <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/mac.c
b/drivers/net/wireless/ath/ath9k/mac.c
index 44ea43a143d8abf8f3b5aceb047718cbe3e75423..c003baf2e937bafa8659ba38295ea51de5bf2167 100644
(file)
--- 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)
AR_D_MISC_ARB_LOCKOUT_CNTRL_S)
| AR_D_MISC_BEACON_USE
| AR_D_MISC_POST_FR_BKOFF_DIS);
+ /* cwmin and cwmax should be 0 for beacon queue */
+ if (AR_SREV_9300_20_OR_LATER(ah)) {
+ REG_WRITE(ah, AR_DLCL_IFS(q), SM(0, AR_D_LCL_IFS_CWMIN)
+ | SM(0, AR_D_LCL_IFS_CWMAX)
+ | SM(qi->tqi_aifs, AR_D_LCL_IFS_AIFS));
+ }
break;
case ATH9K_TX_QUEUE_CAB:
REG_WRITE(ah, AR_QMISC(q), REG_READ(ah, AR_QMISC(q))