<div dir="ltr"><div><div><div><div><div><div>Hi.<br><br></div>  Looks like, eapol_auth_step(sta-&gt;eapol_sm); is getting called from ieee802_1x_receive at the end of the function. Had missed it.<br><br></div>In the eapol_sm function, <br><br>sm-&gt;eapol-&gt;cb.aaa_send(<br>                sm-&gt;eapol-&gt;conf.ctx, sm-&gt;sta,<br>                wpabuf_head(sm-&gt;eap_if-&gt;aaaEapRespData),<br>                wpabuf_len(sm-&gt;eap_if-&gt;aaaEapRespData))<br><br></div>will take care of the send.<br><br></div>In this case, there is no dependency on the EAP layer (EAP state machine?). We received the data from the client and the PACP on the lower layer got updated. What about EAP layer?<br><br></div>Thanks,<br></div>Sarah<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 11:15 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><div><div><div>Hi,<br><br></div>When EAP Packet of type response is received, in <b>handle_eap_response</b>, the response data is copied to<b> sm-&gt;eap_if-&gt;eapRespData</b> and <b>sm-&gt;eapolEap</b> is set to TRUE and returned.<br><br></div>How is the response actually handled? Like how is it sent to radius server, if it has to be passed on to the external radius server. Is EAP state machine getting triggered and if so from where ?  I dont see anything on eapol state machine?<br><br></div>Basically, what is the code flow after EAP response data is received?<br><br></div>Thanks,<br></div>Sarah<br><div><div><div><div><br><br><div><br><br></div></div></div></div></div></div>
</blockquote></div><br></div>