diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 2d7b8321ca..d5ae7c6a8c 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -244,7 +244,7 @@ menu "Wi-Fi" config ESP32_WIFI_ENABLE_WPA3_SAE bool "Enable WPA3-Personal" default y - depends on WPA_MBEDTLS_CRYPTO + select WPA_MBEDTLS_CRYPTO help Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's. PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 6fd120a997..ffefe60c4e 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 6fd120a997d581bbee290b1c6732c93869feef99 +Subproject commit ffefe60c4ed6babde69f37456ddf1ea39e395c0a diff --git a/components/wpa_supplicant/Kconfig b/components/wpa_supplicant/Kconfig index 1536a508cf..85de704e41 100644 --- a/components/wpa_supplicant/Kconfig +++ b/components/wpa_supplicant/Kconfig @@ -8,6 +8,7 @@ menu "Supplicant" select MBEDTLS_ECDH_C select MBEDTLS_ECDSA_C select MBEDTLS_TLS_ENABLED + select MBEDTLS_ECP_DP_SECP256R1_ENABLED help Select this option to use MbedTLS crypto APIs which utilize hardware acceleration. diff --git a/components/wpa_supplicant/src/common/sae.c b/components/wpa_supplicant/src/common/sae.c index 3d04995327..6945606fbe 100644 --- a/components/wpa_supplicant/src/common/sae.c +++ b/components/wpa_supplicant/src/common/sae.c @@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group) /* Unsupported group */ wpa_printf(MSG_DEBUG, "SAE: Group %d not supported by the crypto library", group); - os_free(tmp); return ESP_FAIL; } diff --git a/docs/zh_CN/api-guides/wifi.rst b/docs/zh_CN/api-guides/wifi.rst index 1190c8409e..f62634ae19 100644 --- a/docs/zh_CN/api-guides/wifi.rst +++ b/docs/zh_CN/api-guides/wifi.rst @@ -1749,7 +1749,7 @@ Wi-Fi 80211 数据包发送 | | 上述建议仅供避免副作用,在有充分理由的情况下可以忽略。 | +---------------+--------------------------------------------------------------------------------------------+ | 有 Wi-Fi 连接 | 当 Wi-Fi 已连接,且序列由应用程序控制,应用程序可能会影响整个 Wi-Fi | -| | 连接的序列控制。 因此,en_sys_seq 要为 true,否则将返回 ESP_ERR_INVALID_ARG。 | +| | 连接的序列控制。 因此,en_sys_seq 要为 true,否则将返回 ESP_ERR_INVALID_ARG。 | | | | | | “无 Wi-Fi 连接” 情况下的 MAC 地址建议也适用于此情况。如果 Wi-Fi | | | 模式是 Station 模式,MAC 的地址 1 是 station 所连 AP 的 MAC,地址 | @@ -1774,7 +1774,7 @@ Wi-Fi 80211 数据包发送 | | | | | Data 和 Re-Transmission 位应该为 0,否则,Wi-Fi 驱动程序不接受该数据包。 | | | | -| | 如果任何检查失败,将返回 ESP_ERR_INVALID_ARG。 | +| | 如果任何检查失败,将返回 ESP_ERR_INVALID_ARG。 | +---------------+--------------------------------------------------------------------------------------------+ Wi-Fi Sniffer 模式