mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/enable_wpa3_pmf_by_default_v4.1' into 'release/v4.1'
Enable WPA3 & PMF by default (backport v4.1) See merge request espressif/esp-idf!8601
This commit is contained in:
commit
1cfeb8be7f
@ -297,7 +297,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 n
|
default y
|
||||||
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
|
||||||
|
@ -81,7 +81,11 @@ void wifi_init_sta(void)
|
|||||||
wifi_config_t wifi_config = {
|
wifi_config_t wifi_config = {
|
||||||
.sta = {
|
.sta = {
|
||||||
.ssid = EXAMPLE_ESP_WIFI_SSID,
|
.ssid = EXAMPLE_ESP_WIFI_SSID,
|
||||||
.password = EXAMPLE_ESP_WIFI_PASS
|
.password = EXAMPLE_ESP_WIFI_PASS,
|
||||||
|
.pmf_cfg = {
|
||||||
|
.capable = true,
|
||||||
|
.required = false
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA) );
|
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user