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")
[enable Intel OSPM support]), [enable_iospm=${enableval}])
AM_CONDITIONAL(IOSPM, test "${enable_iospm}" = "yes")
+AC_ARG_ENABLE(iwmxsdk, AC_HELP_STRING([--enable-iwmxsdk],
+ [enable Intel WiMAX support]), [enable_iwmxsdk=${enableval}])
+AM_CONDITIONAL(IWMXSDK, test "${enable_iwmxsdk}" = "yes")
+
AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit],
[enable PolicyKit support]), [enable_polkit=${enableval}])
if (test "${enable_polkit}" = "yes"); then
#include <connman/device.h>
#include <connman/log.h>
-static int wimax_probe(struct connman_device *device)
+static int iwmxsdk_probe(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static void wimax_remove(struct connman_device *device)
+static void iwmxsdk_remove(struct connman_device *device)
{
DBG("device %p", device);
}
-static int wimax_enable(struct connman_device *device)
+static int iwmxsdk_enable(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static int wimax_disable(struct connman_device *device)
+static int iwmxsdk_disable(struct connman_device *device)
{
DBG("device %p", device);
return 0;
}
-static struct connman_device_driver wimax_driver = {
- .name = "wimax",
+static struct connman_device_driver iwmxsdk_driver = {
+ .name = "iwmxsdk",
.type = CONNMAN_DEVICE_TYPE_WIMAX,
- .probe = wimax_probe,
- .remove = wimax_remove,
- .enable = wimax_enable,
- .disable = wimax_disable,
+ .probe = iwmxsdk_probe,
+ .remove = iwmxsdk_remove,
+ .enable = iwmxsdk_enable,
+ .disable = iwmxsdk_disable,
};
-static int wimax_init(void)
+static int iwmxsdk_init(void)
{
- return connman_device_driver_register(&wimax_driver);
+ return connman_device_driver_register(&iwmxsdk_driver);
}
-static void wimax_exit(void)
+static void iwmxsdk_exit(void)
{
- connman_device_driver_unregister(&wimax_driver);
+ connman_device_driver_unregister(&iwmxsdk_driver);
}
-CONNMAN_PLUGIN_DEFINE(wimax, "WiMAX interface plugin", VERSION,
- CONNMAN_PLUGIN_PRIORITY_DEFAULT, wimax_init, wimax_exit)
+CONNMAN_PLUGIN_DEFINE(iwmxsdk, "Intel WiMAX interface plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, iwmxsdk_init, iwmxsdk_exit)