mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/use_wpa3_ent_authmode_naming_v5.0' into 'release/v5.0'
fix(wifi): Add support to recongize different WPA3 Authentication modes from specifications (Backport v5.0) See merge request espressif/esp-idf!35759
This commit is contained in:
@ -70,6 +70,7 @@ check_blobs:
|
|||||||
- IDF_TARGET=esp32s2 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
- IDF_TARGET=esp32s2 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
||||||
- IDF_TARGET=esp32s3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
- IDF_TARGET=esp32s3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
||||||
- IDF_TARGET=esp32c3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
- IDF_TARGET=esp32c3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
||||||
|
- IDF_TARGET=esp32c2 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh
|
||||||
# Check if Wi-Fi, PHY, BT blobs contain references to specific symbols
|
# Check if Wi-Fi, PHY, BT blobs contain references to specific symbols
|
||||||
- bash $IDF_PATH/tools/ci/check_blobs.sh
|
- bash $IDF_PATH/tools/ci/check_blobs.sh
|
||||||
|
|
||||||
|
@ -48,7 +48,8 @@ typedef struct {
|
|||||||
} wifi_country_t;
|
} wifi_country_t;
|
||||||
|
|
||||||
/* Strength of authmodes */
|
/* Strength of authmodes */
|
||||||
/* OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK */
|
/* Personal Networks : OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK
|
||||||
|
* Enterprise Networks : WIFI_AUTH_WPA2_ENTERPRISE < WIFI_AUTH_WPA3_ENTERPRISE = WIFI_AUTH_WPA2_WPA3_ENTERPRISE < WIFI_AUTH_WPA3_ENT_192 */
|
||||||
typedef enum {
|
typedef enum {
|
||||||
WIFI_AUTH_OPEN = 0, /**< authenticate mode : open */
|
WIFI_AUTH_OPEN = 0, /**< authenticate mode : open */
|
||||||
WIFI_AUTH_WEP, /**< authenticate mode : WEP */
|
WIFI_AUTH_WEP, /**< authenticate mode : WEP */
|
||||||
@ -62,6 +63,8 @@ typedef enum {
|
|||||||
WIFI_AUTH_WAPI_PSK, /**< authenticate mode : WAPI_PSK */
|
WIFI_AUTH_WAPI_PSK, /**< authenticate mode : WAPI_PSK */
|
||||||
WIFI_AUTH_OWE, /**< authenticate mode : OWE */
|
WIFI_AUTH_OWE, /**< authenticate mode : OWE */
|
||||||
WIFI_AUTH_WPA3_ENT_192, /**< authenticate mode : WPA3_ENT_SUITE_B_192_BIT */
|
WIFI_AUTH_WPA3_ENT_192, /**< authenticate mode : WPA3_ENT_SUITE_B_192_BIT */
|
||||||
|
WIFI_AUTH_WPA3_ENTERPRISE, /**< authenticate mode : WPA3-Enterprise Only Mode */
|
||||||
|
WIFI_AUTH_WPA2_WPA3_ENTERPRISE, /**< authenticate mode : WPA3-Enterprise Transition Mode */
|
||||||
WIFI_AUTH_MAX
|
WIFI_AUTH_MAX
|
||||||
} wifi_auth_mode_t;
|
} wifi_auth_mode_t;
|
||||||
|
|
||||||
|
Submodule components/esp_wifi/lib updated: ca50429fb2...33d959c2d7
@ -22,7 +22,7 @@ case $IDF_TARGET in
|
|||||||
esp32s3)
|
esp32s3)
|
||||||
PREFIX=xtensa-esp32s3-elf-
|
PREFIX=xtensa-esp32s3-elf-
|
||||||
;;
|
;;
|
||||||
esp32c3)
|
esp32c3|esp32c2)
|
||||||
PREFIX=riscv32-esp-elf-
|
PREFIX=riscv32-esp-elf-
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -52,6 +52,12 @@ static void print_auth_mode(int authmode)
|
|||||||
case WIFI_AUTH_WPA2_WPA3_PSK:
|
case WIFI_AUTH_WPA2_WPA3_PSK:
|
||||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_PSK");
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_PSK");
|
||||||
break;
|
break;
|
||||||
|
case WIFI_AUTH_WPA3_ENTERPRISE:
|
||||||
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_ENTERPRISE");
|
||||||
|
break;
|
||||||
|
case WIFI_AUTH_WPA2_WPA3_ENTERPRISE:
|
||||||
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA2_WPA3_ENTERPRISE");
|
||||||
|
break;
|
||||||
case WIFI_AUTH_WPA3_ENT_192:
|
case WIFI_AUTH_WPA3_ENT_192:
|
||||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_ENT_192");
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_ENT_192");
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user