]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blob - src/patches/hostapd/hostapd-2.8-increase_EAPOL-timeouts.patch
4be4cd526bf821b858d33a79b597f6cdbd51ec86
[people/mfischer/ipfire-2.x.git] / src / patches / hostapd / hostapd-2.8-increase_EAPOL-timeouts.patch
1 diff U3 src/ap/wpa_auth.c src/ap/wpa_auth.c
2 --- a/src/ap/wpa_auth.c Sun Apr 21 09:10:22 2019
3 +++ b/src/ap/wpa_auth.c Sun Jun 9 01:05:24 2019
4 @@ -65,9 +65,9 @@
5 struct wpa_group *group);
6 static u8 * ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos);
7
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 static const u32 eapol_key_timeout_no_retrans = 4000; /* ms */
15
16 /* TODO: make these configurable */