aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-12-18 15:15:36 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-18 15:15:36 (GMT)
commitbae61562a4e808078d32f361ba396c9bf8046c7d (patch)
tree5db444b3d641df652fd9675b64a4c604f04dcb1b /hostapd/wpa_auth_i.h
parentf0477201bd57cc509535a14f822d0ab5e1b1651c (diff)
downloadhostap-06-bae61562a4e808078d32f361ba396c9bf8046c7d.zip
hostap-06-bae61562a4e808078d32f361ba396c9bf8046c7d.tar.gz
hostap-06-bae61562a4e808078d32f361ba396c9bf8046c7d.tar.bz2
Cleaned up EAPOL-Key timeout processing
dot11RSNAConfigGroupUpdateTimeOut and dot11RSNAConfigPairwiseUpdateTimeOut MIB variables were only used in draft versions of IEEE 802.11i, so rename these in order not to use confusing name here. Replaced EAPOL-Key timeout to use following timeouts (in milliseconds): 100,1000,1000,1000 (this was 1000,1000,1000,0). There is no point in sending out the final EAPOL-Key frame which would be immediately followed by disconnection. After the change to allow response to any pending EAPOL-Key frame, it is fine to send the first retransmission quickly to avoid long wait in cases where Supplicant did not receive the first frame for any reason. The new sequence will still provide 3.1 seconds of time to get any response frame, so this does not reduce the previous time.
Diffstat (limited to 'hostapd/wpa_auth_i.h')
-rw-r--r--hostapd/wpa_auth_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/wpa_auth_i.h b/hostapd/wpa_auth_i.h
index 3ee6548..bcaeda5 100644
--- a/hostapd/wpa_auth_i.h
+++ b/hostapd/wpa_auth_i.h
@@ -16,7 +16,7 @@
#define WPA_AUTH_I_H
/* max(dot11RSNAConfigGroupUpdateCount,dot11RSNAConfigPairwiseUpdateCount) */
-#define RSNA_MAX_EAPOL_RETRIES 3
+#define RSNA_MAX_EAPOL_RETRIES 4
struct wpa_group;