]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/hostapd-2.3_increase_EAPOL-timeouts.patch
Update libvirt to 2.1
[ipfire-2.x.git] / src / patches / hostapd-2.3_increase_EAPOL-timeouts.patch
CommitLineData
9ee54998
AF
1diff -Naur hostapd-2.3.org/src/ap/wpa_auth.c hostapd-2.3/src/ap/wpa_auth.c
2--- hostapd-2.3.org/src/ap/wpa_auth.c 2014-10-09 16:41:31.000000000 +0200
3+++ hostapd-2.3/src/ap/wpa_auth.c 2015-04-07 16:32:10.671422975 +0200
4@@ -45,9 +45,9 @@
5
6 static const u32 dot11RSNAConfigGroupUpdateCount = 4;
7 static const u32 dot11RSNAConfigPairwiseUpdateCount = 4;
8-static const u32 eapol_key_timeout_first = 100; /* ms */
9-static const u32 eapol_key_timeout_subseq = 1000; /* ms */
10-static const u32 eapol_key_timeout_first_group = 500; /* ms */
11+static const u32 eapol_key_timeout_first = 300; /* ms */
12+static const u32 eapol_key_timeout_subseq = 3000; /* ms */
13+static const u32 eapol_key_timeout_first_group = 1500; /* ms */
14
15 /* TODO: make these configurable */
16 static const int dot11RSNAConfigPMKLifetime = 43200;