Skip to content

Commit

Permalink
Add support for WPA3 (SAE) on Linux (#23404)
Browse files Browse the repository at this point in the history
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 <andy314@gmail.com>
  • Loading branch information
afeatherstone-mm and andy31415 authored Nov 17, 2023
1 parent 4b515e8 commit dca4271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Linux/ConnectivityManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dca4271

Please sign in to comment.