From 52b940bed5f8e99b7f6a7e07716477a52cd617fb Mon Sep 17 00:00:00 2001 From: Sarvesh Bodakhe Date: Fri, 31 Mar 2023 16:26:03 +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 60b22707c1..76fce94225 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -118,6 +118,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 077b34fefe..5680c099ed 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 077b34fefeb033eb5e87126d65e3400d6cf3d39f +Subproject commit 5680c099eda60a8f05accbfd6f7e5fe582cfefb7