diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 06b3411530f2..a34bca2dc52f 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -256,12 +256,13 @@ struct ieee80211_mgd_work { | |||
256 | 256 | ||
257 | /* flags used in struct ieee80211_if_managed.flags */ | 257 | /* flags used in struct ieee80211_if_managed.flags */ |
258 | enum ieee80211_sta_flags { | 258 | enum ieee80211_sta_flags { |
259 | IEEE80211_STA_PROBEREQ_POLL = BIT(3), | 259 | IEEE80211_STA_BEACON_POLL = BIT(0), |
260 | IEEE80211_STA_CONTROL_PORT = BIT(4), | 260 | IEEE80211_STA_CONNECTION_POLL = BIT(1), |
261 | IEEE80211_STA_WMM_ENABLED = BIT(5), | 261 | IEEE80211_STA_CONTROL_PORT = BIT(2), |
262 | IEEE80211_STA_DISABLE_11N = BIT(6), | 262 | IEEE80211_STA_WMM_ENABLED = BIT(3), |
263 | IEEE80211_STA_CSA_RECEIVED = BIT(7), | 263 | IEEE80211_STA_DISABLE_11N = BIT(4), |
264 | IEEE80211_STA_MFP_ENABLED = BIT(8), | 264 | IEEE80211_STA_CSA_RECEIVED = BIT(5), |
265 | IEEE80211_STA_MFP_ENABLED = BIT(6), | ||
265 | }; | 266 | }; |
266 | 267 | ||
267 | /* flags for MLME request */ | 268 | /* flags for MLME request */ |
@@ -271,11 +272,16 @@ enum ieee80211_sta_request { | |||
271 | 272 | ||
272 | struct ieee80211_if_managed { | 273 | struct ieee80211_if_managed { |
273 | struct timer_list timer; | 274 | struct timer_list timer; |
275 | struct timer_list conn_mon_timer; | ||
276 | struct timer_list bcn_mon_timer; | ||
274 | struct timer_list chswitch_timer; | 277 | struct timer_list chswitch_timer; |
275 | struct work_struct work; | 278 | struct work_struct work; |
279 | struct work_struct monitor_work; | ||
276 | struct work_struct chswitch_work; | 280 | struct work_struct chswitch_work; |
277 | struct work_struct beacon_loss_work; | 281 | struct work_struct beacon_loss_work; |
278 | 282 | ||
283 | unsigned long probe_timeout; | ||
284 | |||
279 | struct mutex mtx; | 285 | struct mutex mtx; |
280 | struct ieee80211_bss *associated; | 286 | struct ieee80211_bss *associated; |
281 | struct list_head work_list; | 287 | struct list_head work_list; |
@@ -292,8 +298,6 @@ struct ieee80211_if_managed { | |||
292 | 298 | ||
293 | unsigned long request; | 299 | unsigned long request; |
294 | 300 | ||
295 | unsigned long last_beacon; | ||
296 | |||
297 | unsigned int flags; | 301 | unsigned int flags; |
298 | 302 | ||
299 | u32 beacon_crc; | 303 | u32 beacon_crc; |