projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb8832
)
ath5k: Use turbo flag on DCU
author
Nick Kossifidis
<mickflemm@gmail.com>
Tue, 23 Nov 2010 19:21:50 +0000
(21:21 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 30 Nov 2010 18:53:22 +0000
(13:53 -0500)
* Set AR5K_DCU_GBL_IFS_MISC_TURBO_MODE flag on DCU when operating
on 40MHz
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/qcu.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/qcu.c
b/drivers/net/wireless/ath/ath5k/qcu.c
index e13142a3b957f76ef085950e6fbe346f216e7b38..69bff047a49a73dba066e7a712ce36e4aaed93f3 100644
(file)
--- a/
drivers/net/wireless/ath/ath5k/qcu.c
+++ b/
drivers/net/wireless/ath/ath5k/qcu.c
@@
-647,5
+647,10
@@
int ath5k_hw_init_queues(struct ath5k_hw *ah)
* on ath5k_hw_set_ifs_intervals */
ath5k_hw_set_tx_retry_limits(ah, 0);
+ /* Set the turbo flag when operating on 40MHz */
+ if (ah->ah_bwmode == AR5K_BWMODE_40MHZ)
+ AR5K_REG_ENABLE_BITS(ah, AR5K_DCU_GBL_IFS_MISC,
+ AR5K_DCU_GBL_IFS_MISC_TURBO_MODE);
+
return 0;
}