summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_calib.c
diff options
context:
space:
mode:
authorRajkumar Manoharan2011-09-15 15:32:53 +0200
committerJohn W. Linville2011-09-19 21:58:25 +0200
commit05bfe3d2a5794cc9e9b8119f36d1d7848ecd8967 (patch)
treee2886e56332ce71f12d7837b40ce664226938ac6 /drivers/net/wireless/ath/ath9k/ar9003_calib.c
parentath9k_hw: Fix magnitude/phase coeff correction (diff)
downloadkernel-qcow2-linux-05bfe3d2a5794cc9e9b8119f36d1d7848ecd8967.tar.gz
kernel-qcow2-linux-05bfe3d2a5794cc9e9b8119f36d1d7848ecd8967.tar.xz
kernel-qcow2-linux-05bfe3d2a5794cc9e9b8119f36d1d7848ecd8967.zip
ath9k: load noise floor from history after the full chip reset
Currently during the full reset, the nf calibration is always restarted from the defaults. The noise floor history buffers are never be used again after the scan and ath reset. This patch ensures that nf histories are always be used that helps to improve the signal quality on congested environment Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_calib.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_calib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_calib.c b/drivers/net/wireless/ath/ath9k/ar9003_calib.c
index 695d9d38d482..e4b1a8300854 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_calib.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_calib.c
@@ -885,6 +885,7 @@ static bool ar9003_hw_init_cal(struct ath_hw *ah,
if (txiqcal_done)
ar9003_hw_tx_iq_cal_post_proc(ah);
+ ath9k_hw_loadnf(ah, chan);
ath9k_hw_start_nfcal(ah, true);
/* Initialize list pointers */