5 * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 #define CONNMAN_API_SUBJECT_TO_CHANGE
27 #include <connman/plugin.h>
28 #include <connman/device.h>
29 #include <connman/log.h>
31 static int wimax_probe(struct connman_device *device)
33 DBG("device %p", device);
38 static void wimax_remove(struct connman_device *device)
40 DBG("device %p", device);
43 static int wimax_enable(struct connman_device *device)
45 DBG("device %p", device);
50 static int wimax_disable(struct connman_device *device)
52 DBG("device %p", device);
57 static struct connman_device_driver wimax_driver = {
59 .type = CONNMAN_DEVICE_TYPE_WIMAX,
61 .remove = wimax_remove,
62 .enable = wimax_enable,
63 .disable = wimax_disable,
66 static int wimax_init(void)
68 return connman_device_driver_register(&wimax_driver);
71 static void wimax_exit(void)
73 connman_device_driver_unregister(&wimax_driver);
76 CONNMAN_PLUGIN_DEFINE(wimax, "WiMAX interface plugin", VERSION,
77 wimax_init, wimax_exit)