+---------------------------------------+
| Guest (strength 90, none) |
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) |
+ | My WiFi AP (strength 80, rsn) |
+---------------------------------------+
| Clear WiMAX (strength 70) |
+---------------------------------------+
- | Other AP (strength 70, wpa2) |
+ | Other AP (strength 70, rsn) |
+---------------------------------------+
| Friends AP (strength 70, wep) |
+---------------------------------------+
delete/remove button.
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=1 - favorite=yes
+ | My WiFi AP (strength 80, rsn) | order=1 - favorite=yes
+---------------------------------------+
| Ethernet | order=0
+---------------------------------------+
+---------------------------------------+
| Ethernet | order=2 - connected=yes
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=1 - connected=yes
+ | My WiFi AP (strength 80, rsn) | order=1 - connected=yes
+---------------------------------------+
| Guest (strength 90, none) | order=0
+---------------------------------------+
A working connection is considered top priority.
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=2 - connected=yes
+ | My WiFi AP (strength 80, rsn) | order=2 - connected=yes
+---------------------------------------+
| Ethernet | order=1 - connected=yes
+---------------------------------------+
down in the list.
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=1 - connected=yes
+ | My WiFi AP (strength 80, rsn) | order=1 - connected=yes
+---------------------------------------+
| Ethernet | order=0
+---------------------------------------+
+---------------------------------------+
| Ethernet | order=2 - connected=yes
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=1 - connected=no
+ | My WiFi AP (strength 80, rsn) | order=1 - connected=no
+---------------------------------------+
| Guest (strength 90, none) | order=0
+---------------------------------------+
order number of 0 (directly after all favorite services).
+---------------------------------------+
- | My WiFi AP (strength 80, wpa2) | order=1 - connected=no
+ | My WiFi AP (strength 80, rsn) | order=1 - connected=no
+---------------------------------------+
| Ethernet | order=0 - connected=no
+---------------------------------------+
DBUS_TYPE_BYTE, &network, len);
if (g_ascii_strcasecmp(security, "wpa") == 0 ||
- g_ascii_strcasecmp(security, "wpa2") == 0) {
+ g_ascii_strcasecmp(security, "rsn") == 0) {
const char *key_mgmt = "WPA-PSK";
connman_dbus_dict_append_variant(&dict, "key_mgmt",
DBUS_TYPE_STRING, &key_mgmt);
strength = result.quality;
if (result.has_rsn == TRUE)
- security = "wpa2";
+ security = "rsn";
else if (result.has_wpa == TRUE)
security = "wpa";
else if (result.has_wep == TRUE)
return "wep";
case CONNMAN_SERVICE_SECURITY_WPA:
return "wpa";
- case CONNMAN_SERVICE_SECURITY_WPA2:
- return "wpa2";
+ case CONNMAN_SERVICE_SECURITY_RSN:
+ return "rsn";
}
return NULL;
return CONNMAN_SERVICE_SECURITY_WEP;
else if (g_str_equal(security, "wpa") == TRUE)
return CONNMAN_SERVICE_SECURITY_WPA;
- else if (g_str_equal(security, "wpa2") == TRUE)
- return CONNMAN_SERVICE_SECURITY_WPA2;
+ else if (g_str_equal(security, "rsn") == TRUE)
+ return CONNMAN_SERVICE_SECURITY_RSN;
else
return CONNMAN_SERVICE_SECURITY_UNKNOWN;
}