DBus: Add "sae" to interface key_mgmt capabilities
This will be present when the driver supports SAE and it's included in the wpa_supplicant build. Signed-off-by: Brian Norris <briannorris@chromium.org>
This commit is contained in:
parent
200c7693c9
commit
7a9c367225
2 changed files with 7 additions and 1 deletions
|
@ -651,7 +651,7 @@ fi.w1.wpa_supplicant1.CreateInterface.
|
||||||
<tr><td>Pairwise</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "none"</td>
|
<tr><td>Pairwise</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "none"</td>
|
||||||
<tr><td>Group</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "wep104", "wep40"</td>
|
<tr><td>Group</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "wep104", "wep40"</td>
|
||||||
<tr><td>GroupMgmt</td><td>as</td><td>Possible array elements: "aes-128-cmac", "bip-gmac-128", "bip-gmac-256", "bip-cmac-256"</td>
|
<tr><td>GroupMgmt</td><td>as</td><td>Possible array elements: "aes-128-cmac", "bip-gmac-128", "bip-gmac-256", "bip-cmac-256"</td>
|
||||||
<tr><td>KeyMgmt</td><td>as</td><td>Possible array elements: "wpa-psk", "wpa-ft-psk", "wpa-psk-sha256", "wpa-eap", "wpa-ft-eap", "wpa-eap-sha256", "ieee8021x", "wpa-none", "wps", "none"</td>
|
<tr><td>KeyMgmt</td><td>as</td><td>Possible array elements: "wpa-psk", "wpa-ft-psk", "wpa-psk-sha256", "wpa-eap", "wpa-ft-eap", "wpa-eap-sha256", "sae", "ieee8021x", "wpa-none", "wps", "none"</td>
|
||||||
<tr><td>Protocol</td><td>as</td><td>Possible array elements: "rsn", "wpa"</td>
|
<tr><td>Protocol</td><td>as</td><td>Possible array elements: "rsn", "wpa"</td>
|
||||||
<tr><td>AuthAlg</td><td>as</td><td>Possible array elements: "open", "shared", "leap"</td>
|
<tr><td>AuthAlg</td><td>as</td><td>Possible array elements: "open", "shared", "leap"</td>
|
||||||
<tr><td>Scan</td><td>as</td><td>Possible array elements: "active", "passive", "ssid"</td>
|
<tr><td>Scan</td><td>as</td><td>Possible array elements: "active", "passive", "ssid"</td>
|
||||||
|
|
|
@ -2798,6 +2798,12 @@ dbus_bool_t wpas_dbus_getter_capabilities(
|
||||||
goto nomem;
|
goto nomem;
|
||||||
#endif /* CONFIG_WPS */
|
#endif /* CONFIG_WPS */
|
||||||
|
|
||||||
|
#ifdef CONFIG_SAE
|
||||||
|
if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) &&
|
||||||
|
!wpa_dbus_dict_string_array_add_element(&iter_array, "sae"))
|
||||||
|
goto nomem;
|
||||||
|
#endif /* CONFIG_SAE */
|
||||||
|
|
||||||
if (!wpa_dbus_dict_end_string_array(&iter_dict,
|
if (!wpa_dbus_dict_end_string_array(&iter_dict,
|
||||||
&iter_dict_entry,
|
&iter_dict_entry,
|
||||||
&iter_dict_val,
|
&iter_dict_val,
|
||||||
|
|
Loading…
Reference in a new issue