From ee70736a03672609a7604ae1a7194cd430ef20ea Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Wed, 17 Jun 2020 11:58:50 +0530 Subject: [PATCH] esp_wifi: Update wifi lib 1. Fix WPA3 Auth timeout during BLE coex by increasing CNX timeout 2. Extend Coex phase for SAE Handshake 3. Define and utilize WPA3 Mixed Authmode, update esp_wifi_types.h --- components/esp_wifi/include/esp_wifi_types.h | 1 + components/esp_wifi/lib | 2 +- examples/wifi/scan/main/scan.c | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 0bfbccb8d..3a22b7cdb 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -57,6 +57,7 @@ typedef enum { WIFI_AUTH_WPA_WPA2_PSK, /**< authenticate mode : WPA_WPA2_PSK */ WIFI_AUTH_WPA2_ENTERPRISE, /**< authenticate mode : WPA2_ENTERPRISE */ WIFI_AUTH_WPA3_PSK, /**< authenticate mode : WPA3_PSK */ + WIFI_AUTH_WPA2_WPA3_PSK, /**< authenticate mode : WPA2_WPA3_PSK */ WIFI_AUTH_MAX } wifi_auth_mode_t; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 9d92c8ebc..3f4b0c46a 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 9d92c8ebc2a7ba94fcb55b2721279ba4ea19bb6f +Subproject commit 3f4b0c46a6c921682c437cd71ae7a25c7a4b8642 diff --git a/examples/wifi/scan/main/scan.c b/examples/wifi/scan/main/scan.c index 65aad5bd7..15edb4b83 100644 --- a/examples/wifi/scan/main/scan.c +++ b/examples/wifi/scan/main/scan.c @@ -43,6 +43,12 @@ static void print_auth_mode(int authmode) case WIFI_AUTH_WPA2_ENTERPRISE: ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_ENTERPRISE"); break; + case WIFI_AUTH_WPA3_PSK: + ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_PSK"); + break; + case WIFI_AUTH_WPA2_WPA3_PSK: + ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_PSK"); + break; default: ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_UNKNOWN"); break;