Add network type for WiMAX
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Feb 2009 22:06:30 +0000 (23:06 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Feb 2009 22:06:30 +0000 (23:06 +0100)
include/network.h
src/network.c

index f5d2e95..78e5c0e 100644 (file)
@@ -38,6 +38,7 @@ extern "C" {
 enum connman_network_type {
        CONNMAN_NETWORK_TYPE_UNKNOWN       = 0,
        CONNMAN_NETWORK_TYPE_WIFI          = 1,
+       CONNMAN_NETWORK_TYPE_WIMAX         = 2,
        CONNMAN_NETWORK_TYPE_BLUETOOTH_PAN = 8,
        CONNMAN_NETWORK_TYPE_BLUETOOTH_DUN = 9,
        CONNMAN_NETWORK_TYPE_HSO           = 23,
index c41871d..e5b2ae5 100644 (file)
@@ -66,6 +66,8 @@ static const char *type2string(enum connman_network_type type)
                break;
        case CONNMAN_NETWORK_TYPE_WIFI:
                return "wifi";
+       case CONNMAN_NETWORK_TYPE_WIMAX:
+               return "wimax";
        case CONNMAN_NETWORK_TYPE_BLUETOOTH_PAN:
        case CONNMAN_NETWORK_TYPE_BLUETOOTH_DUN:
                return "bluetooth";