staging: vt6656: fix headers and add cfg80211.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2012-11-24 14:19:34 +00:00 committed by Greg Kroah-Hartman
parent b1a21ee9de
commit 11d404cb56
4 changed files with 16 additions and 31 deletions

View File

@ -52,11 +52,11 @@
* *
*/ */
#include "device.h"
#include "tmacro.h" #include "tmacro.h"
#include "tether.h" #include "tether.h"
#include "80211mgr.h" #include "80211mgr.h"
#include "80211hdr.h" #include "80211hdr.h"
#include "device.h"
#include "wpa.h" #include "wpa.h"
/*--------------------- Static Definitions -------------------------*/ /*--------------------- Static Definitions -------------------------*/

View File

@ -30,43 +30,28 @@
#define __DEVICE_H__ #define __DEVICE_H__
#include <linux/module.h> #include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/interrupt.h> #include <linux/init.h>
#include <linux/string.h> #include <linux/delay.h>
#include <linux/wait.h> #include <linux/device.h>
#include <linux/if_arp.h>
#include <linux/sched.h>
#include <linux/if.h>
#include <linux/rtnetlink.h>//James
#include <linux/proc_fs.h>
#include <linux/inetdevice.h>
#include <linux/reboot.h>
#include <linux/usb.h>
#include <linux/signal.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include <asm/io.h> #include <linux/etherdevice.h>
#include <asm/uaccess.h> #include <linux/suspend.h>
#include <linux/if_arp.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <net/cfg80211.h>
#include <linux/timer.h>
#include <linux/usb.h>
#ifdef SIOCETHTOOL #ifdef SIOCETHTOOL
#define DEVICE_ETHTOOL_IOCTL_SUPPORT #define DEVICE_ETHTOOL_IOCTL_SUPPORT
#include <linux/ethtool.h> #include <linux/ethtool.h>
#else #else
#undef DEVICE_ETHTOOL_IOCTL_SUPPORT #undef DEVICE_ETHTOOL_IOCTL_SUPPORT
#endif #endif
/* Include Wireless Extension definition and check version - Jean II */
#include <linux/wireless.h>
#include <net/iw_handler.h> // New driver API
//please copy below macro to driver_event.c for API //please copy below macro to driver_event.c for API
#define RT_INSMOD_EVENT_FLAG 0x0101 #define RT_INSMOD_EVENT_FLAG 0x0101

View File

@ -36,9 +36,9 @@
* *
*/ */
#include "mac.h"
#include "tmacro.h" #include "tmacro.h"
#include "key.h" #include "key.h"
#include "mac.h"
#include "rndis.h" #include "rndis.h"
#include "control.h" #include "control.h"

View File

@ -31,8 +31,8 @@
* *
*/ */
#include "wpa2.h"
#include "device.h" #include "device.h"
#include "wpa2.h"
/*--------------------- Static Definitions -------------------------*/ /*--------------------- Static Definitions -------------------------*/
static int msglevel =MSG_LEVEL_INFO; static int msglevel =MSG_LEVEL_INFO;