mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1
This commit is contained in:
parent
3d85e81be2
commit
a319ccb552
@ -244,7 +244,7 @@ menu "Wi-Fi"
|
|||||||
config ESP32_WIFI_ENABLE_WPA3_SAE
|
config ESP32_WIFI_ENABLE_WPA3_SAE
|
||||||
bool "Enable WPA3-Personal"
|
bool "Enable WPA3-Personal"
|
||||||
default y
|
default y
|
||||||
depends on WPA_MBEDTLS_CRYPTO
|
select WPA_MBEDTLS_CRYPTO
|
||||||
help
|
help
|
||||||
Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's.
|
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
|
PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 6fd120a997d581bbee290b1c6732c93869feef99
|
Subproject commit ffefe60c4ed6babde69f37456ddf1ea39e395c0a
|
@ -8,6 +8,7 @@ menu "Supplicant"
|
|||||||
select MBEDTLS_ECDH_C
|
select MBEDTLS_ECDH_C
|
||||||
select MBEDTLS_ECDSA_C
|
select MBEDTLS_ECDSA_C
|
||||||
select MBEDTLS_TLS_ENABLED
|
select MBEDTLS_TLS_ENABLED
|
||||||
|
select MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||||
help
|
help
|
||||||
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
||||||
|
|
||||||
|
@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group)
|
|||||||
/* Unsupported group */
|
/* Unsupported group */
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"SAE: Group %d not supported by the crypto library", group);
|
"SAE: Group %d not supported by the crypto library", group);
|
||||||
os_free(tmp);
|
|
||||||
return ESP_FAIL;
|
return ESP_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1749,7 +1749,7 @@ Wi-Fi 80211 数据包发送
|
|||||||
| | 上述建议仅供避免副作用,在有充分理由的情况下可以忽略。 |
|
| | 上述建议仅供避免副作用,在有充分理由的情况下可以忽略。 |
|
||||||
+---------------+--------------------------------------------------------------------------------------------+
|
+---------------+--------------------------------------------------------------------------------------------+
|
||||||
| 有 Wi-Fi 连接 | 当 Wi-Fi 已连接,且序列由应用程序控制,应用程序可能会影响整个 Wi-Fi |
|
| 有 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 |
|
| | “无 Wi-Fi 连接” 情况下的 MAC 地址建议也适用于此情况。如果 Wi-Fi |
|
||||||
| | 模式是 Station 模式,MAC 的地址 1 是 station 所连 AP 的 MAC,地址 |
|
| | 模式是 Station 模式,MAC 的地址 1 是 station 所连 AP 的 MAC,地址 |
|
||||||
@ -1774,7 +1774,7 @@ Wi-Fi 80211 数据包发送
|
|||||||
| | |
|
| | |
|
||||||
| | Data 和 Re-Transmission 位应该为 0,否则,Wi-Fi 驱动程序不接受该数据包。 |
|
| | Data 和 Re-Transmission 位应该为 0,否则,Wi-Fi 驱动程序不接受该数据包。 |
|
||||||
| | |
|
| | |
|
||||||
| | 如果任何检查失败,将返回 ESP_ERR_INVALID_ARG。 |
|
| | 如果任何检查失败,将返回 ESP_ERR_INVALID_ARG。 |
|
||||||
+---------------+--------------------------------------------------------------------------------------------+
|
+---------------+--------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
Wi-Fi Sniffer 模式
|
Wi-Fi Sniffer 模式
|
||||||
|
Loading…
Reference in New Issue
Block a user