[PATCH] Fix delayed EAPOL RX frames

Tomoharu Hatano tomoharu.hatano at sonymobile.com
Mon Jan 23 04:34:46 PST 2017


From: Andrejs Cainikovs <andrejs.cainikovs at sonymobile.com>

Increase EAPOL RX frame timeout from 100 to 200 ms.
This will fix occasional roaming and authentication
disconnects on EAP networks.

Change-Id: I7012e9162d5516564f1f70cf2c1ea0259f5538a6
Signed-off-by: Tomoharu Hatano <tomoharu.hatano at sonymobile.com>
---
 wpa_supplicant/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 61390335d..461d3d89f 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2374,7 +2374,7 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
 		struct os_reltime now, age;
 		os_get_reltime(&now);
 		os_reltime_sub(&now, &wpa_s->pending_eapol_rx_time, &age);
-		if (age.sec == 0 && age.usec < 100000 &&
+		if (age.sec == 0 && age.usec < 200000 &&
 		    os_memcmp(wpa_s->pending_eapol_rx_src, bssid, ETH_ALEN) ==
 		    0) {
 			wpa_dbg(wpa_s, MSG_DEBUG, "Process pending EAPOL "
-- 
2.11.0




More information about the Hostap mailing list