2 * Copyright (c) 2010 Broadcom Corporation
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
14 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 #include <linux/version.h>
21 #include <linux/module.h>
23 #include <linux/slab.h>
25 #include <linux/types.h>
26 #include <linux/init.h>
28 #include <linux/string.h>
29 #include <linux/pci.h>
30 #include <linux/interrupt.h>
31 #include <linux/netdevice.h>
35 #include <linux/workqueue.h>
36 #include <linux/sched.h>
37 #include <linux/ieee80211.h>
39 #define CHECKSUM_HW CHECKSUM_PARTIAL
41 #include <linux/time.h>
42 #include <linux/wait.h>
44 #define KILL_PROC(nr, sig) \
46 struct task_struct *tsk; \
48 pid = find_get_pid((pid_t)nr); \
49 tsk = pid_task(pid, PIDTYPE_PID); \
51 send_sig(sig, tsk, 1); \
54 #define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev))
56 #endif /* _linuxver_h_ */