From a3fe3f861cb1f01ef6363ace75f99ea318bc4422 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Fri, 4 Feb 2011 15:51:05 -0800 Subject: [PATCH 16/17] Increase EAPOL timers. This allows 128 stations to associate & authenticate all at once. Without this, 4-way handshake doesn't work right. From: Bjorn Smedman NOTE: This should probably not be applied upstream as is..but should be a configuration option in the hostapd.conf file. Signed-off-by: Ben Greear --- :100644 100644 f55349a... bd14f6b... M src/ap/wpa_auth.c src/ap/wpa_auth.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index f55349a..bd14f6b 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -50,8 +50,8 @@ static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, static const u32 dot11RSNAConfigGroupUpdateCount = 4; static const u32 dot11RSNAConfigPairwiseUpdateCount = 4; -static const u32 eapol_key_timeout_first = 100; /* ms */ -static const u32 eapol_key_timeout_subseq = 1000; /* ms */ +static const u32 eapol_key_timeout_first = 1000; /* ms */ +static const u32 eapol_key_timeout_subseq = 2000; /* ms */ /* TODO: make these configurable */ static const int dot11RSNAConfigPMKLifetime = 43200; -- 1.7.3.4