ath9k_hw: Fix wrong peak detector DC offset
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 9 Nov 2012 09:21:30 +0000 (14:51 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:11:14 +0000 (14:11 -0500)
commit0b6eb3662210cd06127980d2d5a06d6e129f373e
tree4d2bc9f86fe83c8a2ca79d7207041fc66127755b
parentf95275c48b60fc486517f05da0800357dfd3ce2f
ath9k_hw: Fix wrong peak detector DC offset

An issue is reported in AR9462 & AR9565 that NF_cal_not_done is
not observed when HW peak detector calibration is disabled. At that
state, the HW is stuck at NF calibration which prevents tx output.
The root cause is wrong peak detector offset calibrated by HW. To
resolve this issue, peak detector calibration is done manually by SW
for AR9462 and AR9565.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c
drivers/net/wireless/ath/ath9k/ar9003_phy.h
drivers/net/wireless/ath/ath9k/ar9462_2p0_initvals.h