aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index b59cfbe0276b..a889fd66fc63 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -56,6 +56,15 @@ enum ath_device_state {
56 ATH_HW_INITIALIZED, 56 ATH_HW_INITIALIZED,
57}; 57};
58 58
59enum ath_op_flags {
60 ATH_OP_INVALID,
61 ATH_OP_BEACONS,
62 ATH_OP_ANI_RUN,
63 ATH_OP_PRIM_STA_VIF,
64 ATH_OP_HW_RESET,
65 ATH_OP_SCANNING,
66};
67
59enum ath_bus_type { 68enum ath_bus_type {
60 ATH_PCI, 69 ATH_PCI,
61 ATH_AHB, 70 ATH_AHB,
@@ -63,7 +72,7 @@ enum ath_bus_type {
63}; 72};
64 73
65struct reg_dmn_pair_mapping { 74struct reg_dmn_pair_mapping {
66 u16 regDmnEnum; 75 u16 reg_domain;
67 u16 reg_5ghz_ctl; 76 u16 reg_5ghz_ctl;
68 u16 reg_2ghz_ctl; 77 u16 reg_2ghz_ctl;
69}; 78};
@@ -130,6 +139,7 @@ struct ath_common {
130 struct ieee80211_hw *hw; 139 struct ieee80211_hw *hw;
131 int debug_mask; 140 int debug_mask;
132 enum ath_device_state state; 141 enum ath_device_state state;
142 unsigned long op_flags;
133 143
134 struct ath_ani ani; 144 struct ath_ani ani;
135 145
@@ -161,6 +171,9 @@ struct ath_common {
161 bool btcoex_enabled; 171 bool btcoex_enabled;
162 bool disable_ani; 172 bool disable_ani;
163 bool bt_ant_diversity; 173 bool bt_ant_diversity;
174
175 int last_rssi;
176 struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS];
164}; 177};
165 178
166struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, 179struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,