]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: clean up and fix initial noise floor calibration
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jul 2010 19:02:09 +0000 (21:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:27:36 +0000 (15:27 -0400)
commitc35441b83a8088edf648a933888e1672dcc2ba51
treeddf43562d2f1a26237c32764c46630a07c7d9dd5
parent77c821e5902adaf4a5e12a34df448b096dc5758b
ath9k_hw: clean up and fix initial noise floor calibration

On AR9003 the initial noise floor calibration is currently triggered
at the end of the reset without allowing the hardware to update the
baseband settings. This could potentially make scans in noisy
environments a bit more unreliable, so use the same calibration
sequence that is used on AR9002.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_calib.c
drivers/net/wireless/ath/ath9k/ar9003_calib.c
drivers/net/wireless/ath/ath9k/calib.c
drivers/net/wireless/ath/ath9k/calib.h
drivers/net/wireless/ath/ath9k/hw.c