mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
hostapd: increase EAPOL timeouts
Android clients need more time because sleep modes and low wlan interrupt priority.
This commit is contained in:
16
src/patches/hostapd-2.3_increase_EAPOL-timeouts.patch
Normal file
16
src/patches/hostapd-2.3_increase_EAPOL-timeouts.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff -Naur hostapd-2.3.org/src/ap/wpa_auth.c hostapd-2.3/src/ap/wpa_auth.c
|
||||
--- hostapd-2.3.org/src/ap/wpa_auth.c 2014-10-09 16:41:31.000000000 +0200
|
||||
+++ hostapd-2.3/src/ap/wpa_auth.c 2015-04-07 16:32:10.671422975 +0200
|
||||
@@ -45,9 +45,9 @@
|
||||
|
||||
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_group = 500; /* ms */
|
||||
+static const u32 eapol_key_timeout_first = 300; /* ms */
|
||||
+static const u32 eapol_key_timeout_subseq = 3000; /* ms */
|
||||
+static const u32 eapol_key_timeout_first_group = 1500; /* ms */
|
||||
|
||||
/* TODO: make these configurable */
|
||||
static const int dot11RSNAConfigPMKLifetime = 43200;
|
||||
Reference in New Issue
Block a user