Signed-off-by: Bala Shanmugam <bkamatch@xxxxxxxxxxxxxxxx> --- ...x-signal-strength-noise-measurements-on-a.patch | 28 ++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 linux-next-pending/0001-ath9k_hw-fix-signal-strength-noise-measurements-on-a.patch diff --git a/linux-next-pending/0001-ath9k_hw-fix-signal-strength-noise-measurements-on-a.patch b/linux-next-pending/0001-ath9k_hw-fix-signal-strength-noise-measurements-on-a.patch new file mode 100644 index 0000000..727c904 --- /dev/null +++ b/linux-next-pending/0001-ath9k_hw-fix-signal-strength-noise-measurements-on-a.patch @@ -0,0 +1,28 @@ +From f91a5adf7e8d778f8f006934400249ec9c84717c Mon Sep 17 00:00:00 2001 +From: Felix Fietkau <nbd@xxxxxxxxxxx> +Date: Fri, 2 Nov 2012 16:23:47 +0530 +Subject: [PATCH] ath9k_hw: fix signal strength / noise measurements on ar9462 + +The nominal noise floor for most channels is -120, though on some it can +reach -127. Use -120 for converting noise floor to channel noise to +avoid overestimating rx signal strength and channel noise. + +Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> +--- + drivers/net/wireless/ath/ath9k/ar9003_phy.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.h ++++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.h +@@ -332,9 +332,9 @@ + #define AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ -95 + #define AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ -100 + +-#define AR_PHY_CCA_NOM_VAL_9462_2GHZ -127 ++#define AR_PHY_CCA_NOM_VAL_9462_2GHZ -120 + #define AR_PHY_CCA_MIN_GOOD_VAL_9462_2GHZ -127 +-#define AR_PHY_CCA_NOM_VAL_9462_5GHZ -127 ++#define AR_PHY_CCA_NOM_VAL_9462_5GHZ -120 + #define AR_PHY_CCA_MIN_GOOD_VAL_9462_5GHZ -127 + + #define AR_PHY_CCA_NOM_VAL_9330_2GHZ -118 -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html