|
|
@@ -222,6 +222,14 @@ typedef struct {
|
|
|
bool required; /**< Advertizes that Protected Management Frame is required. Device will not associate to non-PMF capable devices. */
|
|
|
} wifi_pmf_config_t;
|
|
|
|
|
|
+/** Configuration for SAE PWE derivation */
|
|
|
+typedef enum {
|
|
|
+ WPA3_SAE_PWE_UNSPECIFIED,
|
|
|
+ WPA3_SAE_PWE_HUNT_AND_PECK,
|
|
|
+ WPA3_SAE_PWE_HASH_TO_ELEMENT,
|
|
|
+ WPA3_SAE_PWE_BOTH,
|
|
|
+} wifi_sae_pwe_method_t;
|
|
|
+
|
|
|
/** @brief Soft-AP configuration settings for the ESP32 */
|
|
|
typedef struct {
|
|
|
uint8_t ssid[32]; /**< SSID of ESP32 soft-AP. If ssid_len field is 0, this must be a Null terminated string. Otherwise, length is set according to ssid_len. */
|
|
|
@@ -254,8 +262,8 @@ typedef struct {
|
|
|
uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */
|
|
|
uint32_t ft_enabled:1; /**< Whether FT is enabled for the connection */
|
|
|
uint32_t owe_enabled:1; /**< Whether OWE is enabled for the connection */
|
|
|
- uint32_t sae_pwe_h2e:2; /**< Whether SAE hash to element is enabled */
|
|
|
- uint32_t reserved:25; /**< Reserved for future feature set */
|
|
|
+ uint32_t reserved:27; /**< Reserved for future feature set */
|
|
|
+ wifi_sae_pwe_method_t sae_pwe_h2e; /**< Whether SAE hash to element is enabled */
|
|
|
} wifi_sta_config_t;
|
|
|
|
|
|
/** @brief Configuration data for ESP32 AP or STA.
|