From fc5d7239ea8a612c7155addf615b3c50d8f9672e Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Tue, 30 Jun 2020 15:18:40 +0530 Subject: [PATCH] esp_wifi: Update wifi lib 1. Avoid parsing RSN/WPA IE's after connection 2. Remove AUTH_CHANGED reason code logic --- components/esp_wifi/include/esp_wifi_types.h | 3 +-- components/esp_wifi/lib | 2 +- docs/en/api-guides/wifi.rst | 7 ------- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 844d05fbf..a0cf2ce82 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -94,8 +94,7 @@ typedef enum { WIFI_REASON_ASSOC_FAIL = 203, WIFI_REASON_HANDSHAKE_TIMEOUT = 204, WIFI_REASON_CONNECTION_FAIL = 205, - WIFI_REASON_AUTH_CHANGED = 206, - WIFI_REASON_AP_TSF_RESET = 207, + WIFI_REASON_AP_TSF_RESET = 206, } wifi_err_reason_t; typedef enum { diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 511dd9e12..766d68b3e 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 511dd9e12efc66a881657a7a5cddcb154bc378fd +Subproject commit 766d68b3e3a7b5b07c533252f605fba15d659080 diff --git a/docs/en/api-guides/wifi.rst b/docs/en/api-guides/wifi.rst index fe14fd715..2c2aa570d 100644 --- a/docs/en/api-guides/wifi.rst +++ b/docs/en/api-guides/wifi.rst @@ -1012,13 +1012,6 @@ The table below shows the reason-code defined in {IDF_TARGET_NAME}. The first co | | | | connection to the AP has failed. | | | | | | +---------------------------+-------+---------+-------------------------------------------------------------+ -| AUTH_CHANGED | 206 |reserved | Espressif-specific Wi-Fi reason-code: the | -| | | | disconnection has happened since AP has changed the | -| | | | authmode. | -| | | | | -+---------------------------+-------+---------+-------------------------------------------------------------+ - - {IDF_TARGET_NAME} Wi-Fi Station Connecting When Multiple APs Are Found ----------------------------------------------------------------------