forked from espressif/esp-idf
fix(esp_wifi): Add support for WPA3 + WPA3_EXT_PSK mixed mode and minor bugfixes
- Add support for WPA3 + WPA3_EXT_PSK mixed mode - Improvements in scan and connect path as per specifications along with minor bugfixes - When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that station treats it as WPA2_WPA3_PSK mixed mode. Closes https://github.com/espressif/esp-idf/issues/12517
This commit is contained in:
@@ -56,7 +56,7 @@ 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 < WPA3_EXT_PSK */
|
/* OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK < WPA3_EXT_PSK = WPA3_EXT_PSK_MIXED_MODE */
|
||||||
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 */
|
||||||
@@ -71,6 +71,7 @@ typedef enum {
|
|||||||
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_EXT_PSK, /**< authenticate mode : WPA3_PSK_EXT_KEY */
|
WIFI_AUTH_WPA3_EXT_PSK, /**< authenticate mode : WPA3_PSK_EXT_KEY */
|
||||||
|
WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE, /**< authenticate mode: WPA3_PSK + WPA3_PSK_EXT_KEY */
|
||||||
WIFI_AUTH_MAX
|
WIFI_AUTH_MAX
|
||||||
} wifi_auth_mode_t;
|
} wifi_auth_mode_t;
|
||||||
|
|
||||||
|
Submodule components/esp_wifi/lib updated: 6f6e34ba09...b4991a9d22
@@ -58,6 +58,9 @@ static void print_auth_mode(int authmode)
|
|||||||
case WIFI_AUTH_WPA3_EXT_PSK:
|
case WIFI_AUTH_WPA3_EXT_PSK:
|
||||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_EXT_PSK");
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_EXT_PSK");
|
||||||
break;
|
break;
|
||||||
|
case WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE:
|
||||||
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_UNKNOWN");
|
ESP_LOGI(TAG, "Authmode \tWIFI_AUTH_UNKNOWN");
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user