summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-10 14:03:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 08:50:43 -0800
commit5004c75870b05d2ffd5974d1fd681a5a1b0d9f4c (patch)
treeb7051566a9a133010ad1adb0221bd32cf5cc750a /init
parent324b9bebea9e335c8588bf5eefdcca7d932508e6 (diff)
ath9k_hw: Fix signal strength / channel noise reporting
commit b7c0c238898d200e80487516e2b67aba2a522cc0 upstream. While AR_PHY_CCA_NOM_VAL_* does contain the expected internal noise floor for a chip measured in clean air, it refers to the lowest expected reading. Depending on the frequency, this measurement can vary by about 6db, thus causing a higher reported channel noise and signal strength. Factor in the 6db offset when converting internal noisefloor to channel noise. This patch makes the reported values more accurate for all chips without affecting NF calibration behavior. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions