]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: Modify IQ calibration for AR955x
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 7 Feb 2014 04:59:53 +0000 (10:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:36:07 +0000 (15:36 -0500)
commit97fe6420c9a362ac9d0749db44b7b6629583813b
treeb7fd07af7b1436ace4046baece39f277ba7b1987
parentadddc0d20bf4476380da94bfda8c591c49bb6cde
ath9k: Modify IQ calibration for AR955x

IQ calibration post-processing for AR955x is different
from other chips - instead of just doing it as part
of AGC calibration once, it is triggered 3 times and
a median is determined. This patch adds initial support
for changing the calibration behavior for AR955x.

Also, to simplify things, a helper routine to issue/poll
AGC calibration is used.

For non-AR955x chips, the iqcal_idx (which will be used
in subsequent patches) is set to zero.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_calib.c