mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 19:10:31 +01:00
client/tui: add OWE support
This commit is contained in:
parent
977c0c2387
commit
a8d5fef607
2 changed files with 10 additions and 0 deletions
|
|
@ -595,6 +595,9 @@ get_security_type (NMEditorWirelessSecurityMethodBinding *binding)
|
|||
if (!strcmp (key_mgmt, "sae"))
|
||||
return "wpa3-personal";
|
||||
|
||||
if (!strcmp (key_mgmt, "owe"))
|
||||
return "owe";
|
||||
|
||||
if (!strcmp (key_mgmt, "wpa-eap"))
|
||||
return "wpa-enterprise";
|
||||
|
||||
|
|
@ -705,6 +708,12 @@ wireless_security_target_changed (GObject *object,
|
|||
NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, NULL,
|
||||
NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE, NM_WEP_KEY_TYPE_UNKNOWN,
|
||||
NULL);
|
||||
} else if (!strcmp (method, "owe")) {
|
||||
g_object_set (binding->s_wsec,
|
||||
NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "owe",
|
||||
NM_SETTING_WIRELESS_SECURITY_AUTH_ALG, NULL,
|
||||
NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE, NM_WEP_KEY_TYPE_UNKNOWN,
|
||||
NULL);
|
||||
} else if (!strcmp (method, "wpa-enterprise")) {
|
||||
g_object_set (binding->s_wsec,
|
||||
NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "wpa-eap",
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ static NmtNewtPopupEntry wifi_security[] = {
|
|||
{ N_("WEP 128-bit Passphrase"), "wep-passphrase" },
|
||||
{ N_("Dynamic WEP (802.1x)"), "dynamic-wep" },
|
||||
{ N_("LEAP"), "leap" },
|
||||
{ N_("Enhanced Open (OWE)"), "owe" },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue