Changeset 45710


Ignore:
Timestamp:
2015-05-21T21:32:16+02:00 (3 years ago)
Author:
jogo
Message:

mac80211: make it work with 3.18.12+

3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait:
Provide infrastructure to deal with nested blocking") from 3.19, causing
the following error on load:

[ 13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel)

Fix this by guarding it with a check for 3.18.11 or earlier instead of
3.19.

Signed-off-by: Jonas Gorski <jogo@…>

Location:
trunk/package/kernel/mac80211/patches
Files:
1 added
29 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/patches/300-mac80211-add-an-intermediate-software-queue-implemen.patch

    r45265 r45710  
    332332--- a/net/mac80211/sta_info.c 
    333333+++ b/net/mac80211/sta_info.c 
    334 @@ -118,6 +118,16 @@ static void __cleanup_single_sta(struct  
     334@@ -118,6 +118,16 @@ static void __cleanup_single_sta(struct 
    335335                atomic_dec(&ps->num_sta_ps); 
    336336        } 
  • trunk/package/kernel/mac80211/patches/305-ath5k-channel-change-fix.patch

    r44655 r45710  
    6262--- a/drivers/net/wireless/ath/ath5k/base.c 
    6363+++ b/drivers/net/wireless/ath/ath5k/base.c 
    64 @@ -2858,7 +2858,7 @@ ath5k_reset(struct ath5k_hw *ah, struct  
     64@@ -2858,7 +2858,7 @@ ath5k_reset(struct ath5k_hw *ah, struct 
    6565 { 
    6666        struct ath_common *common = ath5k_hw_common(ah); 
     
    7171        ATH5K_DBG(ah, ATH5K_DEBUG_RESET, "resetting\n"); 
    7272  
    73 @@ -2876,11 +2876,29 @@ ath5k_reset(struct ath5k_hw *ah, struct  
     73@@ -2876,11 +2876,29 @@ ath5k_reset(struct ath5k_hw *ah, struct 
    7474         * so we should also free any remaining 
    7575         * tx buffers */ 
  • trunk/package/kernel/mac80211/patches/306-ath5k-fix-reset-race.patch

    r44655 r45710  
    6767--- a/drivers/net/wireless/ath/ath5k/base.c 
    6868+++ b/drivers/net/wireless/ath/ath5k/base.c 
    69 @@ -1523,6 +1523,9 @@ ath5k_set_current_imask(struct ath5k_hw  
     69@@ -1523,6 +1523,9 @@ ath5k_set_current_imask(struct ath5k_hw 
    7070        enum ath5k_int imask; 
    7171        unsigned long flags; 
     
    7777        imask = ah->imask; 
    7878        if (ah->rx_pending) 
    79 @@ -2862,6 +2865,8 @@ ath5k_reset(struct ath5k_hw *ah, struct  
     79@@ -2862,6 +2865,8 @@ ath5k_reset(struct ath5k_hw *ah, struct 
    8080  
    8181        ATH5K_DBG(ah, ATH5K_DEBUG_RESET, "resetting\n"); 
     
    8686        synchronize_irq(ah->irq); 
    8787        ath5k_stop_tasklets(ah); 
    88 @@ -2952,6 +2957,8 @@ ath5k_reset(struct ath5k_hw *ah, struct  
     88@@ -2952,6 +2957,8 @@ ath5k_reset(struct ath5k_hw *ah, struct 
    8989         */ 
    9090 /*     ath5k_chan_change(ah, c); */ 
  • trunk/package/kernel/mac80211/patches/311-mac80211-remove-drop_unencrypted-code.patch

    r44910 r45710  
    109109                tx->key = key; 
    110110-       else if (info->flags & IEEE80211_TX_CTL_INJECTED) 
    111 -               tx->key = NULL; 
     111+       else 
     112                tx->key = NULL; 
    112113-       else if (!tx->sdata->drop_unencrypted) 
    113114-               tx->key = NULL; 
     
    120121-       else if (ieee80211_is_mgmt(hdr->frame_control) && 
    121122-                !ieee80211_is_robust_mgmt_frame(tx->skb)) 
    122 +       else 
    123                 tx->key = NULL; 
     123-               tx->key = NULL; 
    124124-       else { 
    125125-               I802_DEBUG_INC(tx->local->tx_handlers_drop_unencrypted); 
  • trunk/package/kernel/mac80211/patches/315-mac80211-avoid-duplicate-TX-path-station-lookup.patch

    r45265 r45710  
    258258                dev_kfree_skb_any(skb); 
    259259        } 
    260 @@ -3295,6 +3314,6 @@ void __ieee80211_tx_skb_tid_band(struct  
     260@@ -3295,6 +3314,6 @@ void __ieee80211_tx_skb_tid_band(struct 
    261261         */ 
    262262        local_bh_disable(); 
  • trunk/package/kernel/mac80211/patches/319-ath9k_htc-add-new-WMI_REG_RMW_CMDID-command.patch

    r45432 r45710  
    122122+               priv->wmi->multi_rmw_idx = 0; 
    123123+       } 
    124 + 
    125 +       mutex_unlock(&priv->wmi->multi_rmw_mutex); 
    126 +} 
    127 + 
    128 +static void ath9k_enable_rmw_buffer(void *hw_priv) 
    129 +{ 
    130 +       struct ath_hw *ah = (struct ath_hw *) hw_priv; 
    131 +       struct ath_common *common = ath9k_hw_common(ah); 
    132 +       struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; 
    133 + 
    134 +       if (test_bit(HTC_FWFLAG_NO_RMW, &priv->fw_flags)) 
    135 +               return; 
    136124  
    137125-       val = ath9k_regread(hw_priv, reg_offset); 
     
    139127-       val |= set; 
    140128-       ath9k_regwrite(hw_priv, val, reg_offset); 
     129+       mutex_unlock(&priv->wmi->multi_rmw_mutex); 
     130+} 
     131+ 
     132+static void ath9k_enable_rmw_buffer(void *hw_priv) 
     133+{ 
     134+       struct ath_hw *ah = (struct ath_hw *) hw_priv; 
     135+       struct ath_common *common = ath9k_hw_common(ah); 
     136+       struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; 
     137+ 
     138+       if (test_bit(HTC_FWFLAG_NO_RMW, &priv->fw_flags)) 
     139+               return; 
     140+ 
    141141+       atomic_inc(&priv->wmi->m_rmw_cnt); 
    142142+} 
     
    240240--- a/drivers/net/wireless/ath/ath9k/wmi.c 
    241241+++ b/drivers/net/wireless/ath/ath9k/wmi.c 
    242 @@ -61,6 +61,8 @@ static const char *wmi_cmd_to_name(enum  
     242@@ -61,6 +61,8 @@ static const char *wmi_cmd_to_name(enum 
    243243                return "WMI_REG_READ_CMDID"; 
    244244        case WMI_REG_WRITE_CMDID: 
  • trunk/package/kernel/mac80211/patches/323-ath9k-add-multi_read-to-be-compatible-with-ath9k_htc.patch

    r45432 r45710  
    99--- a/drivers/net/wireless/ath/ath9k/init.c 
    1010+++ b/drivers/net/wireless/ath/ath9k/init.c 
    11 @@ -141,6 +141,16 @@ static unsigned int ath9k_ioread32(void  
     11@@ -141,6 +141,16 @@ static unsigned int ath9k_ioread32(void 
    1212        return val; 
    1313 } 
  • trunk/package/kernel/mac80211/patches/324-ath9k-add-new-function-ath9k_hw_read_array.patch

    r45432 r45710  
    1212--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1313+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    14 @@ -121,6 +121,36 @@ void ath9k_hw_write_array(struct ath_hw  
     14@@ -121,6 +121,36 @@ void ath9k_hw_write_array(struct ath_hw 
    1515        REGWRITE_BUFFER_FLUSH(ah); 
    1616 } 
     
    6060 #define AR_GPIO_OUTPUT_MUX_AS_OUTPUT             0 
    6161 #define AR_GPIO_OUTPUT_MUX_AS_PCIE_ATTENTION_LED 1 
    62 @@ -1020,6 +1022,7 @@ void ath9k_hw_synth_delay(struct ath_hw  
     62@@ -1020,6 +1022,7 @@ void ath9k_hw_synth_delay(struct ath_hw 
    6363 bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); 
    6464 void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, 
  • trunk/package/kernel/mac80211/patches/326-ath9k-use-one-shot-read-in-ath9k_hw_update_mibstats.patch

    r45432 r45710  
    1111--- a/drivers/net/wireless/ath/ath9k/ani.c 
    1212+++ b/drivers/net/wireless/ath/ath9k/ani.c 
    13 @@ -107,11 +107,21 @@ static const struct ani_cck_level_entry  
     13@@ -107,11 +107,21 @@ static const struct ani_cck_level_entry 
    1414 static void ath9k_hw_update_mibstats(struct ath_hw *ah, 
    1515                                     struct ath9k_mib_stats *stats) 
  • trunk/package/kernel/mac80211/patches/333-ath9k-use-REG_RMW-and-rmw-buffer-in-ath9k_hw_4k_set_.patch

    r45432 r45710  
    1414--- a/drivers/net/wireless/ath/ath9k/eeprom_4k.c 
    1515+++ b/drivers/net/wireless/ath/ath9k/eeprom_4k.c 
    16 @@ -772,15 +772,14 @@ static void ath9k_hw_4k_set_gain(struct  
     16@@ -772,15 +772,14 @@ static void ath9k_hw_4k_set_gain(struct 
    1717                                 struct ar5416_eeprom_4k *eep, 
    1818                                 u8 txRxAttenLocal) 
     
    3838        if ((eep->baseEepHeader.version & AR5416_EEP_VER_MINOR_MASK) >= 
    3939            AR5416_EEP_MINOR_VER_3) { 
    40 @@ -819,6 +818,7 @@ static void ath9k_hw_4k_set_gain(struct  
     40@@ -819,6 +818,7 @@ static void ath9k_hw_4k_set_gain(struct 
    4141                      AR9280_PHY_RXGAIN_TXRX_ATTEN, txRxAttenLocal); 
    4242        REG_RMW_FIELD(ah, AR_PHY_RXGAIN + 0x1000, 
  • trunk/package/kernel/mac80211/patches/406-ath_relax_default_regd.patch

    r45252 r45710  
    11--- a/drivers/net/wireless/ath/regd.c 
    22+++ b/drivers/net/wireless/ath/regd.c 
    3 @@ -114,10 +114,22 @@ static const struct ieee80211_regdomain  
     3@@ -114,10 +114,22 @@ static const struct ieee80211_regdomain 
    44        ) 
    55 }; 
  • trunk/package/kernel/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch

    r44655 r45710  
    11--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c 
    22+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c 
    3 @@ -86,13 +86,8 @@ ath5k_add_interface(struct ieee80211_hw  
     3@@ -86,13 +86,8 @@ ath5k_add_interface(struct ieee80211_hw 
    44                goto end; 
    55        } 
  • trunk/package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch

    r40834 r45710  
    1818 static bool 
    1919 ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data) 
    20 @@ -80,6 +81,19 @@ ath5k_pci_eeprom_read(struct ath_common  
     20@@ -80,6 +81,19 @@ ath5k_pci_eeprom_read(struct ath_common 
    2121        struct ath5k_hw *ah = (struct ath5k_hw *) common->ah; 
    2222        u32 status, timeout; 
  • trunk/package/kernel/mac80211/patches/440-ath5k_channel_bw_debugfs.patch

    r44655 r45710  
    110110 /* debugfs: queues etc */ 
    111111  
    112 @@ -1010,6 +1101,9 @@ ath5k_debug_init_device(struct ath5k_hw  
     112@@ -1010,6 +1101,9 @@ ath5k_debug_init_device(struct ath5k_hw 
    113113        debugfs_create_file("beacon", S_IWUSR | S_IRUSR, phydir, ah, 
    114114                            &fops_beacon); 
  • trunk/package/kernel/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch

    r45432 r45710  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -388,13 +388,8 @@ static void ath9k_hw_init_config(struct  
     3@@ -388,13 +388,8 @@ static void ath9k_hw_init_config(struct 
    44  
    55        ah->config.rx_intr_mitigation = true; 
  • trunk/package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch

    r45265 r45710  
    138138  
    139139 /* policy for the key attributes */ 
    140 @@ -2207,6 +2208,20 @@ static int nl80211_set_wiphy(struct sk_b 
     140@@ -2206,6 +2207,20 @@ static int nl80211_set_wiphy(struct sk_b 
     141                if (result) 
    141142                        return result; 
    142143        } 
    143   
     144+ 
    144145+       if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_GAIN]) { 
    145146+               int idx, dbi = 0; 
     
    155156+                       return result; 
    156157+       } 
    157 + 
     158  
    158159        if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX] && 
    159160            info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]) { 
    160                 u32 tx_ant, rx_ant; 
  • trunk/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch

    r45432 r45710  
    1111 static inline void ath_init_leds(struct ath_softc *sc) 
    1212 { 
    13 @@ -953,6 +956,13 @@ void ath_ant_comb_scan(struct ath_softc  
     13@@ -953,6 +956,13 @@ void ath_ant_comb_scan(struct ath_softc 
    1414  
    1515 #define ATH9K_NUM_CHANCTX  2 /* supports 2 operating channels */ 
     
    6464+       led->cdev.default_trigger = gpio->default_trigger; 
    6565+       led->cdev.brightness_set = ath_led_brightness; 
    66 + 
     66  
     67-       ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); 
    6768+       ret = led_classdev_register(wiphy_dev(sc->hw->wiphy), &led->cdev); 
    6869+       if (ret < 0) 
     
    8182+       return 0; 
    8283+} 
    83   
    84 -       ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); 
     84+ 
    8585+int ath_create_gpio_led(struct ath_softc *sc, int gpio_num, const char *name, 
    8686+                       const char *trigger, bool active_low) 
     
    166166--- a/drivers/net/wireless/ath/ath9k/init.c 
    167167+++ b/drivers/net/wireless/ath/ath9k/init.c 
    168 @@ -935,7 +935,7 @@ int ath9k_init_device(u16 devid, struct  
     168@@ -935,7 +935,7 @@ int ath9k_init_device(u16 devid, struct 
    169169  
    170170 #ifdef CPTCFG_MAC80211_LEDS 
  • trunk/package/kernel/mac80211/patches/541-ath9k_rx_dma_stop_check.patch

    r43438 r45710  
    11--- a/drivers/net/wireless/ath/ath9k/mac.c 
    22+++ b/drivers/net/wireless/ath/ath9k/mac.c 
    3 @@ -693,7 +693,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw  
     3@@ -693,7 +693,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw 
    44 { 
    55 #define AH_RX_STOP_DMA_TIMEOUT 10000   /* usec */ 
     
    1010  
    1111        /* Enable access to the DMA observation bus */ 
    12 @@ -723,6 +723,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw  
     12@@ -723,6 +723,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw 
    1313        } 
    1414  
  • trunk/package/kernel/mac80211/patches/543-ath9k_entropy_from_adc.patch

    r45432 r45710  
    1919--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    2020+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c 
    21 @@ -1999,6 +1999,26 @@ void ar9003_hw_init_rate_txpower(struct  
     21@@ -1999,6 +1999,26 @@ void ar9003_hw_init_rate_txpower(struct 
    2222        } 
    2323 } 
     
    8585                    const struct ath_bus_ops *bus_ops) 
    8686 { 
    87 @@ -940,6 +953,8 @@ int ath9k_init_device(u16 devid, struct  
     87@@ -940,6 +953,8 @@ int ath9k_init_device(u16 devid, struct 
    8888                ARRAY_SIZE(ath9k_tpt_blink)); 
    8989 #endif 
     
    111111--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
    112112+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
    113 @@ -1316,9 +1316,30 @@ void ar5008_hw_init_rate_txpower(struct  
     113@@ -1316,9 +1316,30 @@ void ar5008_hw_init_rate_txpower(struct 
    114114        } 
    115115 } 
  • trunk/package/kernel/mac80211/patches/600-0003-rt2x00-rt2800-serialize-shared-memory-access.patch

    r44655 r45710  
    188188  
    189189        /* 
    190 @@ -4908,14 +4941,19 @@ static int rt2800_init_registers(struct  
     190@@ -4908,14 +4941,19 @@ static int rt2800_init_registers(struct 
    191191        /* 
    192192         * ASIC will keep garbage value after boot, clear encryption keys. 
     
    208208  
    209209        /* 
    210 @@ -5041,8 +5079,10 @@ static int rt2800_wait_bbp_ready(struct  
     210@@ -5041,8 +5079,10 @@ static int rt2800_wait_bbp_ready(struct 
    211211         * BBP was enabled after firmware was loaded, 
    212212         * but we need to reactivate it now. 
     
    373373--- a/drivers/net/wireless/rt2x00/rt2800pci.c 
    374374+++ b/drivers/net/wireless/rt2x00/rt2800pci.c 
    375 @@ -69,7 +69,9 @@ static void rt2800pci_mcu_status(struct  
     375@@ -69,7 +69,9 @@ static void rt2800pci_mcu_status(struct 
    376376                return; 
    377377  
     
    383383                if ((rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD0) == token) || 
    384384                    (rt2x00_get_field32(reg, H2M_MAILBOX_CID_CMD1) == token) || 
    385 @@ -83,8 +85,10 @@ static void rt2800pci_mcu_status(struct  
     385@@ -83,8 +85,10 @@ static void rt2800pci_mcu_status(struct 
    386386        if (i == 200) 
    387387                rt2x00_err(rt2x00dev, "MCU request failed, no response from hardware\n"); 
  • trunk/package/kernel/mac80211/patches/600-0005-rt2x00-rt2800lib-add-hw_beacon_count-field-to-struct.patch

    r44655 r45710  
    3333        u16 eeprom; 
    3434        unsigned int i; 
    35 @@ -5003,7 +5004,7 @@ static int rt2800_init_registers(struct  
     35@@ -5003,7 +5004,7 @@ static int rt2800_init_registers(struct 
    3636        /* 
    3737         * Clear all beacons 
  • trunk/package/kernel/mac80211/patches/600-0006-rt2x00-rt2800lib-init-additional-beacon-offset-regis.patch

    r44655 r45710  
    3535--- a/drivers/net/wireless/rt2x00/rt2800lib.c 
    3636+++ b/drivers/net/wireless/rt2x00/rt2800lib.c 
    37 @@ -4650,6 +4650,30 @@ static int rt2800_init_registers(struct  
     37@@ -4650,6 +4650,30 @@ static int rt2800_init_registers(struct 
    3838        if (ret) 
    3939                return ret; 
  • trunk/package/kernel/mac80211/patches/600-0014-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch

    r44655 r45710  
    3636--- a/drivers/net/wireless/rt2x00/rt2800lib.c 
    3737+++ b/drivers/net/wireless/rt2x00/rt2800lib.c 
    38 @@ -5005,6 +5005,12 @@ static int rt2800_init_registers(struct  
     38@@ -5005,6 +5005,12 @@ static int rt2800_init_registers(struct 
    3939                        rt2800_register_write(rt2x00dev, TX_SW_CFG2, 
    4040                                              0x00000000); 
     
    4949                   rt2x00_rt(rt2x00dev, RT5392) || 
    5050                   rt2x00_rt(rt2x00dev, RT5592)) { 
    51 @@ -5035,9 +5041,11 @@ static int rt2800_init_registers(struct  
     51@@ -5035,9 +5041,11 @@ static int rt2800_init_registers(struct 
    5252  
    5353        rt2800_register_read(rt2x00dev, MAX_LEN_CFG, &reg); 
     
    6464        else 
    6565                rt2x00_set_field32(&reg, MAX_LEN_CFG_MAX_PSDU, 1); 
    66 @@ -5190,6 +5198,11 @@ static int rt2800_init_registers(struct  
     66@@ -5190,6 +5198,11 @@ static int rt2800_init_registers(struct 
    6767        reg = rt2x00_rt(rt2x00dev, RT5592) ? 0x00000082 : 0x00000002; 
    6868        rt2800_register_write(rt2x00dev, TXOP_HLDR_ET, reg); 
  • trunk/package/kernel/mac80211/patches/600-0016-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch

    r44655 r45710  
    1212--- a/drivers/net/wireless/rt2x00/rt2800lib.c 
    1313+++ b/drivers/net/wireless/rt2x00/rt2800lib.c 
    14 @@ -5808,6 +5808,47 @@ static void rt2800_init_bbp_3593(struct  
     14@@ -5808,6 +5808,47 @@ static void rt2800_init_bbp_3593(struct 
    1515                rt2800_bbp_write(rt2x00dev, 103, 0xc0); 
    1616 } 
  • trunk/package/kernel/mac80211/patches/600-0020-rt2x00-rt2800lib-add-channel-configuration-code-for-.patch

    r42683 r45710  
    111111  
    112112                if (rt2x00_has_cap_external_lna_a(rt2x00dev)) 
    113 @@ -3687,6 +3736,23 @@ static void rt2800_config_channel(struct 
    114                 usleep_range(1000, 1500); 
    115         } 
     113@@ -3684,6 +3733,23 @@ static void rt2800_config_channel(struct 
    116114  
     115                rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, reg); 
     116  
     117+               usleep_range(1000, 1500); 
     118+       } 
     119+ 
    117120+       if (rt2x00_rt(rt2x00dev, RT3883)) { 
    118121+               if (!conf_is_ht40(conf)) 
     
    129132+               rt2800_bbp_write_with_rx_chain(rt2x00dev, 66, reg); 
    130133+ 
    131 +               usleep_range(1000, 1500); 
    132 +       } 
    133 + 
    134         if (rt2x00_rt(rt2x00dev, RT5592)) { 
    135                 rt2800_bbp_write(rt2x00dev, 195, 141); 
    136                 rt2800_bbp_write(rt2x00dev, 196, conf_is_ht40(conf) ? 0x10 : 0x1a); 
     134                usleep_range(1000, 1500); 
     135        } 
     136  
  • trunk/package/kernel/mac80211/patches/600-0029-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch

    r44655 r45710  
    1111--- a/drivers/net/wireless/rt2x00/rt2800lib.c 
    1212+++ b/drivers/net/wireless/rt2x00/rt2800lib.c 
    13 @@ -4835,7 +4835,8 @@ static u8 rt2800_get_default_vgc(struct  
     13@@ -4835,7 +4835,8 @@ static u8 rt2800_get_default_vgc(struct 
    1414                else 
    1515                        vgc = 0x2e + rt2x00dev->lna_gain; 
  • trunk/package/kernel/mac80211/patches/616-rt2x00-support-rt5350.patch

    r44655 r45710  
    5959        case RF5362: 
    6060        case RF5370: 
    61 @@ -5111,6 +5122,8 @@ static int rt2800_init_registers(struct  
     61@@ -5111,6 +5122,8 @@ static int rt2800_init_registers(struct 
    6262                rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); 
    6363                rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); 
     
    6868                rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000000); 
    6969                rt2800_register_write(rt2x00dev, TX_SW_CFG1, 0x00080606); 
    70 @@ -5766,9 +5779,13 @@ static void rt2800_init_bbp_3352(struct  
     70@@ -5766,9 +5779,13 @@ static void rt2800_init_bbp_3352(struct 
    7171  
    7272        rt2800_bbp_write(rt2x00dev, 82, 0x62); 
     
    8585        rt2800_bbp_write(rt2x00dev, 86, 0x38); 
    8686  
    87 @@ -5782,9 +5799,13 @@ static void rt2800_init_bbp_3352(struct  
     87@@ -5782,9 +5799,13 @@ static void rt2800_init_bbp_3352(struct 
    8888  
    8989        rt2800_bbp_write(rt2x00dev, 104, 0x92); 
     
    102102        rt2800_bbp_write(rt2x00dev, 120, 0x50); 
    103103  
    104 @@ -5809,6 +5830,13 @@ static void rt2800_init_bbp_3352(struct  
     104@@ -5809,6 +5830,13 @@ static void rt2800_init_bbp_3352(struct 
    105105        rt2800_bbp_write(rt2x00dev, 143, 0xa2); 
    106106  
  • trunk/package/kernel/mac80211/patches/802-libertas-set-wireless-macaddr.patch

    r44655 r45710  
    11--- a/drivers/net/wireless/libertas/cfg.c 
    22+++ b/drivers/net/wireless/libertas/cfg.c 
    3 @@ -2174,6 +2174,8 @@ int lbs_cfg_register(struct lbs_private  
     3@@ -2174,6 +2174,8 @@ int lbs_cfg_register(struct lbs_private 
    44        wdev->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); 
    55        wdev->wiphy->reg_notifier = lbs_reg_notifier; 
  • trunk/package/kernel/mac80211/patches/910-01-add-support-for-mt7620.patch

    r44655 r45710  
    584584                return; 
    585585        } 
    586 @@ -5125,9 +5516,42 @@ static int rt2800_init_registers(struct  
     586@@ -5125,9 +5516,42 @@ static int rt2800_init_registers(struct 
    587587        } else if (rt2x00_rt(rt2x00dev, RT5390) || 
    588588                   rt2x00_rt(rt2x00dev, RT5392) || 
     
    630630                rt2800_register_write(rt2x00dev, TX_SW_CFG0, 0x00000404); 
    631631        } else { 
    632 @@ -6159,6 +6583,225 @@ static void rt2800_init_bbp_5592(struct  
     632@@ -6159,6 +6583,225 @@ static void rt2800_init_bbp_5592(struct 
    633633                rt2800_bbp_write(rt2x00dev, 103, 0xc0); 
    634634 } 
Note: See TracChangeset for help on using the changeset viewer.