diff options
author | Jouni Malinen <jkmaline@cc.hut.fi> | 2005-07-30 23:43:20 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-31 00:28:02 -0400 |
commit | 62fe7e378109537ff80971c5208e12d40bf88bee (patch) | |
tree | 6facd4654afbef6590e21c4fde0c71fb7ed79f2e /drivers/net/wireless/hostap/hostap_wlan.h | |
parent | ebed67d2847a9d299b47eeb5d82744671ab2b198 (diff) |
[PATCH] hostap: Replace crypto code with net/ieee80211 version
Replace Host AP version of WEP, TKIP, CCMP implementation with
net/ieee80211 that has more or less identical implementation (since
it is based on the Host AP implementation). Remove Host AP specific
implementation and modules from drivers/net/wireless/hostap.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_wlan.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_wlan.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h index f215a22e8fee..a632d45f334d 100644 --- a/drivers/net/wireless/hostap/hostap_wlan.h +++ b/drivers/net/wireless/hostap/hostap_wlan.h | |||
@@ -2,7 +2,6 @@ | |||
2 | #define HOSTAP_WLAN_H | 2 | #define HOSTAP_WLAN_H |
3 | 3 | ||
4 | #include "hostap_config.h" | 4 | #include "hostap_config.h" |
5 | #include "hostap_crypt.h" | ||
6 | #include "hostap_common.h" | 5 | #include "hostap_common.h" |
7 | 6 | ||
8 | #define MAX_PARM_DEVICES 8 | 7 | #define MAX_PARM_DEVICES 8 |
@@ -534,13 +533,6 @@ struct prism2_frag_entry { | |||
534 | }; | 533 | }; |
535 | 534 | ||
536 | 535 | ||
537 | struct prism2_crypt_data { | ||
538 | struct list_head list; /* delayed deletion list */ | ||
539 | struct hostap_crypto_ops *ops; | ||
540 | void *priv; | ||
541 | atomic_t refcnt; | ||
542 | }; | ||
543 | |||
544 | struct hostap_cmd_queue { | 536 | struct hostap_cmd_queue { |
545 | struct list_head list; | 537 | struct list_head list; |
546 | wait_queue_head_t compl; | 538 | wait_queue_head_t compl; |
@@ -765,7 +757,7 @@ struct local_info { | |||
765 | 757 | ||
766 | #define WEP_KEYS 4 | 758 | #define WEP_KEYS 4 |
767 | #define WEP_KEY_LEN 13 | 759 | #define WEP_KEY_LEN 13 |
768 | struct prism2_crypt_data *crypt[WEP_KEYS]; | 760 | struct ieee80211_crypt_data *crypt[WEP_KEYS]; |
769 | int tx_keyidx; /* default TX key index (crypt[tx_keyidx]) */ | 761 | int tx_keyidx; /* default TX key index (crypt[tx_keyidx]) */ |
770 | struct timer_list crypt_deinit_timer; | 762 | struct timer_list crypt_deinit_timer; |
771 | struct list_head crypt_deinit_list; | 763 | struct list_head crypt_deinit_list; |