From b48f406a0da6d576dcadc2aac3baf47147dede0a Mon Sep 17 00:00:00 2001 From: Sarvesh Bodakhe Date: Wed, 8 Jan 2025 21:22:34 +0530 Subject: [PATCH] fix(wifi): Fix bug in authmode detection for wpa2/wpa3 enterprise 1. WPA3-Enterprise mandates the use of AKM suite selector 00:0F:AC:5 (IEEE80211 802.1X with SHA-256) 2. Add placeholder enums in 'wifi_auth_mode_t' for maintaining forward compatibility with minor versions > v5.1 --- components/esp_wifi/include/esp_wifi_types.h | 3 +++ components/esp_wifi/lib | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index deeb27a0d8..fe8fedef4a 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -74,6 +74,9 @@ typedef enum { WIFI_AUTH_WAPI_PSK, /**< authenticate mode : WAPI_PSK */ WIFI_AUTH_OWE, /**< authenticate mode : OWE */ WIFI_AUTH_WPA3_ENT_192, /**< authenticate mode : WPA3_ENT_SUITE_B_192_BIT */ + WIFI_AUTH_DUMMY_1, /**< Dummy placeholder authenticate mode for WIFI_AUTH_WPA3_EXT_PSK */ + WIFI_AUTH_DUMMY_2, /**< Dummy placeholder authenticate mode for WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE */ + WIFI_AUTH_DUMMY_3, /**< Dummy placeholder authenticate mode for WIFI_AUTH_DPP */ WIFI_AUTH_WPA3_ENTERPRISE, /**< authenticate mode : WPA3-Enterprise Only Mode */ WIFI_AUTH_WPA2_WPA3_ENTERPRISE, /**< authenticate mode : WPA3-Enterprise Transition Mode */ WIFI_AUTH_MAX diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 421b6d2245..5fcf11be68 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 421b6d224555b7fa8b63d2bdee3da59d60a8f000 +Subproject commit 5fcf11be68e7d9243dd09a761de1e7476b6b0a57