From 64614660948fb0e755a1f1855aa85c632fc1d25f Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Fri, 4 Feb 2011 15:51:05 -0800 Subject: [PATCH 16/16] 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 393a137... eeae9da... 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 393a137..eeae9da 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.6.2.5