diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2010-09-03 10:30:00 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-07 17:54:34 (GMT) |
commit | c2ba33424600e742f4d44ba2237024e6322a00fa (patch) | |
tree | 93b56c34cd06a705254845601474eb0eb8e8daeb /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 7cf1f2dd7de98e9a18536ab885d28ecb57e76cb1 (diff) | |
download | linux-fsl-qoriq-c2ba33424600e742f4d44ba2237024e6322a00fa.tar.xz |
ath9k_hw: Restore ANI registers to default during partial reset for AR9271
For AR9271 chips, if partial reset is done while scanning, the cycpwrThr1
will be set to maximum. This causes the degrade in DL throughput.
So restore the ANI registers to default during the partial reset.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 197c717..1724b17 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -996,6 +996,7 @@ void ar9003_hw_attach_calib_ops(struct ath_hw *ah); void ar9002_hw_attach_ops(struct ath_hw *ah); void ar9003_hw_attach_ops(struct ath_hw *ah); +void ar9002_hw_load_ani_reg(struct ath_hw *ah, struct ath9k_channel *chan); /* * ANI work can be shared between all families but a next * generation implementation of ANI will be used only for AR9003 only |