<div dir="ltr"><div><div><div>Hi,<br> <br></div><div>  Looks like its from the below condition.<br></div><div><br></div> if (eapol_sm_sta_entry_alive(eapol, addr) &amp;&amp; sm-&gt;eap) {<br>   <b>     if (eap_server_sm_step(sm-&gt;eap))</b> {<br>            if (--max_steps &gt; 0)<br>                goto restart;<br>            /* Re-run from eloop timeout */<br>            eapol_auth_step(sm);<br>            return;<br>        }<br><br><br></div>Thanks,<br></div>Sarah.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 28, 2015 at 8:06 PM, Sarah Thomas <span dir="ltr">&lt;<a href="mailto:sarah040.thomas@gmail.com" target="_blank">sarah040.thomas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div><div>Would like to know, from where the EAP state machine is getting triggered for a case like below:<br><br></div> When  we are receiving a message from radius server , in ieee802_1x_receive_auth, if we receive, RADIUS_CODE_ACCESS_CHALLENGE, sm-&gt;eap_if-&gt;aaaEapReq  is set to TRUE, after which ieee802_1x_decapsulate_radius is called . <br><br></div><div>After returning, from there eapol_auth_step(sm); is called which triggers the EAPOL state machine.<br><br></div><div>After that, looks like EAP state machine is getting triggered to handle the state of AAA_RESPONSE.<br><br></div><div>From where is the EAP state machine getting triggered?<br><br></div><div>Thanks,<br>Sarah<br></div><div><br></div></div>
</blockquote></div><br></div>