From 50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 Mon Sep 17 00:00:00 2001
From: Michael Biebl the number of security protocols this connection allows when
connecting to secure Wi-Fi networks the protocol at index
@@ -576,7 +575,6 @@ nm_setting_wireless_security_get_key_mgmt
@@ -604,7 +602,6 @@ nm_setting_wireless_security_get_num_protos
Returns
@@ -640,7 +637,6 @@ nm_setting_wireless_security_get_proto
Returns
i
@@ -682,7 +678,6 @@ with the access point.
TRUE if the protocol was new and and was added to the allowed
protocol list, or FALSE if it was already in the list
Since 0.9.10
+Since: 0.9.10
the pairwise encryption algorithm at index i
TRUE if the algorithm was added to the list, FALSE if it was
already in the list
Since 0.9.10
+Since: 0.9.10
the groupwise encryption algorithm at index i
TRUE if the algorithm was added to the list, FALSE if it was
already in the list
Since 0.9.10
+Since: 0.9.10
Returns
the “psk” property of the setting
-
the NMSettingSecretFlags pertaining to the “psk”
-the NMSettingSecretFlags pertaining to the “leap-password”
-#define NM_SETTING_WIRELESS_SECURITY_SETTING_NAME "802-11-wireless-security"-
-
#define NM_SETTING_WIRELESS_SECURITY_ERROR nm_setting_wireless_security_error_quark ()-
-
#define NM_SETTING_WIRELESS_SECURITY_KEY_MGMT "key-mgmt"-
-
#define NM_SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX "wep-tx-keyidx"-
-
#define NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME "leap-username"-
-
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS "wep-key-flags"-
-
#define NM_SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE "wep-key-type"-
-
#define NM_SETTING_WIRELESS_SECURITY_PSK_FLAGS "psk-flags"-
-
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD "leap-password"-
-
#define NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS "leap-password-flags"-
-
“auth-alg” property “auth-alg” gchar *
-
+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.
Flags: Read / Write
Default value: NULL
“group” property “group” GSList_gchararray_ *
-
+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".
Flags: Read / Write
“key-mgmt” property “key-mgmt” gchar *
-
+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.
Flags: Read / Write
Default value: NULL
“leap-password” property “leap-password” gchar *
-
+The login password for legacy LEAP connections (ie, key-mgmt = +"ieee8021x" and auth-alg = "leap").
Flags: Read / Write
Default value: NULL
“leap-password-flags” property “leap-password-flags” guint
-
+Flags indicating how to handle the +“leap-password” property.
Flags: Read / Write
Allowed values: <= 7
Default value: 0
@@ -1825,7 +1775,8 @@ the actual WEP key using the MD5 hash algorithm.“leap-username” property “leap-username” gchar *
-
+The login username for legacy LEAP connections (ie, key-mgmt = +"ieee8021x" and auth-alg = "leap").
Flags: Read / Write
Default value: NULL
“pairwise” property “pairwise” GSList_gchararray_ *
-
+A list of pairwise 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 "tkip" or "ccmp".
Flags: Read / Write
“proto” property “proto” GSList_gchararray_ *
-
+List of strings specifying the allowed WPA protocol versions to use. +Each element may be one "wpa" (allow WPA) or "rsn" (allow WPA2/RSN). If +not specified, both WPA and RSN connections are allowed.
Flags: Read / Write
“psk” property “psk” gchar *
-
+Pre-Shared-Key for WPA networks. If the key is 64-characters long, it +must contain only hexadecimal characters and is interpreted as a +hexadecimal WPA key. Otherwise, the key must be between 8 and 63 ASCII +characters (as specified in the 802.11i standard) and is interpreted as a +WPA passphrase, and is hashed to derive the actual WPA-PSK used when +connecting to the Wi-Fi network.
Flags: Read / Write
Default value: NULL
“psk-flags” property “psk-flags” guint
-
+Flags indicating how to handle the “psk” +property.
Flags: Read / Write
Allowed values: <= 7
Default value: 0
@@ -1864,7 +1826,9 @@ the actual WEP key using the MD5 hash algorithm.“wep-key-flags” property “wep-key-flags” guint
-
+Flags indicating how to handle the “wep-key0”, +“wep-key1”, “wep-key2”, +and “wep-key3” properties.
Flags: Read / Write
Allowed values: <= 7
Default value: 0
@@ -1873,7 +1837,12 @@ the actual WEP key using the MD5 hash algorithm.“wep-key-type” property “wep-key-type” guint
-
+Controls the interpretation of WEP keys. Allowed values are
+NM_WEP_KEY_TYPE_KEY, in which case the key is either a 10- or
+26-character hexadecimal string, or a 5- or 13-character ASCII password;
+or NM_WEP_KEY_TYPE_PASSPHRASE, in which case the passphrase is provided
+as a string and will be hashed using the de-facto MD5 method to derive
+the actual WEP key.
Flags: Read / Write / Construct
Allowed values: <= 2
Default value: 0
@@ -1882,7 +1851,8 @@ the actual WEP key using the MD5 hash algorithm.“wep-key0” property “wep-key0” gchar *
-
+Index 0 WEP key. This is the WEP key used in most networks. See the +"wep-key-type" property for a description of how this key is interpreted.
Flags: Read / Write
Default value: NULL
“wep-key1” property “wep-key1” gchar *
-
+Index 1 WEP key. This WEP index is not used by most networks. See the +"wep-key-type" property for a description of how this key is interpreted.
Flags: Read / Write
Default value: NULL
“wep-key2” property “wep-key2” gchar *
-
+Index 2 WEP key. This WEP index is not used by most networks. See the +"wep-key-type" property for a description of how this key is interpreted.
Flags: Read / Write
Default value: NULL
“wep-key3” property “wep-key3” gchar *
-
+Index 3 WEP key. This WEP index is not used by most networks. See the +"wep-key-type" property for a description of how this key is interpreted.
Flags: Read / Write
Default value: NULL
“wep-tx-keyidx” property “wep-tx-keyidx” guint
-
+When static WEP is used (ie, key-mgmt = "none") and a non-default WEP key +index is used by the AP, put that WEP key index here. Valid values are 0 +(default key) through 3. Note that some consumer access points (like the +Linksys WRT54G) number the keys 1 - 4.
Flags: Read / Write / Construct
Allowed values: <= 3
Default value: 0
@@ -1922,7 +1898,6 @@ the actual WEP key using the MD5 hash algorithm.