Removed mac_addr from eapol_ctx to fix the eapol_test build
[wpasupplicant] / wpa_supplicant / wpa_supplicant_i.h
index a2e3dd5..ab7aa94 100644 (file)
@@ -334,6 +334,12 @@ struct wpa_supplicant {
        struct wpa_client_mlme mlme;
        int use_client_mlme;
        int driver_4way_handshake;
+
+       int pending_mic_error_report;
+       int pending_mic_error_pairwise;
+       int mic_errors_seen; /* Michael MIC errors with the current PTK */
+
+       struct wps_context *wps;
 };
 
 
@@ -448,6 +454,14 @@ static inline int wpa_drv_set_wpa(struct wpa_supplicant *wpa_s, int enabled)
        return 0;
 }
 
+static inline int wpa_drv_set_mode(struct wpa_supplicant *wpa_s, int mode)
+{
+       if (wpa_s->driver->set_mode) {
+               return wpa_s->driver->set_mode(wpa_s->drv_priv, mode);
+       }
+       return 0;
+}
+
 static inline int wpa_drv_associate(struct wpa_supplicant *wpa_s,
                                    struct wpa_driver_associate_params *params)
 {