From dca427168edd52b958c6d21cd1290e516b32a8cf Mon Sep 17 00:00:00 2001 From: afeatherstone-mm <116797982+afeatherstone-mm@users.noreply.github.com> Date: Fri, 17 Nov 2023 19:04:02 +0000 Subject: [PATCH] Add support for WPA3 (SAE) on Linux (#23404) wpa_supplicant will use SAE, if required by the network. Support for WPA3 is required as part of v1.0 of the Matter Specification (refer to 11.8.8.4 for details). Resolves #23402. Co-authored-by: Andrei Litvin --- src/platform/Linux/ConnectivityManagerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Linux/ConnectivityManagerImpl.cpp b/src/platform/Linux/ConnectivityManagerImpl.cpp index bbc96914e64e4b..c93a723628fa81 100644 --- a/src/platform/Linux/ConnectivityManagerImpl.cpp +++ b/src/platform/Linux/ConnectivityManagerImpl.cpp @@ -1017,7 +1017,7 @@ ConnectivityManagerImpl::ConnectWiFiNetworkAsync(ByteSpan ssid, ByteSpan credent memcpy(keyStr, credentials.data(), credentials.size()); g_variant_builder_add(&builder, "{sv}", "ssid", g_variant_new_string(ssidStr)); g_variant_builder_add(&builder, "{sv}", "psk", g_variant_new_string(keyStr)); - g_variant_builder_add(&builder, "{sv}", "key_mgmt", g_variant_new_string("WPA-PSK")); + g_variant_builder_add(&builder, "{sv}", "key_mgmt", g_variant_new_string("SAE WPA-PSK")); args = g_variant_builder_end(&builder); result = wpa_fi_w1_wpa_supplicant1_interface_call_add_network_sync(mWpaSupplicant.iface, args, &mWpaSupplicant.networkPath,