aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-25 20:31:13 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-25 20:31:13 -0400
commitb4bf343093e81e33d75bede45896eda52cd5f2b4 (patch)
tree7fd5ce5f428995e6d612014e3ca7ad3f917fcf65 /drivers/net/wireless/ipw2200.h
parent343b0597297c3190647854881c087c01faf40a6f (diff)
parent099c5bb169e9816a7761336f668b63010762807b (diff)
/spare/repo/netdev-2.6 branch 'ieee80211'
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r--drivers/net/wireless/ipw2200.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h
index 78b5f444271d..3bff09d93154 100644
--- a/drivers/net/wireless/ipw2200.h
+++ b/drivers/net/wireless/ipw2200.h
@@ -53,26 +53,6 @@
53 53
54#include <linux/workqueue.h> 54#include <linux/workqueue.h>
55 55
56#ifndef IRQ_NONE
57typedef void irqreturn_t;
58#define IRQ_NONE
59#define IRQ_HANDLED
60#define IRQ_RETVAL(x)
61#endif
62
63#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) )
64#define __iomem
65#endif
66
67#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,5) )
68#define pci_dma_sync_single_for_cpu pci_dma_sync_single
69#define pci_dma_sync_single_for_device pci_dma_sync_single
70#endif
71
72#ifndef HAVE_FREE_NETDEV
73#define free_netdev(x) kfree(x)
74#endif
75
76/* Authentication and Association States */ 56/* Authentication and Association States */
77enum connection_manager_assoc_states 57enum connection_manager_assoc_states
78{ 58{
@@ -93,8 +73,6 @@ enum connection_manager_assoc_states
93}; 73};
94 74
95 75
96#define IPW_NORMAL 0
97#define IPW_NOWAIT 0
98#define IPW_WAIT (1<<0) 76#define IPW_WAIT (1<<0)
99#define IPW_QUIET (1<<1) 77#define IPW_QUIET (1<<1)
100#define IPW_ROAMING (1<<2) 78#define IPW_ROAMING (1<<2)
@@ -200,7 +178,7 @@ enum connection_manager_assoc_states
200 178
201/* even if MAC WEP set (allows pre-encrypt) */ 179/* even if MAC WEP set (allows pre-encrypt) */
202#define DCT_FLAG_NO_WEP 0x20 180#define DCT_FLAG_NO_WEP 0x20
203#define IPW_ 181
204/* overwrite TSF field */ 182/* overwrite TSF field */
205#define DCT_FLAG_TSF_REQD 0x40 183#define DCT_FLAG_TSF_REQD 0x40
206 184
@@ -533,12 +511,6 @@ struct notif_authenticate {
533 u16 status; 511 u16 status;
534} __attribute__ ((packed)); 512} __attribute__ ((packed));
535 513
536struct temperature
537{
538 s32 measured;
539 s32 active;
540} __attribute__ ((packed));
541
542struct notif_calibration { 514struct notif_calibration {
543 u8 data[104]; 515 u8 data[104];
544} __attribute__ ((packed)); 516} __attribute__ ((packed));