]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ath9k_hw: Fix incorrect spur_freq_sd for AR9003"
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 1 May 2012 03:42:24 +0000 (09:12 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 May 2012 18:02:03 +0000 (14:02 -0400)
commit7e8a7707e341d137139dac101efc80c5c77d6777
treeea37dc37dd2aa34067a5635fe04ceb8a15a0df66
parent875e1a85f4fac6591b2f3d8ca2b892dc0811229e
Revert "ath9k_hw: Fix incorrect spur_freq_sd for AR9003"

This reverts commit cb0b1d4a86882e599ae2fa18b2f8b43aed4a4563.
The commit cb0b1d4a is degrading rx sensitivity of lower rate in
HT40 mode and it is confirmed that reverting the change is
improving rx sensitivity.

spur_freq_sd (for self-corr in AGC) is defined with respect to the
center of each 20MHz channel while spur_phase_delta (for self-corr
in Rx and spur data filter) is defined with respect to the center
of current RF channel.

So in short, we need to subtract spur_freq_sd (for self-corr in AGC)
by the offset between the center of primary20 and the center of RF
channel in SW. This offset could be +/10 MHz for dynamic 40.

Cc: Madhan Jaganathan <madhanj@qca.qualcomm.com>
Signed-off-by: Kai Shi <kaishi@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c