diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
| -rw-r--r-- | drivers/net/wireless/ath/ath.h | 17 | 
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index e0ba7cd1425..a889fd66fc6 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h @@ -17,6 +17,7 @@  #ifndef ATH_H  #define ATH_H +#include <linux/etherdevice.h>  #include <linux/skbuff.h>  #include <linux/if_ether.h>  #include <linux/spinlock.h> @@ -55,6 +56,15 @@ enum ath_device_state {  	ATH_HW_INITIALIZED,  }; +enum ath_op_flags { +	ATH_OP_INVALID, +	ATH_OP_BEACONS, +	ATH_OP_ANI_RUN, +	ATH_OP_PRIM_STA_VIF, +	ATH_OP_HW_RESET, +	ATH_OP_SCANNING, +}; +  enum ath_bus_type {  	ATH_PCI,  	ATH_AHB, @@ -62,7 +72,7 @@ enum ath_bus_type {  };  struct reg_dmn_pair_mapping { -	u16 regDmnEnum; +	u16 reg_domain;  	u16 reg_5ghz_ctl;  	u16 reg_2ghz_ctl;  }; @@ -129,6 +139,7 @@ struct ath_common {  	struct ieee80211_hw *hw;  	int debug_mask;  	enum ath_device_state state; +	unsigned long op_flags;  	struct ath_ani ani; @@ -160,11 +171,15 @@ struct ath_common {  	bool btcoex_enabled;  	bool disable_ani;  	bool bt_ant_diversity; + +	int last_rssi; +	struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS];  };  struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,  				u32 len,  				gfp_t gfp_mask); +bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr);  void ath_hw_setbssidmask(struct ath_common *common);  void ath_key_delete(struct ath_common *common, struct ieee80211_key_conf *key);  | 
