wpa_supplicant/0001-dbus-Expose-support-of-SAE-key-management.patch
Lubomir Rintel b324e38db0 Expose support of SAE key management on D-Bus
Also do a new build once the WPA3 features are turned on.
2019-01-22 13:05:32 +01:00

30 lines
1.1 KiB
Diff

From 24b22f0aa352bf958c9f67c4ee599e0501a163e8 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 21 Jan 2019 17:18:11 +0000
Subject: [PATCH] dbus: Expose support of SAE key management
This is going to be useful for NetworkManager and likely others.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
wpa_supplicant/dbus/dbus_new_handlers.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index c3dc8854c..06769e174 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -4539,6 +4539,12 @@ static dbus_bool_t wpas_dbus_get_bss_security_prop(
if (ie_data->key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384)
key_mgmt[n++] = "wpa-ft-fils-sha384";
#endif /* CONFIG_FILS */
+#ifdef CONFIG_SAE
+ if (ie_data->key_mgmt & WPA_KEY_MGMT_SAE)
+ key_mgmt[n++] = "sae";
+ if (ie_data->key_mgmt & WPA_KEY_MGMT_FT_SAE)
+ key_mgmt[n++] = "ft-sae";
+#endif /* CONFIG_SAE */
if (ie_data->key_mgmt & WPA_KEY_MGMT_NONE)
key_mgmt[n++] = "wpa-none";