ath9k: fix max noise floor threshold
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 15 Mar 2012 00:38:04 +0000 (06:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:23 +0000 (15:07 -0400)
commit2ee0a07028d2cde6e131b73f029dae2b93c50f3a
treeb1b835d998b084db68c749fa914622d7e8d4c4ab
parent883a649b737cdbe3ede7e50f3f939fd706ed5c4e
ath9k: fix max noise floor threshold

Currently the maximum noise floor limit is set as too high (-60dB). The
assumption of having a higher threshold limit is that it would help
de-sensitize the receiver (reduce phy errors) from continuous
interference. But when we have a bursty interference where there are
collisions and then free air time and if the receiver is desensitized too
much, it will miss the normal packets too. Lets make use of chips
specific min, nom and max limits always. This patch helps to improve the
connection stability in congested networks.

Cc: stable@vger.kernel.org
Cc: Paul Stewart <pstew@google.com>
Tested-by: Gary Morain <gmorain@google.com>
Signed-off-by: Madhan Jaganathan <madhanj@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/calib.c