DHCP failure due to EAPOL KEY M4 lost

Charley Chu charley.chu at yahoo.com
Fri Jan 4 23:14:23 EST 2013


Hi 


While connecting an Android phone with a P2P device (Group owner), we occasionally see the DHCP failure. The WPA_SUPPLICANT log messages on Android phone shows the WPA 4-WAY handshakes is completed and a DHCP Discover is started. But the P2P device on the other end, doesn't respond to the DHCP Discover request, instead it repeats the EAPOL KEY M3. It appears the P2P device still wait for the EAPOL KEY M4. The WireShark capture shows the EAPOL KEY M4 was sent by the Android phone, but is not received by the P2P device (no acknowledge from the P2P device). We know something wrong with the P2P device (missed the M4 becausing of scanning?), but we think WPA_SUPPLICANT should give them a chance to recover from that. 

I'm new to WPA_SUPPLICANT, could someone here explain to me how this situation is handled in WPA_SUPPLICANT? Note that the GROUP HANDSHAKE is skipped as the GTK is received in pairwise handshake.   

It would be nice to have it recovered at WPA_SUPPLICANT level - confirm the M4 is received before moving to the next step, or   


wpa_supplicant version: v2.0-devel-4.1.2  

Thanks in advance,

Cchu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20130104/8d14e8ec/attachment.htm 


More information about the HostAP mailing list