source: trunk/package/mac80211/patches/472-ath_unshare_bus_ops.patch @ 26685

Last change on this file since 26685 was 26685, checked in by nbd, 5 years ago

ath5k: allow simultaneous ad-hoc+ap operation

File size: 1.4 KB
  • drivers/net/wireless/ath/ath.h

    a b struct ath_ops { 
    123123}; 
    124124 
    125125struct ath_common; 
    126  
    127 struct ath_bus_ops { 
    128         enum ath_bus_type ath_bus_type; 
    129         void (*read_cachesize)(struct ath_common *common, int *csz); 
    130         bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); 
    131         void (*bt_coex_prep)(struct ath_common *common); 
    132         void (*extn_synch_en)(struct ath_common *common); 
    133 }; 
     126struct ath_bus_ops; 
    134127 
    135128struct ath_common { 
    136129        void *ah; 
  • drivers/net/wireless/ath/ath9k/hw.h

    a b struct ath_hw { 
    846846        u32 ent_mode; 
    847847}; 
    848848 
     849struct ath_bus_ops { 
     850        enum ath_bus_type ath_bus_type; 
     851        void (*read_cachesize)(struct ath_common *common, int *csz); 
     852        bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); 
     853        void (*bt_coex_prep)(struct ath_common *common); 
     854        void (*extn_synch_en)(struct ath_common *common); 
     855}; 
     856 
    849857static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah) 
    850858{ 
    851859        return &ah->common; 
  • drivers/net/wireless/ath/ath5k/ath5k.h

    a b struct ath5k_hw { 
    11551155                struct ath5k_rx_status *); 
    11561156}; 
    11571157 
     1158struct ath_bus_ops { 
     1159        enum ath_bus_type ath_bus_type; 
     1160        void (*read_cachesize)(struct ath_common *common, int *csz); 
     1161        bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); 
     1162}; 
     1163 
    11581164/* 
    11591165 * Prototypes 
    11601166 */ 
Note: See TracBrowser for help on using the repository browser.