]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: Fix magnitude/phase coeff correction
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 15 Sep 2011 13:32:25 +0000 (19:02 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Sep 2011 19:58:25 +0000 (15:58 -0400)
commit1a583b8362e9086c74a955384fc7183b5c8b029a
tree1ce8688210d2bc7c6e62b17e0ac40fc9c8066e91
parent818d26cfb736e5d116789402352c16ac1b0d2763
ath9k_hw: Fix magnitude/phase coeff correction

Do the magnitude/phase coeff correction only if the outlier
is detected. Updating wrong magnitude/phase coeff factor
impacts not only tx gain setting but also leads to poor
performance in congested networks. In the clear environment
the impact is very minimal because the outlier happens
very rarely according to the past experiment. It occured
less than once every 1000 calibrations.

Cc: stable@kernel.org
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