[PATCH] Fix delayed EAPOL RX frames

Jouni Malinen j at w1.fi
Sat Dec 17 12:50:50 PST 2016


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