diff options
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/ar9170.h')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/ar9170.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ar9170/ar9170.h b/drivers/net/wireless/ath/ar9170/ar9170.h index 17bd3eaf3e03..c7cba66b63cb 100644 --- a/drivers/net/wireless/ath/ar9170/ar9170.h +++ b/drivers/net/wireless/ath/ar9170/ar9170.h | |||
@@ -91,6 +91,7 @@ struct ar9170_led { | |||
91 | struct led_classdev l; | 91 | struct led_classdev l; |
92 | char name[32]; | 92 | char name[32]; |
93 | unsigned int toggled; | 93 | unsigned int toggled; |
94 | bool last_state; | ||
94 | bool registered; | 95 | bool registered; |
95 | }; | 96 | }; |
96 | 97 | ||
@@ -101,7 +102,6 @@ enum ar9170_device_state { | |||
101 | AR9170_STOPPED, | 102 | AR9170_STOPPED, |
102 | AR9170_IDLE, | 103 | AR9170_IDLE, |
103 | AR9170_STARTED, | 104 | AR9170_STARTED, |
104 | AR9170_ASSOCIATED, | ||
105 | }; | 105 | }; |
106 | 106 | ||
107 | struct ar9170_rxstream_mpdu_merge { | 107 | struct ar9170_rxstream_mpdu_merge { |
@@ -140,7 +140,7 @@ struct ar9170 { | |||
140 | struct work_struct filter_config_work; | 140 | struct work_struct filter_config_work; |
141 | u64 cur_mc_hash, want_mc_hash; | 141 | u64 cur_mc_hash, want_mc_hash; |
142 | u32 cur_filter, want_filter; | 142 | u32 cur_filter, want_filter; |
143 | unsigned int filter_changed; | 143 | unsigned long filter_changed; |
144 | unsigned int filter_state; | 144 | unsigned int filter_state; |
145 | bool sniffer_enabled; | 145 | bool sniffer_enabled; |
146 | 146 | ||
@@ -195,7 +195,7 @@ struct ar9170_sta_info { | |||
195 | #define IS_STARTED(a) (a->state >= AR9170_STARTED) | 195 | #define IS_STARTED(a) (a->state >= AR9170_STARTED) |
196 | #define IS_ACCEPTING_CMD(a) (a->state >= AR9170_IDLE) | 196 | #define IS_ACCEPTING_CMD(a) (a->state >= AR9170_IDLE) |
197 | 197 | ||
198 | #define AR9170_FILTER_CHANGED_PROMISC BIT(0) | 198 | #define AR9170_FILTER_CHANGED_MODE BIT(0) |
199 | #define AR9170_FILTER_CHANGED_MULTICAST BIT(1) | 199 | #define AR9170_FILTER_CHANGED_MULTICAST BIT(1) |
200 | #define AR9170_FILTER_CHANGED_FRAMEFILTER BIT(2) | 200 | #define AR9170_FILTER_CHANGED_FRAMEFILTER BIT(2) |
201 | 201 | ||
@@ -206,6 +206,7 @@ void ar9170_rx(struct ar9170 *ar, struct sk_buff *skb); | |||
206 | void ar9170_unregister(struct ar9170 *ar); | 206 | void ar9170_unregister(struct ar9170 *ar); |
207 | void ar9170_handle_tx_status(struct ar9170 *ar, struct sk_buff *skb, | 207 | void ar9170_handle_tx_status(struct ar9170 *ar, struct sk_buff *skb, |
208 | bool update_statistics, u16 tx_status); | 208 | bool update_statistics, u16 tx_status); |
209 | void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len); | ||
209 | 210 | ||
210 | /* MAC */ | 211 | /* MAC */ |
211 | int ar9170_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb); | 212 | int ar9170_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb); |
@@ -215,6 +216,9 @@ int ar9170_update_multicast(struct ar9170 *ar); | |||
215 | int ar9170_update_frame_filter(struct ar9170 *ar); | 216 | int ar9170_update_frame_filter(struct ar9170 *ar); |
216 | int ar9170_set_operating_mode(struct ar9170 *ar); | 217 | int ar9170_set_operating_mode(struct ar9170 *ar); |
217 | int ar9170_set_beacon_timers(struct ar9170 *ar); | 218 | int ar9170_set_beacon_timers(struct ar9170 *ar); |
219 | int ar9170_set_dyn_sifs_ack(struct ar9170 *ar); | ||
220 | int ar9170_set_slot_time(struct ar9170 *ar); | ||
221 | int ar9170_set_basic_rates(struct ar9170 *ar); | ||
218 | int ar9170_set_hwretry_limit(struct ar9170 *ar, u32 max_retry); | 222 | int ar9170_set_hwretry_limit(struct ar9170 *ar, u32 max_retry); |
219 | int ar9170_update_beacon(struct ar9170 *ar); | 223 | int ar9170_update_beacon(struct ar9170 *ar); |
220 | void ar9170_new_beacon(struct work_struct *work); | 224 | void ar9170_new_beacon(struct work_struct *work); |