From 2cf98db9a8471292baf7f14107bcaf5a18e80a80 Mon Sep 17 00:00:00 2001 From: Sarvesh Bodakhe Date: Fri, 31 Mar 2023 17:45:55 +0530 Subject: [PATCH] esp_wifi: Improve station SA query procedure handling and other bugfixes 1. Disable SA query timers when station disconnect and other SA query related improvements 2. Send appropriate reason code in 4 way handshake failure 3. Send deauth while going from assoc state to init, if reason is assoc timeout --- components/esp_wifi/include/esp_wifi_types.h | 1 + components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index cb78d672a9..3e2c2961b0 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -126,6 +126,7 @@ typedef enum { WIFI_REASON_AP_TSF_RESET = 206, WIFI_REASON_ROAMING = 207, WIFI_REASON_ASSOC_COMEBACK_TIME_TOO_LONG = 208, + WIFI_REASON_SA_QUERY_TIMEOUT = 209, } wifi_err_reason_t; typedef enum { diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index d4cd346acb..b338f58184 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit d4cd346acb90e6cd3c1b32ae0c7753ddc9829597 +Subproject commit b338f581840c4e77cf5af1469185b5905ab3203f