libnm-util: clarify WiFi security pairwise/group property descriptions

This commit is contained in:
Dan Williams
2013-04-29 15:31:43 -05:00
parent 72ea5dac33
commit ccaf5231a2

View File

@@ -1325,38 +1325,44 @@ nm_setting_wireless_security_class_init (NMSettingWirelessSecurityClass *setting
/** /**
* NMSettingWirelessSecurity:pairwise: * NMSettingWirelessSecurity:pairwise:
* *
* If specified, will only connect to WPA networks that provide the * A list of pairwise encryption algorithms which prevents connections to
* specified pairwise encryption capabilities. Each element may be one of * Wi-Fi networks that do not utilize one of the algorithms in the list. For
* 'wep40', 'wep104', 'tkip', or 'ccmp'. * maximum compatibility leave this property empty. Each list element may
* be one of 'wep40', 'wep104', 'tkip', or 'ccmp'.
**/ **/
g_object_class_install_property g_object_class_install_property
(object_class, PROP_PAIRWISE, (object_class, PROP_PAIRWISE,
_nm_param_spec_specialized (NM_SETTING_WIRELESS_SECURITY_PAIRWISE, _nm_param_spec_specialized (NM_SETTING_WIRELESS_SECURITY_PAIRWISE,
"Pairwise", "Pairwise",
"If specified, will only connect to WPA networks " "A list of pairwise encryption algorithms which "
"that provide the specified pairwise encryption " "prevents connections to Wi-Fi networks that do "
"capabilities. Each element may be one of 'wep40', " "not utilize one of the algorithms in the list. "
"'wep104', 'tkip', or 'ccmp'.", "For maximum compatibility leave this property "
DBUS_TYPE_G_LIST_OF_STRING, "empty. Each list element may be one of 'wep40', "
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); "'wep104', 'tkip' or 'ccmp'.",
DBUS_TYPE_G_LIST_OF_STRING,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
/** /**
* NMSettingWirelessSecurity:group: * NMSettingWirelessSecurity:group:
* *
* If specified, will only connect to WPA networks that provide the * A list of group/broadcast encryption algorithms which prevents
* specified group/multicast encryption capabilities. Each element may be * connections to Wi-Fi networks that do not utilize one of the algorithms
* one of 'wep40', 'wep104', 'tkip', or 'ccmp'. * in the list. For maximum compatibility leave this property empty. Each
* list element may be one of 'wep40', 'wep104', 'tkip', or 'ccmp'.
**/ **/
g_object_class_install_property g_object_class_install_property
(object_class, PROP_GROUP, (object_class, PROP_GROUP,
_nm_param_spec_specialized (NM_SETTING_WIRELESS_SECURITY_GROUP, _nm_param_spec_specialized (NM_SETTING_WIRELESS_SECURITY_GROUP,
"Group", "Group",
"If specified, will only connect to WPA networks " "A list of group/broadcast encryption algorithms "
"that provide the specified group/multicast " "which prevents connections to Wi-Fi networks "
"encryption capabilities. Each element may be " "that do not utilize one of the algorithms in "
"one of 'wep40', 'wep104', 'tkip', or 'ccmp'.", "the list. For maximum compatibility leave this "
DBUS_TYPE_G_LIST_OF_STRING, "property empty. Each list element may be one "
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); " of 'wep40', 'wep104', 'tkip', or 'ccmp'.",
DBUS_TYPE_G_LIST_OF_STRING,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
/** /**
* NMSettingWirelessSecurity:leap-username: * NMSettingWirelessSecurity:leap-username: