Fixed retransmission of EAP requests if no response is received
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 29 Dec 2008 16:10:34 +0000 (18:10 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2008 16:10:34 +0000 (18:10 +0200)
commit8e09c6d25306135106c12a013966102ab01ddc38
tree45703efd7782a3e2573fb78f9206fb28c1a60575
parent65d50f0ac63b6c7831cc0b04bbd476dd48b0991b
Fixed retransmission of EAP requests if no response is received

It looks like this never survived the move from IEEE 802.1X-2001 to
IEEE 802.1X-2004 and EAP state machine (RFC 4137). The retransmission
scheduling and control is now in EAP authenticator and the
calculateTimeout() producedure is used to determine timeout for
retransmission (either dynamic backoff or value from EAP method hint).

The recommended calculations based on SRTT and RTTVAR (RFC 2988) are not
yet implemented since there is no round-trip time measurement available
yet.

This should make EAP authentication much more robust in environments
where initial packets are lost for any reason. If the EAP method does
not provide a hint on timeout, default schedule of 3, 6, 12, 20, 20, 20,
... seconds will be used.
hostapd/ChangeLog
hostapd/eapol_sm.c
hostapd/ieee802_1x.c
src/eap_server/eap.c