802.1x State machine eapol_sm.c in wpa_supplicant-0.4.9
Aditya Pandey
adipandey
Fri Jun 16 17:46:48 PDT 2006
HI,
Going over the state machine in eapol_sm.c. The supplicant backend machine
should have state transitions from state REQUEST to State FAIL and SUCCESS
based on eapfail and eapSuccess. This is from IEEE Std 802.1x-2004 Figure
8-18.
case SUPP_BE_REQUEST:
if (sm->eapResp && sm->eapNoResp) {
wpa_printf(MSG_DEBUG, "EAPOL: SUPP_BE REQUEST: both "
"eapResp and eapNoResp set?!");
}
if (sm->eapResp)
SM_ENTER(SUPP_BE, RESPONSE);
else if (sm->eapNoResp)
SM_ENTER(SUPP_BE, RECEIVE);
break;
This should have transitions
if (sm->eapSuccess)
SM_ENTER(SUPP_BE,SUCCESS);
else if (sm->eapFail)
SM_ENTER(SUPP_BE, FAIL);
Could any one clarify as to why these are not there and what implication it
has on the EAP process.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060616/eb14e036/attachment.htm
More information about the Hostap
mailing list