fi
AM_CONDITIONAL(WIFI, test "${enable_wifi}" = "yes")
+AC_ARG_ENABLE(wimax, AC_HELP_STRING([--enable-wimax],
+ [enable WiMAX support]), [enable_wimax=${enableval}])
+AM_CONDITIONAL(WIMAX, test "${enable_wimax}" = "yes")
+
AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--enable-bluetooth],
[enable Bluetooth support]), [enable_bluetooth=${enableval}])
AM_CONDITIONAL(BLUETOOTH, test "${enable_bluetooth}" = "yes")
--- /dev/null
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/plugin.h>
+#include <connman/device.h>
+#include <connman/log.h>
+
+static int wimax_probe(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static void wimax_remove(struct connman_device *device)
+{
+ DBG("device %p", device);
+}
+
+static int wimax_enable(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static int wimax_disable(struct connman_device *device)
+{
+ DBG("device %p", device);
+
+ return 0;
+}
+
+static struct connman_device_driver wimax_driver = {
+ .name = "wimax",
+ .type = CONNMAN_DEVICE_TYPE_WIMAX,
+ .probe = wimax_probe,
+ .remove = wimax_remove,
+ .enable = wimax_enable,
+ .disable = wimax_disable,
+};
+
+static int wimax_init(void)
+{
+ return connman_device_driver_register(&wimax_driver);
+}
+
+static void wimax_exit(void)
+{
+ connman_device_driver_unregister(&wimax_driver);
+}
+
+CONNMAN_PLUGIN_DEFINE(wimax, "WiMAX interface plugin", VERSION,
+ wimax_init, wimax_exit)