Changeset 43032


Ignore:
Timestamp:
2014-10-22T18:26:56+02:00 (3 years ago)
Author:
nbd
Message:

ath9k: fix tx power reporting

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/package/kernel/mac80211/patches
Files:
3 added
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch

    r42952 r43032  
    11--- a/drivers/net/wireless/ath/ath9k/init.c 
    22+++ b/drivers/net/wireless/ath/ath9k/init.c 
    3 @@ -677,6 +677,7 @@ static const struct ieee80211_iface_limi 
     3@@ -680,6 +680,7 @@ static const struct ieee80211_iface_limi 
    44                                 BIT(NL80211_IFTYPE_AP) }, 
    55        { .max = 1,     .types = BIT(NL80211_IFTYPE_P2P_CLIENT) | 
  • trunk/package/kernel/mac80211/patches/501-ath9k_ahb_init.patch

    r43011 r43032  
    11--- a/drivers/net/wireless/ath/ath9k/init.c 
    22+++ b/drivers/net/wireless/ath/ath9k/init.c 
    3 @@ -986,23 +986,23 @@ static int __init ath9k_init(void) 
     3@@ -989,23 +989,23 @@ static int __init ath9k_init(void) 
    44 { 
    55        int error; 
  • trunk/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch

    r42683 r43032  
    5858--- a/net/mac80211/cfg.c 
    5959+++ b/net/mac80211/cfg.c 
    60 @@ -2091,6 +2091,19 @@ static int ieee80211_get_tx_power(struct 
     60@@ -2092,6 +2092,19 @@ static int ieee80211_get_tx_power(struct 
    6161        return 0; 
    6262 } 
     
    7878                                  const u8 *addr) 
    7979 { 
    80 @@ -3572,6 +3585,7 @@ const struct cfg80211_ops mac80211_confi 
     80@@ -3573,6 +3586,7 @@ const struct cfg80211_ops mac80211_confi 
    8181        .set_wiphy_params = ieee80211_set_wiphy_params, 
    8282        .set_tx_power = ieee80211_set_tx_power, 
     
    119119        if (local->hw.conf.power_level != power) { 
    120120                changed |= IEEE80211_CONF_CHANGE_POWER; 
    121                 local->hw.cur_power_level = power; 
    122 @@ -586,6 +592,7 @@ struct ieee80211_hw *ieee80211_alloc_hw( 
     121                local->hw.conf.power_level = power; 
     122@@ -585,6 +591,7 @@ struct ieee80211_hw *ieee80211_alloc_hw( 
    123123                                         IEEE80211_RADIOTAP_MCS_HAVE_BW; 
    124124        local->hw.radiotap_vht_details = IEEE80211_RADIOTAP_VHT_KNOWN_GI | 
  • trunk/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch

    r43011 r43032  
    11--- a/drivers/net/wireless/ath/ath9k/ath9k.h 
    22+++ b/drivers/net/wireless/ath/ath9k/ath9k.h 
    3 @@ -811,6 +811,9 @@ static inline int ath9k_dump_btcoex(stru 
     3@@ -812,6 +812,9 @@ static inline int ath9k_dump_btcoex(stru 
    44 void ath_init_leds(struct ath_softc *sc); 
    55 void ath_deinit_leds(struct ath_softc *sc); 
     
    1111 static inline void ath_init_leds(struct ath_softc *sc) 
    1212 { 
    13 @@ -951,6 +954,13 @@ void ath_ant_comb_scan(struct ath_softc  
     13@@ -952,6 +955,13 @@ void ath_ant_comb_scan(struct ath_softc  
    1414  
    1515 #define ATH9K_NUM_CHANCTX  2 /* supports 2 operating channels */ 
     
    163163--- a/drivers/net/wireless/ath/ath9k/init.c 
    164164+++ b/drivers/net/wireless/ath/ath9k/init.c 
    165 @@ -899,7 +899,7 @@ int ath9k_init_device(u16 devid, struct  
     165@@ -902,7 +902,7 @@ int ath9k_init_device(u16 devid, struct  
    166166  
    167167 #ifdef CPTCFG_MAC80211_LEDS 
  • trunk/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch

    r42952 r43032  
    126126--- a/drivers/net/wireless/ath/ath9k/main.c 
    127127+++ b/drivers/net/wireless/ath/ath9k/main.c 
    128 @@ -535,6 +535,11 @@ irqreturn_t ath_isr(int irq, void *dev) 
     128@@ -532,6 +532,11 @@ irqreturn_t ath_isr(int irq, void *dev) 
    129129        ath9k_debug_sync_cause(sc, sync_cause); 
    130130        status &= ah->imask;    /* discard unasked-for bits */ 
  • trunk/package/kernel/mac80211/patches/543-ath9k_entropy_from_adc.patch

    r43011 r43032  
    5656--- a/drivers/net/wireless/ath/ath9k/init.c 
    5757+++ b/drivers/net/wireless/ath/ath9k/init.c 
    58 @@ -665,7 +665,8 @@ static void ath9k_init_txpower_limits(st 
     58@@ -668,7 +668,8 @@ static void ath9k_init_txpower_limits(st 
    5959        if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) 
    6060                ath9k_init_band_txpower(sc, IEEE80211_BAND_5GHZ); 
     
    6666  
    6767 static const struct ieee80211_iface_limit if_limits[] = { 
    68 @@ -856,6 +857,18 @@ static void ath9k_set_hw_capab(struct at 
     68@@ -859,6 +860,18 @@ static void ath9k_set_hw_capab(struct at 
    6969        SET_IEEE80211_PERM_ADDR(hw, common->macaddr); 
    7070 } 
     
    8585                    const struct ath_bus_ops *bus_ops) 
    8686 { 
    87 @@ -904,6 +917,8 @@ int ath9k_init_device(u16 devid, struct  
     87@@ -907,6 +920,8 @@ int ath9k_init_device(u16 devid, struct  
    8888                ARRAY_SIZE(ath9k_tpt_blink)); 
    8989 #endif 
Note: See TracChangeset for help on using the changeset viewer.