1 /* -----------------------------------------------------------------------------
2 * Copyright (c) 2011 Ozmo Inc
3 * Released under the GNU General Public License Version 2 (GPLv2).
4 * -----------------------------------------------------------------------------
6 #include <linux/init.h>
7 #include <linux/module.h>
8 #include <linux/timer.h>
9 #include <linux/sched.h>
10 #include <linux/netdevice.h>
11 #include <linux/errno.h>
12 #include <linux/ieee80211.h>
19 /*------------------------------------------------------------------------------
20 * The name of the 802.11 mac device. Empty string is the default value but a
21 * value can be supplied as a parameter to the module. An empty string means
22 * bind to nothing. '*' means bind to all netcards - this includes non-802.11
23 * netcards. Bindings can be added later using an IOCTL.
26 /*------------------------------------------------------------------------------
29 static int __init ozwpan_init(void)
33 oz_protocol_init(g_net_dev);
34 oz_app_enable(OZ_APPID_USB, 1);
38 /*------------------------------------------------------------------------------
41 static void __exit ozwpan_exit(void)
48 /*------------------------------------------------------------------------------
50 module_param(g_net_dev, charp, S_IRUGO);
51 module_init(ozwpan_init);
52 module_exit(ozwpan_exit);
54 MODULE_AUTHOR("Chris Kelly");
55 MODULE_DESCRIPTION("Ozmo Devices USB over WiFi hcd driver");
56 MODULE_VERSION("1.0.8");
57 MODULE_LICENSE("GPL");