Skip to content

Commit 7f654cf

Browse files
committed
mbed: add whd patch for EAPOL timeout
1 parent e2ddcdf commit 7f654cf

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 79309b3fbbddc1bacd3de033a04fe98346c99f86 Mon Sep 17 00:00:00 2001
2+
From: pennam <m.pennasilico@arduino.cc>
3+
Date: Thu, 13 Oct 2022 16:31:46 +0200
4+
Subject: [PATCH] Increase the default EAPOL key messages timeout.
5+
6+
---
7+
.../wifi/COMPONENT_WHD/wifi-host-driver/src/whd_wifi_api.c | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/whd_wifi_api.c b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/whd_wifi_api.c
11+
index 52c0d7523b..5294104ab4 100755
12+
--- a/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/whd_wifi_api.c
13+
+++ b/connectivity/drivers/wifi/COMPONENT_WHD/wifi-host-driver/src/whd_wifi_api.c
14+
@@ -65,7 +65,7 @@
15+
JOIN_EAPOL_KEY_G1_TIMEOUT | JOIN_EAPOL_KEY_FAILURE)
16+
17+
#define DEFAULT_JOIN_ATTEMPT_TIMEOUT (7000) /* Overall join attempt timeout in milliseconds. */
18+
-#define DEFAULT_EAPOL_KEY_PACKET_TIMEOUT (2500) /* Timeout when waiting for EAPOL key packet M1 or M3 in milliseconds.*/
19+
+#define DEFAULT_EAPOL_KEY_PACKET_TIMEOUT (5000) /* Timeout when waiting for EAPOL key packet M1 or M3 in milliseconds.*/
20+
/* Some APs may be slow to provide M1 and 1000 ms is not long enough for edge of cell. */
21+
#ifndef DEFAULT_PM2_SLEEP_RET_TIME
22+
#define DEFAULT_PM2_SLEEP_RET_TIME (200)
23+
--
24+
2.37.3
25+

0 commit comments

Comments
 (0)