Changeset 33557


Ignore:
Timestamp:
2012-09-26T14:53:54+02:00 (5 years ago)
Author:
florian
Message:

[package] mac80211: refresh patches

Location:
trunk/package/mac80211/patches
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/130-mesh_pathtbl_backport.patch

    r33331 r33557  
    11--- a/net/mac80211/mesh_pathtbl.c 
    22+++ b/net/mac80211/mesh_pathtbl.c 
    3 @@ -813,7 +813,6 @@ static void table_flush_by_iface(struct  
     3@@ -813,7 +813,6 @@ static void table_flush_by_iface(struct 
    44        struct hlist_node *p; 
    55        int i; 
  • trunk/package/mac80211/patches/300-pending_work.patch

    r33551 r33557  
    181181 { 
    182182        struct ieee80211_sub_if_data *sdata = 
    183 @@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct  
     183@@ -1101,6 +1144,9 @@ static void ieee80211_iface_work(struct 
    184184                                break; 
    185185                        ieee80211_mesh_rx_queued_mgmt(sdata, skb); 
     
    282282+                       if (!sdata->dev) 
    283283+                               continue; 
     284+ 
     285+                       if (skb->dev != sdata->dev) 
     286+                               continue; 
     287+ 
     288+                       found = true; 
     289+                       break; 
     290+               } 
    284291  
    285292-                       p2p_sdata = rcu_dereference(local->p2p_sdata); 
     
    290297-                       } 
    291298-                       rcu_read_unlock(); 
    292 +                       if (skb->dev != sdata->dev) 
    293 +                               continue; 
    294 + 
    295 +                       found = true; 
    296 +                       break; 
    297                 } 
    298 + 
    299299+               if (!skb->dev) { 
    300300+                       sdata = rcu_dereference(local->p2p_sdata); 
    301301+                       if (sdata) 
    302302+                               found = true; 
    303 +               } 
     303                } 
    304304+ 
    305305+               if (!found) 
  • trunk/package/mac80211/patches/402-ath9k-fix-invalid-mac-address-handling.patch

    r33289 r33557  
    99  
    1010 #include "hw.h" 
    11 @@ -523,8 +524,16 @@ static int ath9k_hw_init_macaddr(struct  
     11@@ -523,8 +524,16 @@ static int ath9k_hw_init_macaddr(struct 
    1212                common->macaddr[2 * i] = eeval >> 8; 
    1313                common->macaddr[2 * i + 1] = eeval & 0xff; 
  • trunk/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch

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

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

    r33331 r33557  
    102102 /* debugfs: queues etc */ 
    103103  
    104 @@ -904,6 +987,9 @@ ath5k_debug_init_device(struct ath5k_hw  
     104@@ -904,6 +987,9 @@ ath5k_debug_init_device(struct ath5k_hw 
    105105        debugfs_create_file("beacon", S_IWUSR | S_IRUSR, phydir, ah, 
    106106                            &fops_beacon); 
  • trunk/package/mac80211/patches/522-ath9k_per_chain_signal_strength.patch

    r33331 r33557  
    167167--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c 
    168168+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c 
    169 @@ -458,12 +458,12 @@ int ath9k_hw_process_rxdesc_edma(struct  
     169@@ -458,12 +458,12 @@ int ath9k_hw_process_rxdesc_edma(struct 
    170170  
    171171        /* XXX: Keycache */ 
     
    228228--- a/drivers/net/wireless/ath/ath9k/debug.c 
    229229+++ b/drivers/net/wireless/ath/ath9k/debug.c 
    230 @@ -997,12 +997,12 @@ void ath_debug_stat_rx(struct ath_softc  
     230@@ -997,12 +997,12 @@ void ath_debug_stat_rx(struct ath_softc 
    231231 #ifdef CONFIG_ATH9K_MAC_DEBUG 
    232232        spin_lock(&sc->debug.samp_lock); 
     
    364364--- a/drivers/net/wireless/ath/ath9k/antenna.c 
    365365+++ b/drivers/net/wireless/ath/ath9k/antenna.c 
    366 @@ -529,14 +529,14 @@ void ath_ant_comb_scan(struct ath_softc  
     366@@ -529,14 +529,14 @@ void ath_ant_comb_scan(struct ath_softc 
    367367        struct ath_ant_comb *antcomb = &sc->ant_comb; 
    368368        int alt_ratio = 0, alt_rssi_avg = 0, main_rssi_avg = 0, curr_alt_set; 
  • trunk/package/mac80211/patches/540-ath9k_extra_leds.patch

    r33331 r33557  
    172172--- a/drivers/net/wireless/ath/ath9k/init.c 
    173173+++ b/drivers/net/wireless/ath/ath9k/init.c 
    174 @@ -811,7 +811,7 @@ int ath9k_init_device(u16 devid, struct  
     174@@ -811,7 +811,7 @@ int ath9k_init_device(u16 devid, struct 
    175175  
    176176 #ifdef CONFIG_MAC80211_LEDS 
  • trunk/package/mac80211/patches/563-ath9k_rx_dma_stop_check.patch

    r32760 r33557  
    11--- a/drivers/net/wireless/ath/ath9k/mac.c 
    22+++ b/drivers/net/wireless/ath/ath9k/mac.c 
    3 @@ -689,7 +689,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw  
     3@@ -689,7 +689,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 @@ -719,6 +719,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw  
     12@@ -719,6 +719,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw 
    1313        } 
    1414  
  • trunk/package/mac80211/patches/603-rt2x00-introduce-rt2x00eeprom.patch

    r33331 r33557  
    187187--- a/drivers/net/wireless/rt2x00/rt2800pci.c 
    188188+++ b/drivers/net/wireless/rt2x00/rt2800pci.c 
    189 @@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct  
     189@@ -89,20 +89,10 @@ static void rt2800pci_mcu_status(struct 
    190190        rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0); 
    191191 } 
     
    199199- 
    200200-       iounmap(base_addr); 
    201 +       memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE); 
    202  } 
     201-} 
    203202-#else 
    204203-static inline void rt2800pci_read_eeprom_soc(struct rt2x00_dev *rt2x00dev) 
    205204-{ 
    206 -} 
     205+       memcpy(rt2x00dev->eeprom, rt2x00dev->eeprom_file->data, EEPROM_SIZE); 
     206 } 
    207207-#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */ 
    208208  
  • trunk/package/mac80211/patches/605-rt2x00-pci-eeprom.patch

    r33331 r33557  
    11--- a/drivers/net/wireless/rt2x00/rt2800pci.c 
    22+++ b/drivers/net/wireless/rt2x00/rt2800pci.c 
    3 @@ -89,7 +89,7 @@ static void rt2800pci_mcu_status(struct  
     3@@ -89,7 +89,7 @@ static void rt2800pci_mcu_status(struct 
    44        rt2x00pci_register_write(rt2x00dev, H2M_MAILBOX_CID, ~0); 
    55 } 
  • trunk/package/mac80211/patches/620-rt2x00-support-rt3352.patch

    r33331 r33557  
    128128  
    129129 static int rt2800_get_gain_calibration_delta(struct rt2x00_dev *rt2x00dev) 
    130 @@ -2961,11 +3038,15 @@ static int rt2800_init_registers(struct  
     130@@ -2961,11 +3038,15 @@ static int rt2800_init_registers(struct 
    131131        if (rt2x00_rt(rt2x00dev, RT3071) || 
    132132            rt2x00_rt(rt2x00dev, RT3090) || 
  • trunk/package/mac80211/patches/849-brcmsmac-add-device-found-on-some-SoCs-like-the-bcm4.patch

    r33331 r33557  
    1111--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c 
    1212+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c 
    13 @@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct  
     13@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct 
    1414        brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); 
    1515  
     
    2020                        brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16); 
    2121                else 
    22 @@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct  
     22@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct 
    2323        if (wlc_hw->ucode_loaded) 
    2424                return; 
  • trunk/package/mac80211/patches/851-brcmsmac-start-adding-support-for-core-rev-28.patch

    r33331 r33557  
    1111--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c 
    1212+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c 
    13 @@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct  
     13@@ -734,7 +734,7 @@ static void brcms_c_ucode_bsinit(struct 
    1414        brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); 
    1515  
     
    2020                        brcms_c_write_inits(wlc_hw, ucode->d11n0bsinitvals16); 
    2121                else 
    22 @@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct  
     22@@ -2259,7 +2259,7 @@ static void brcms_ucode_download(struct 
    2323        if (wlc_hw->ucode_loaded) 
    2424                return; 
Note: See TracChangeset for help on using the changeset viewer.