]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/hostapd/hostapd-2.9-increase_EAPOL-timeouts.patch
mympd: remove create config start
[ipfire-2.x.git] / src / patches / hostapd / hostapd-2.9-increase_EAPOL-timeouts.patch
1 diff U3 src/ap/wpa_auth.c src/ap/wpa_auth.c
2 --- a/src/ap/wpa_auth.c Wed Aug 7 15:25:25 2019
3 +++ b/src/ap/wpa_auth.c Fri Sep 20 17:35:23 2019
4 @@ -68,9 +68,9 @@
5 static int ieee80211w_kde_len(struct wpa_state_machine *sm);
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 */