From 4761c4059ab6dd68aa5d2c009946135d4edd118d Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Fri, 3 Jul 2020 14:18:39 +0800 Subject: [PATCH] esp_wifi: 1. Avoid parsing RSN/WPA IE's after connection 2. Remove AUTH_CHANGED reason code logic 3. fix the bug when calculating the PMK, the local rx beacon time increment is 0 4. mesh: don't disconnect when tbtt update --- components/esp_wifi/include/esp_wifi_types.h | 3 +-- components/esp_wifi/lib | 2 +- docs/en/api-guides/wifi.rst | 6 ------ 3 files changed, 2 insertions(+), 9 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..19d4b32cb 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 511dd9e12efc66a881657a7a5cddcb154bc378fd +Subproject commit 19d4b32cb56373bcb341f54fee7ceaf0c6358f85 diff --git a/docs/en/api-guides/wifi.rst b/docs/en/api-guides/wifi.rst index fe14fd715..61ecf79e2 100644 --- a/docs/en/api-guides/wifi.rst +++ b/docs/en/api-guides/wifi.rst @@ -1012,12 +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