diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-11 10:38:01 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-15 14:15:31 +0200 |
commit | 9edb651094c3ad686ca968cc2c936f7ae6f3429b (patch) | |
tree | f7e1deb0f46629e78d08e075bc12a1ebafd286a0 /package/kernel/mac80211 | |
parent | f021ea47d322eec759d2f0ee5c15e289939819fd (diff) | |
download | upstream-9edb651094c3ad686ca968cc2c936f7ae6f3429b.tar.gz upstream-9edb651094c3ad686ca968cc2c936f7ae6f3429b.tar.bz2 upstream-9edb651094c3ad686ca968cc2c936f7ae6f3429b.zip |
ath9k: merge a fix for the minimum CCA threshold on 5 GHz
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/patches/323-ath9k-Fix-programming-of-minCCA-power-threshold.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/323-ath9k-Fix-programming-of-minCCA-power-threshold.patch b/package/kernel/mac80211/patches/323-ath9k-Fix-programming-of-minCCA-power-threshold.patch new file mode 100644 index 0000000000..59ac29b1cf --- /dev/null +++ b/package/kernel/mac80211/patches/323-ath9k-Fix-programming-of-minCCA-power-threshold.patch @@ -0,0 +1,26 @@ +From: Sven Eckelmann <sven@narfation.org> +Date: Fri, 17 Jun 2016 11:58:20 +0200 +Subject: [PATCH] ath9k: Fix programming of minCCA power threshold + +The function ar9003_hw_apply_minccapwr_thresh takes as second parameter not +a pointer to the channel but a boolean value describing whether the channel +is 2.4GHz or not. This broke (according to the origin commit) the ETSI +regulatory compliance on 5GHz channels. + +Fixes: 3533bf6b15a0 ("ath9k: Fix regulatory compliance") +Signed-off-by: Sven Eckelmann <sven@narfation.org> +Cc: Simon Wunderlich <sw@simonwunderlich.de> +Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com> +--- + +--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c ++++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +@@ -4175,7 +4175,7 @@ static void ath9k_hw_ar9300_set_board_va + if (!AR_SREV_9330(ah) && !AR_SREV_9340(ah) && !AR_SREV_9531(ah)) + ar9003_hw_internal_regulator_apply(ah); + ar9003_hw_apply_tuning_caps(ah); +- ar9003_hw_apply_minccapwr_thresh(ah, chan); ++ ar9003_hw_apply_minccapwr_thresh(ah, is2ghz); + ar9003_hw_txend_to_xpa_off_apply(ah, is2ghz); + ar9003_hw_thermometer_apply(ah); + ar9003_hw_thermo_cal_apply(ah); |