aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-18 00:18:05 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:49 -0500
commitf70dd4515a8ad9c9d59ebb8c1d1fa2c610fb4020 (patch)
treeb9c5f3682972024fad4726a4163bbfb74a55ac0b /drivers/net/wireless/libertas/hostcmd.h
parent3fbe104cecdb8c812976fdb0cc41be65491b85ee (diff)
libertas: convert SET_WEP to a direct command
Signed-off-by: David Woodhouse <dwmw2@infradead.org> 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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 855c2d0df863..6d76634f1e14 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -256,6 +256,8 @@ struct cmd_ds_802_11_ad_hoc_result {
256}; 256};
257 257
258struct cmd_ds_802_11_set_wep { 258struct cmd_ds_802_11_set_wep {
259 struct cmd_header hdr;
260
259 /* ACT_ADD, ACT_REMOVE or ACT_ENABLE */ 261 /* ACT_ADD, ACT_REMOVE or ACT_ENABLE */
260 __le16 action; 262 __le16 action;
261 263
@@ -263,8 +265,8 @@ struct cmd_ds_802_11_set_wep {
263 __le16 keyindex; 265 __le16 keyindex;
264 266
265 /* 40, 128bit or TXWEP */ 267 /* 40, 128bit or TXWEP */
266 u8 keytype[4]; 268 uint8_t keytype[4];
267 u8 keymaterial[4][16]; 269 uint8_t keymaterial[4][16];
268}; 270};
269 271
270struct cmd_ds_802_3_get_stat { 272struct cmd_ds_802_3_get_stat {
@@ -688,7 +690,6 @@ struct cmd_ds_command {
688 struct cmd_ds_mac_control macctrl; 690 struct cmd_ds_mac_control macctrl;
689 struct cmd_ds_802_11_associate associate; 691 struct cmd_ds_802_11_associate associate;
690 struct cmd_ds_802_11_deauthenticate deauth; 692 struct cmd_ds_802_11_deauthenticate deauth;
691 struct cmd_ds_802_11_set_wep wep;
692 struct cmd_ds_802_11_ad_hoc_start ads; 693 struct cmd_ds_802_11_ad_hoc_start ads;
693 struct cmd_ds_802_11_reset reset; 694 struct cmd_ds_802_11_reset reset;
694 struct cmd_ds_802_11_ad_hoc_result result; 695 struct cmd_ds_802_11_ad_hoc_result result;