diff options
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r-- | drivers/net/wireless/ipw2100.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h index f6c51441fa87..55b7227198df 100644 --- a/drivers/net/wireless/ipw2100.h +++ b/drivers/net/wireless/ipw2100.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /****************************************************************************** | 1 | /****************************************************************************** |
2 | 2 | ||
3 | Copyright(c) 2003 - 2004 Intel Corporation. All rights reserved. | 3 | Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify it | 5 | This program is free software; you can redistribute it and/or modify it |
6 | under the terms of version 2 of the GNU General Public License as | 6 | under the terms of version 2 of the GNU General Public License as |
@@ -41,7 +41,12 @@ | |||
41 | 41 | ||
42 | #include <net/ieee80211.h> | 42 | #include <net/ieee80211.h> |
43 | 43 | ||
44 | #ifdef CONFIG_IPW2100_MONITOR | ||
45 | #include <net/ieee80211_radiotap.h> | ||
46 | #endif | ||
47 | |||
44 | #include <linux/workqueue.h> | 48 | #include <linux/workqueue.h> |
49 | #include <linux/mutex.h> | ||
45 | 50 | ||
46 | struct ipw2100_priv; | 51 | struct ipw2100_priv; |
47 | struct ipw2100_tx_packet; | 52 | struct ipw2100_tx_packet; |
@@ -392,8 +397,10 @@ struct ipw2100_notification { | |||
392 | #define IPW_WEP104_CIPHER (1<<5) | 397 | #define IPW_WEP104_CIPHER (1<<5) |
393 | #define IPW_CKIP_CIPHER (1<<6) | 398 | #define IPW_CKIP_CIPHER (1<<6) |
394 | 399 | ||
395 | #define IPW_AUTH_OPEN 0 | 400 | #define IPW_AUTH_OPEN 0 |
396 | #define IPW_AUTH_SHARED 1 | 401 | #define IPW_AUTH_SHARED 1 |
402 | #define IPW_AUTH_LEAP 2 | ||
403 | #define IPW_AUTH_LEAP_CISCO_ID 0x80 | ||
397 | 404 | ||
398 | struct statistic { | 405 | struct statistic { |
399 | int value; | 406 | int value; |
@@ -588,8 +595,8 @@ struct ipw2100_priv { | |||
588 | int inta_other; | 595 | int inta_other; |
589 | 596 | ||
590 | spinlock_t low_lock; | 597 | spinlock_t low_lock; |
591 | struct semaphore action_sem; | 598 | struct mutex action_mutex; |
592 | struct semaphore adapter_sem; | 599 | struct mutex adapter_mutex; |
593 | 600 | ||
594 | wait_queue_head_t wait_command_queue; | 601 | wait_queue_head_t wait_command_queue; |
595 | }; | 602 | }; |