Add handling of SME auth/assoc timeout events
[wpasupplicant] / src / drivers / driver.h
index 0336ec5..943d61c 100644 (file)
@@ -1281,13 +1281,6 @@ struct wpa_driver_ops {
         * 1 = enabled, i.e., bridge packets between associated STAs (default)
         */
        int (*set_internal_bridge)(void *priv, int value);
-       /* Configure broadcast SSID mode:
-        * 0 = include SSID in Beacon frames and reply to Probe Request frames
-        *     that use broadcast SSID
-        * 1 = hide SSID from Beacon frames and ignore Probe Request frames for
-        *     broadcast SSID
-        */
-       int (*set_broadcast_ssid)(void *priv, int value);
        int (*set_cts_protect)(void *priv, int value);
        int (*set_preamble)(void *priv, int value);
        int (*set_short_slot_time)(void *priv, int value);
@@ -1504,7 +1497,17 @@ typedef enum wpa_event_type {
         * rejected by the AP. Information about authentication result is
         * included in union wpa_event_data::assoc_reject.
         */
-       EVENT_ASSOC_REJECT
+       EVENT_ASSOC_REJECT,
+
+       /**
+        * EVENT_AUTH_TIMED_OUT - Authentication timed out
+        */
+       EVENT_AUTH_TIMED_OUT,
+
+       /**
+        * EVENT_ASSOC_TIMED_OUT - Association timed out
+        */
+       EVENT_ASSOC_TIMED_OUT
 } wpa_event_type;
 
 
@@ -1682,6 +1685,10 @@ union wpa_event_data {
                 */
                u16 status_code;
        } assoc_reject;
+
+       struct timeout_event {
+               u8 addr[ETH_ALEN];
+       } timeout_event;
 };
 
 /**