[PATCH] Fix delayed EAPOL RX frames

Hatano, Tomoharu (Sony Mobile) Tomoharu.Hatano at sonymobile.com
Fri Jan 6 05:19:44 PST 2017

Hi Jouni,

I'm sorry for the late reply.
Please give me more time to confirm it.

Best Regards,
Tomoharu Hatano

-----Original Message-----
From: Jouni Malinen [mailto:j at w1.fi] 
Sent: Sunday, December 18, 2016 5:51 AM
To: Hatano, Tomoharu (Sony Mobile) <Tomoharu.Hatano at sonymobile.com>
Cc: hostap at lists.infradead.org; Sogo, Shinji (Sony Mobile) <Shinji.Sogo at sonymobile.com>; Nanbu, Tomonori (Sony Mobile) <Tomonori.Nanbu at sonymobile.com>; Andrejs Cainikovs <andrejs.cainikovs at sonymobile.com>
Subject: Re: [PATCH] Fix delayed EAPOL RX frames

On Sat, Dec 17, 2016 at 06:29:17PM +0900, Tomoharu Hatano wrote:
> Increase EAPOL RX frame timeout from 100 to 900 ms.
> This will fix occasional roaming and authentication disconnects on EAP 
> networks.

Would you happen to have a debug log with timestamps showing such a case where this change helps? It is somewhat surprising if it can take 900 ms for the kernel to deliver association event after it has delivered an EAPOL frame from that association. This optimization handling for pending EAPOL frame is really there only to work around the possibility of those kernel event getting reordered.

In addition, it would be interesting know how lack of this workaround would result in disconnection. I would expect the AP/Authenticator to try again if it does not receive a response. If this workaround is neede to avoid a disconnection (i.e., to do something else than just speed up the connection a bit by avoiding retry), it would seem to indicate that something else is broken in the network or frame processing..
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list