dbus: Export new 'suiteb192' capability

Export a new 'suiteb192' capability to indicate that wpa_supplicant was
built with WPA-EAP-SUITE-B-192 support and accepts
'key_mgmt=WPA-EAP-SUITE-B-192'.

Signed-off-by: Antonio Cardace <acardace@redhat.com>
This commit is contained in:
Antonio Cardace 2020-12-16 17:55:40 +01:00 committed by Jouni Malinen
parent 9cdcc88238
commit 8f58972942

View file

@ -1011,7 +1011,7 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
const struct wpa_dbus_property_desc *property_desc, const struct wpa_dbus_property_desc *property_desc,
DBusMessageIter *iter, DBusError *error, void *user_data) DBusMessageIter *iter, DBusError *error, void *user_data)
{ {
const char *capabilities[12]; const char *capabilities[13];
size_t num_items = 0; size_t num_items = 0;
struct wpa_global *global = user_data; struct wpa_global *global = user_data;
struct wpa_supplicant *wpa_s; struct wpa_supplicant *wpa_s;
@ -1062,6 +1062,9 @@ dbus_bool_t wpas_dbus_getter_global_capabilities(
#ifdef CONFIG_OWE #ifdef CONFIG_OWE
capabilities[num_items++] = "owe"; capabilities[num_items++] = "owe";
#endif /* CONFIG_OWE */ #endif /* CONFIG_OWE */
#ifdef CONFIG_SUITEB192
capabilities[num_items++] = "suiteb192";
#endif /* CONFIG_SUITEB192 */
if (ext_key_id_supported) if (ext_key_id_supported)
capabilities[num_items++] = "extended_key_id"; capabilities[num_items++] = "extended_key_id";