P2P: Send WPS-FAIL event to parent interface, too
[libeap.git] / src / eap_peer / eap_i.h
index 6f425d2..afca611 100644 (file)
@@ -328,13 +328,13 @@ struct eap_sm {
 
        /* Optional challenges generated in Phase 1 (EAP-FAST) */
        u8 *peer_challenge, *auth_challenge;
-       int mschapv2_full_key; /* Request full MSCHAPv2 key */
 
        int num_rounds;
        int force_disabled;
 
-       u8 mac_addr[ETH_ALEN];
-       u8 uuid[16];
+       struct wps_context *wps;
+
+       int prev_failure;
 };
 
 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len);
@@ -345,10 +345,12 @@ const u8 * eap_get_config_otp(struct eap_sm *sm, size_t *len);
 void eap_clear_config_otp(struct eap_sm *sm);
 const char * eap_get_config_phase1(struct eap_sm *sm);
 const char * eap_get_config_phase2(struct eap_sm *sm);
+int eap_get_config_fragment_size(struct eap_sm *sm);
 struct eap_peer_config * eap_get_config(struct eap_sm *sm);
 void eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob);
 const struct wpa_config_blob *
 eap_get_config_blob(struct eap_sm *sm, const char *name);
 void eap_notify_pending(struct eap_sm *sm);
+int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method);
 
 #endif /* EAP_I_H */