diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 9888611660b7..28c5d514e6d5 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -217,6 +217,19 @@ struct ieee80211_if_vlan { | |||
217 | u8 id; | 217 | u8 id; |
218 | }; | 218 | }; |
219 | 219 | ||
220 | /* flags used in struct ieee80211_if_sta.flags */ | ||
221 | #define IEEE80211_STA_SSID_SET BIT(0) | ||
222 | #define IEEE80211_STA_BSSID_SET BIT(1) | ||
223 | #define IEEE80211_STA_PREV_BSSID_SET BIT(2) | ||
224 | #define IEEE80211_STA_AUTHENTICATED BIT(3) | ||
225 | #define IEEE80211_STA_ASSOCIATED BIT(4) | ||
226 | #define IEEE80211_STA_PROBEREQ_POLL BIT(5) | ||
227 | #define IEEE80211_STA_CREATE_IBSS BIT(6) | ||
228 | #define IEEE80211_STA_MIXED_CELL BIT(7) | ||
229 | #define IEEE80211_STA_WMM_ENABLED BIT(8) | ||
230 | #define IEEE80211_STA_AUTO_SSID_SEL BIT(10) | ||
231 | #define IEEE80211_STA_AUTO_BSSID_SEL BIT(11) | ||
232 | #define IEEE80211_STA_AUTO_CHANNEL_SEL BIT(12) | ||
220 | struct ieee80211_if_sta { | 233 | struct ieee80211_if_sta { |
221 | enum { | 234 | enum { |
222 | IEEE80211_DISABLED, IEEE80211_AUTHENTICATE, | 235 | IEEE80211_DISABLED, IEEE80211_AUTHENTICATE, |
@@ -239,18 +252,7 @@ struct ieee80211_if_sta { | |||
239 | 252 | ||
240 | int auth_tries, assoc_tries; | 253 | int auth_tries, assoc_tries; |
241 | 254 | ||
242 | unsigned int ssid_set:1; | 255 | unsigned int flags; |
243 | unsigned int bssid_set:1; | ||
244 | unsigned int prev_bssid_set:1; | ||
245 | unsigned int authenticated:1; | ||
246 | unsigned int associated:1; | ||
247 | unsigned int probereq_poll:1; | ||
248 | unsigned int create_ibss:1; | ||
249 | unsigned int mixed_cell:1; | ||
250 | unsigned int wmm_enabled:1; | ||
251 | unsigned int auto_ssid_sel:1; | ||
252 | unsigned int auto_bssid_sel:1; | ||
253 | unsigned int auto_channel_sel:1; | ||
254 | #define IEEE80211_STA_REQ_SCAN 0 | 256 | #define IEEE80211_STA_REQ_SCAN 0 |
255 | #define IEEE80211_STA_REQ_AUTH 1 | 257 | #define IEEE80211_STA_REQ_AUTH 1 |
256 | #define IEEE80211_STA_REQ_RUN 2 | 258 | #define IEEE80211_STA_REQ_RUN 2 |