diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index f7024eeba8f5..a550aeb85053 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -228,28 +228,24 @@ struct mesh_preq_queue { | |||
228 | }; | 228 | }; |
229 | 229 | ||
230 | /* flags used in struct ieee80211_if_managed.flags */ | 230 | /* flags used in struct ieee80211_if_managed.flags */ |
231 | #define IEEE80211_STA_SSID_SET BIT(0) | 231 | enum ieee80211_sta_flags { |
232 | #define IEEE80211_STA_BSSID_SET BIT(1) | 232 | IEEE80211_STA_PREV_BSSID_SET = BIT(0), |
233 | #define IEEE80211_STA_PREV_BSSID_SET BIT(2) | 233 | IEEE80211_STA_AUTHENTICATED = BIT(1), |
234 | #define IEEE80211_STA_AUTHENTICATED BIT(3) | 234 | IEEE80211_STA_ASSOCIATED = BIT(2), |
235 | #define IEEE80211_STA_ASSOCIATED BIT(4) | 235 | IEEE80211_STA_PROBEREQ_POLL = BIT(3), |
236 | #define IEEE80211_STA_PROBEREQ_POLL BIT(5) | 236 | IEEE80211_STA_CONTROL_PORT = BIT(4), |
237 | #define IEEE80211_STA_CREATE_IBSS BIT(6) | 237 | IEEE80211_STA_WMM_ENABLED = BIT(5), |
238 | #define IEEE80211_STA_CONTROL_PORT BIT(7) | 238 | IEEE80211_STA_DISABLE_11N = BIT(6), |
239 | #define IEEE80211_STA_WMM_ENABLED BIT(8) | 239 | IEEE80211_STA_CSA_RECEIVED = BIT(7), |
240 | /* hole at 9, please re-use */ | 240 | IEEE80211_STA_MFP_ENABLED = BIT(8), |
241 | #define IEEE80211_STA_AUTO_SSID_SEL BIT(10) | 241 | }; |
242 | #define IEEE80211_STA_AUTO_BSSID_SEL BIT(11) | 242 | |
243 | #define IEEE80211_STA_AUTO_CHANNEL_SEL BIT(12) | ||
244 | #define IEEE80211_STA_PRIVACY_INVOKED BIT(13) | ||
245 | #define IEEE80211_STA_TKIP_WEP_USED BIT(14) | ||
246 | #define IEEE80211_STA_CSA_RECEIVED BIT(15) | ||
247 | #define IEEE80211_STA_MFP_ENABLED BIT(16) | ||
248 | #define IEEE80211_STA_EXT_SME BIT(17) | ||
249 | /* flags for MLME request */ | 243 | /* flags for MLME request */ |
250 | #define IEEE80211_STA_REQ_SCAN 0 | 244 | enum ieee80211_sta_request { |
251 | #define IEEE80211_STA_REQ_AUTH 1 | 245 | IEEE80211_STA_REQ_SCAN, |
252 | #define IEEE80211_STA_REQ_RUN 2 | 246 | IEEE80211_STA_REQ_AUTH, |
247 | IEEE80211_STA_REQ_RUN, | ||
248 | }; | ||
253 | 249 | ||
254 | struct ieee80211_if_managed { | 250 | struct ieee80211_if_managed { |
255 | struct timer_list timer; | 251 | struct timer_list timer; |
@@ -936,10 +932,6 @@ extern const struct iw_handler_def ieee80211_iw_handler_def; | |||
936 | void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); | 932 | void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); |
937 | ieee80211_rx_result ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata, | 933 | ieee80211_rx_result ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata, |
938 | struct sk_buff *skb); | 934 | struct sk_buff *skb); |
939 | int ieee80211_sta_commit(struct ieee80211_sub_if_data *sdata); | ||
940 | int ieee80211_sta_set_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t len); | ||
941 | int ieee80211_sta_get_ssid(struct ieee80211_sub_if_data *sdata, char *ssid, size_t *len); | ||
942 | int ieee80211_sta_set_bssid(struct ieee80211_sub_if_data *sdata, u8 *bssid); | ||
943 | void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata); | 935 | void ieee80211_sta_req_auth(struct ieee80211_sub_if_data *sdata); |
944 | int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason); | 936 | int ieee80211_sta_deauthenticate(struct ieee80211_sub_if_data *sdata, u16 reason); |
945 | int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason); | 937 | int ieee80211_sta_disassociate(struct ieee80211_sub_if_data *sdata, u16 reason); |