communication between EAP method and upper layers

Chuck Tuffli CTuffli
Fri Jul 18 16:57:15 PDT 2008


I'm getting close to being able to release an alpha quality patch adding support for Protected Setup, but there are a couple of issues both related to communicating information between the EAP method and upper layers of the supplicant.

1) The user starts WPS via a command to the control interface, and one of these commands is only valid for 2 minutes. The logical place to cancel this timer (set in wpa_supplicant_ctrl_iface_process) is in the EAP's INIT function, but I'm not seeing a way to get a reference to struct wpa_supplicant to pass into eloop_cancel_timeout. What is the best way to communicate this up from the EAP method? Shared variable in struct eap_sm?

2) The EAP method can fail for different reasons (general error, overlapping sessions, etc). The WPA_EVENT_EAP_FAILURE message would let the cli or nm know that something failed, but is there an existing way for them to find out the specifics of the failure?

TIA

---chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20080718/b7857cba/attachment.htm 



More information about the Hostap mailing list