ath9k: add fixes for rx processing and baseband hang detection
[openwrt.git] / package / kernel / mac80211 / patches / 523-ath9k_use_configured_antenna_gain.patch
index f960519..674c597 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath.h
 +++ b/drivers/net/wireless/ath/ath.h
-@@ -73,6 +73,7 @@ struct ath_regulatory {
+@@ -74,6 +74,7 @@ struct ath_regulatory {
        u16 max_power_level;
        u16 current_rd;
        int16_t power_limit;
@@ -10,7 +10,7 @@
  
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -2809,7 +2809,7 @@ void ath9k_hw_apply_txpower(struct ath_h
+@@ -2722,7 +2722,7 @@ void ath9k_hw_apply_txpower(struct ath_h
        channel = chan->chan;
        chan_pwr = min_t(int, channel->max_power * 2, MAX_RATE_POWER);
        new_pwr = min_t(int, chan_pwr, reg->power_limit);
@@ -21,7 +21,7 @@
        if (ant_gain > max_gain)
 --- a/drivers/net/wireless/ath/ath9k/main.c
 +++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1347,7 +1347,10 @@ static int ath9k_config(struct ieee80211
+@@ -1371,7 +1371,10 @@ static int ath9k_config(struct ieee80211
        }
  
        if (changed & IEEE80211_CONF_CHANGE_POWER) {