[PATCH v2 6/7] cli: add support for FILS



Signed-off-by: Masashi Honma <masashi honma gmail com>
---
 clients/common/nm-meta-setting-desc.c | 8 ++++++++
 clients/common/settings-docs.h.in     | 1 +
 2 files changed, 9 insertions(+)

diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
index a028c9a..3faadd7 100644
--- a/clients/common/nm-meta-setting-desc.c
+++ b/clients/common/nm-meta-setting-desc.c
@@ -7391,6 +7391,14 @@ static const NMMetaPropertyInfo *const property_infos_WIRELESS_SECURITY[] = {
                        ),
                ),
        ),
+       PROPERTY_INFO_WITH_DESC (NM_SETTING_WIRELESS_SECURITY_FILS,
+               .property_type =                &_pt_gobject_enum,
+               .property_typ_data = DEFINE_PROPERTY_TYP_DATA (
+                       PROPERTY_TYP_DATA_SUBTYPE (gobject_enum,
+                               .get_gtype =            nm_setting_wireless_security_fils_get_type,
+                       ),
+               ),
+       ),
        NULL
 };
 
diff --git a/clients/common/settings-docs.h.in b/clients/common/settings-docs.h.in
index a53c230..4a295a4 100644
--- a/clients/common/settings-docs.h.in
+++ b/clients/common/settings-docs.h.in
@@ -22,6 +22,7 @@
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_SSID N_("SSID of the Wi-Fi network. Must be specified.")
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_TX_POWER N_("If non-zero, directs the device to use the specified 
transmit power. Units are dBm.  This property is highly driver dependent and not all devices support setting 
a static transmit power.")
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_SECURITY_AUTH_ALG N_("When WEP is used (ie, key-mgmt = \"none\" or 
\"ieee8021x\") indicate the 802.11 authentication algorithm required by the AP here.  One of \"open\" for 
Open System, \"shared\" for Shared Key, or \"leap\" for Cisco LEAP.  When using Cisco LEAP (ie, key-mgmt = 
\"ieee8021x\" and auth-alg = \"leap\") the \"leap-username\" and \"leap-password\" properties must be 
specified.")
+#define DESCRIBE_DOC_NM_SETTING_WIRELESS_SECURITY_FILS N_("Indicates whether Fast Initial Link Setup 
(802.11ai) must be enabled for the connection.  One of NM_SETTING_WIRELESS_SECURITY_FILS_DEFAULT (0) (use 
global default value), NM_SETTING_WIRELESS_SECURITY_FILS_DISABLE (1) (disable FILS), 
NM_SETTING_WIRELESS_SECURITY_FILS_OPTIONAL (2) (enable FILS if the supplicant and the access point support 
it) or NM_SETTING_WIRELESS_SECURITY_FILS_REQUIRED (3) (enable FILS and fail if not supported).  When set to 
NM_SETTING_WIRELESS_SECURITY_FILS_DEFAULT (0) and no global default is set, FILS will be optionally enabled.")
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_SECURITY_GROUP N_("A list of group/broadcast encryption algorithms 
which prevents connections to Wi-Fi networks that do not utilize one of the algorithms in the list.  For 
maximum compatibility leave this property empty.  Each list element may be one of \"wep40\", \"wep104\", 
\"tkip\", or \"ccmp\".")
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_SECURITY_KEY_MGMT N_("Key management used for the connection.  One 
of \"none\" (WEP), \"ieee8021x\" (Dynamic WEP), \"wpa-none\" (Ad-Hoc WPA-PSK), \"wpa-psk\" (infrastructure 
WPA-PSK), or \"wpa-eap\" (WPA-Enterprise).  This property must be set for any Wi-Fi connection that uses 
security.")
 #define DESCRIBE_DOC_NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD N_("The login password for legacy LEAP 
connections (ie, key-mgmt = \"ieee8021x\" and auth-alg = \"leap\").")
-- 
2.7.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]