aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c6de3156930c..8361054fb7cf 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -100,7 +100,7 @@ struct ieee80211_sta_bss {
100 u64 timestamp; 100 u64 timestamp;
101 int beacon_int; 101 int beacon_int;
102 102
103 bool probe_resp; 103 unsigned long last_probe_resp;
104 unsigned long last_update; 104 unsigned long last_update;
105 105
106 /* during assocation, we save an ERP value from a probe response so 106 /* during assocation, we save an ERP value from a probe response so
@@ -294,12 +294,14 @@ struct mesh_config {
294#define IEEE80211_STA_PRIVACY_INVOKED BIT(13) 294#define IEEE80211_STA_PRIVACY_INVOKED BIT(13)
295/* flags for MLME request*/ 295/* flags for MLME request*/
296#define IEEE80211_STA_REQ_SCAN 0 296#define IEEE80211_STA_REQ_SCAN 0
297#define IEEE80211_STA_REQ_AUTH 1 297#define IEEE80211_STA_REQ_DIRECT_PROBE 1
298#define IEEE80211_STA_REQ_RUN 2 298#define IEEE80211_STA_REQ_AUTH 2
299#define IEEE80211_STA_REQ_RUN 3
299 300
300/* flags used for setting mlme state */ 301/* flags used for setting mlme state */
301enum ieee80211_sta_mlme_state { 302enum ieee80211_sta_mlme_state {
302 IEEE80211_STA_MLME_DISABLED, 303 IEEE80211_STA_MLME_DISABLED,
304 IEEE80211_STA_MLME_DIRECT_PROBE,
303 IEEE80211_STA_MLME_AUTHENTICATE, 305 IEEE80211_STA_MLME_AUTHENTICATE,
304 IEEE80211_STA_MLME_ASSOCIATE, 306 IEEE80211_STA_MLME_ASSOCIATE,
305 IEEE80211_STA_MLME_ASSOCIATED, 307 IEEE80211_STA_MLME_ASSOCIATED,
@@ -362,6 +364,7 @@ struct ieee80211_if_sta {
362 struct sk_buff_head skb_queue; 364 struct sk_buff_head skb_queue;
363 365
364 int assoc_scan_tries; /* number of scans done pre-association */ 366 int assoc_scan_tries; /* number of scans done pre-association */
367 int direct_probe_tries; /* retries for direct probes */
365 int auth_tries; /* retries for auth req */ 368 int auth_tries; /* retries for auth req */
366 int assoc_tries; /* retries for assoc req */ 369 int assoc_tries; /* retries for assoc req */
367 370