]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: Restore ANI registers to default during partial reset for AR9271
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 3 Sep 2010 10:30:00 +0000 (16:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Sep 2010 17:54:34 +0000 (13:54 -0400)
commitbdcca0ad56ca30c1ef71b8f2789b650a50dda1e8
tree93b56c34cd06a705254845601474eb0eb8e8daeb
parenta0c19d00f8625c54f5213162dc4d50fd99ef6d65
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>
drivers/net/wireless/ath/ath9k/ar9002_hw.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h