From c5e3bc98eeb58276f581cd80cca75fbf3f2b17f3 Mon Sep 17 00:00:00 2001 From: Sarvesh Bodakhe Date: Tue, 7 Jan 2025 15:11:40 +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.0 --- 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 07b762cbef..7d527b7112 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -63,6 +63,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 64333e0afd..02b64090da 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 64333e0afdd6fe253ab86550d970129385496f72 +Subproject commit 02b64090dad59414d71b7540e30f88cf19f0e74a