]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: do noise floor calibration only on required chains
authorRajkumar Manoharan <rmanoharan@atheros.com>
Wed, 4 May 2011 14:07:17 +0000 (19:37 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 May 2011 18:59:20 +0000 (14:59 -0400)
commit28ef6450f0182f95c4f50aaa0ab2043a09c72b0a
tree0696797b7d38136c0dacc9544fbf354a9432a5be
parenteecc48000afe2ca6da22122d553b7cad294e42fc
ath9k_hw: do noise floor calibration only on required chains

At present the noise floor calibration is processed in supported
control and extension chains rather than required chains.
Unnccesarily doing nfcal in all supported chains leads to
invalid nf readings on extn chains and these invalid values
got updated into history buffer. While loading those values
from history buffer is moving the chip to deaf state.

This issue was observed in AR9002/AR9003 chips while doing
associate/dissociate in HT40 mode and interface up/down
in iterative manner. After some iterations, the chip was moved
to deaf state. Somehow the pci devices are recovered by poll work
after chip reset. Raading the nf values in all supported extension chains
when the hw is not yet configured in HT40 mode results invalid values.

Cc: stable@kernel.org
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/calib.c