diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 10:45:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:38 -0400 |
commit | 1443b6530d8db779082dc9fabbd894e2b551b101 (patch) | |
tree | 076a7d53d86b829ac1087df4a2f23b252c6648f3 /drivers/net/wireless/libertas/hostcmd.h | |
parent | 0c9ca690e0117e1bf415d5f3e392e27c0c472c68 (diff) |
[PATCH] libertas: rename WLAN_802_11_KEY to enc_key and clean up usage
It doesn't touch hardware and therefore doesn't need endian notations
either.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/hostcmd.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index 1322552fa6c9..01a97d0fa98a 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -83,16 +83,12 @@ struct cmd_ctrl_node { | |||
83 | wait_queue_head_t cmdwait_q; | 83 | wait_queue_head_t cmdwait_q; |
84 | }; | 84 | }; |
85 | 85 | ||
86 | /* WLAN_802_11_KEY | 86 | /* Generic structure to hold all key types. */ |
87 | * | 87 | struct enc_key { |
88 | * Generic structure to hold all key types. key type (WEP40, WEP104, TKIP, AES) | 88 | u16 len; |
89 | * is determined from the keylength field. | 89 | u16 flags; /* KEY_INFO_* from wlan_defs.h */ |
90 | */ | 90 | u16 type; /* KEY_TYPE_* from wlan_defs.h */ |
91 | struct WLAN_802_11_KEY { | 91 | u8 key[32]; |
92 | __le32 len; | ||
93 | __le32 flags; /* KEY_INFO_* from wlan_defs.h */ | ||
94 | u8 key[MRVL_MAX_KEY_WPA_KEY_LENGTH]; | ||
95 | __le16 type; /* KEY_TYPE_* from wlan_defs.h */ | ||
96 | }; | 92 | }; |
97 | 93 | ||
98 | struct IE_WPA { | 94 | struct IE_WPA { |