#define PKTSETLINK(skb, x) (((struct sk_buff *)(skb))->prev = (struct sk_buff*)(x))
#define PKTPRIO(skb) (((struct sk_buff *)(skb))->priority)
#define PKTSETPRIO(skb, x) (((struct sk_buff *)(skb))->priority = (x))
-#define PKTSUMNEEDED(skb) (((struct sk_buff *)(skb))->ip_summed == CHECKSUM_HW)
+#define PKTSUMNEEDED(skb) (((struct sk_buff *)(skb))->ip_summed == CHECKSUM_PARTIAL)
#define PKTSETSUMGOOD(skb, x) (((struct sk_buff *)(skb))->ip_summed = \
((x) ? CHECKSUM_UNNECESSARY : CHECKSUM_NONE))
/* PKTSETSUMNEEDED and PKTSUMGOOD are not possible because skb->ip_summed is overloaded */
#ifndef _linuxver_h_
#define _linuxver_h_
-#include <linux/version.h>
#include <linux/module.h>
-
#include <linux/slab.h>
-
#include <linux/types.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
-#undef IP_TOS
-#include <asm/io.h>
-
#include <linux/workqueue.h>
#include <linux/sched.h>
#include <linux/ieee80211.h>
-
-#define CHECKSUM_HW CHECKSUM_PARTIAL
-
#include <linux/time.h>
#include <linux/wait.h>
+#undef IP_TOS
+#include <asm/io.h>
+
#define KILL_PROC(nr, sig) \
do { \
struct task_struct *tsk; \
send_sig(sig, tsk, 1); \
} while (0)
-#define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev))
-
#endif /* _linuxver_h_ */
};
#ifndef WLC_HIGH_ONLY
+#define WL_DEV_IF(dev) ((wl_if_t *)netdev_priv(dev))
#define WL_INFO(dev) ((wl_info_t *)(WL_DEV_IF(dev)->wl)) /* points to wl */
static int wl_request_fw(wl_info_t *wl, struct pci_dev *pdev);
static void wl_release_fw(wl_info_t *wl);