From: Felix Fietkau Date: Mon, 10 Dec 2012 13:03:17 +0000 (+0100) Subject: ath9k_hw: Fix signal strength / channel noise reporting X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c0c238898d200e80487516e2b67aba2a522cc0;p=pandora-kernel.git ath9k_hw: Fix signal strength / channel noise reporting 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 Cc: stable@vger.kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed