]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/hostapd/hostapd-2.7-increase_EAPOL-timeouts.patch
hostapd: Update to 2.7
[ipfire-2.x.git] / src / patches / hostapd / hostapd-2.7-increase_EAPOL-timeouts.patch
1 diff U3 a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c
2 --- a/src/ap/wpa_auth.c Sun Dec 2 20:34:59 2018
3 +++ b/src/ap/wpa_auth.c Mon Mar 4 15:47:26 2019
4 @@ -63,9 +63,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 */