#include "eap_peer/eap.h"
#include "eap_common/eap_common.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* RFC 4137 - EAP Peer state machine */
typedef enum {
/* 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;
struct wps_context *wps;
+
+ int prev_failure;
};
const u8 * eap_get_config_identity(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 *
void eap_notify_pending(struct eap_sm *sm);
int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* EAP_I_H */