summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-11 22:39:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-11 22:39:12 +0000
commitd9d3dfe9837f9234cfe4eee98d2e3fa1d25074d1 (patch)
tree1e4f7494db9a85f1e16deb627fc4d39c86ad35b4 /package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch
parent51fa01f42c5424c24af3d3bb6a965a4dc9b3aacd (diff)
downloadmtk-20170518-d9d3dfe9837f9234cfe4eee98d2e3fa1d25074d1.zip
mtk-20170518-d9d3dfe9837f9234cfe4eee98d2e3fa1d25074d1.tar.gz
mtk-20170518-d9d3dfe9837f9234cfe4eee98d2e3fa1d25074d1.tar.bz2
mac80211: update to wireless-testing 2010-11-10 + some pending work
SVN-Revision: 23968
Diffstat (limited to 'package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch')
-rw-r--r--package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch b/package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch
deleted file mode 100644
index 6d0ecef..0000000
--- a/package/mac80211/patches/520-ath9k_ar9003_regulatory_power.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
-+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
-@@ -2133,6 +2133,7 @@ static void ath9k_hw_ar9300_set_txpower(
- u8 twiceMaxRegulatoryPower,
- u8 powerLimit)
- {
-+ struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
- struct ath_common *common = ath9k_hw_common(ah);
- u8 targetPowerValT2[ar9300RateSize];
- unsigned int i = 0;
-@@ -2180,6 +2181,7 @@ static void ath9k_hw_ar9300_set_txpower(
- i = ALL_TARGET_HT20_0_8_16; /* ht20 */
-
- ah->txpower_limit = targetPowerValT2[i];
-+ regulatory->max_power_level = ratesArray[i];
-
- ar9003_hw_calibration_apply(ah, chan->channel);
- }