diff options
author | Dan Williams <dcbw@redhat.com> | 2008-08-21 17:46:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:06 -0400 |
commit | 191bb40e725304c5fcfabd92c57eef58799f0e25 (patch) | |
tree | a64e66713495e39f74f088209d4b558628c214aa /drivers/net/wireless/libertas/hostcmd.h | |
parent | 87c8c72d532f96257162f978d5945dcf7f0df19e (diff) |
libertas: convert CMD_802_11_DEAUTHENTICATE to a direct command
and remove DISASSOCIATE because it's not in any of the specs and has
never been used.
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 | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index 7f155cd1c117..342c2e3af34c 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -232,7 +232,9 @@ struct cmd_ds_802_11_authenticate { | |||
232 | }; | 232 | }; |
233 | 233 | ||
234 | struct cmd_ds_802_11_deauthenticate { | 234 | struct cmd_ds_802_11_deauthenticate { |
235 | u8 macaddr[6]; | 235 | struct cmd_header hdr; |
236 | |||
237 | u8 macaddr[ETH_ALEN]; | ||
236 | __le16 reasoncode; | 238 | __le16 reasoncode; |
237 | }; | 239 | }; |
238 | 240 | ||
@@ -251,11 +253,6 @@ struct cmd_ds_802_11_associate { | |||
251 | #endif | 253 | #endif |
252 | } __attribute__ ((packed)); | 254 | } __attribute__ ((packed)); |
253 | 255 | ||
254 | struct cmd_ds_802_11_disassociate { | ||
255 | u8 destmacaddr[6]; | ||
256 | __le16 reasoncode; | ||
257 | }; | ||
258 | |||
259 | struct cmd_ds_802_11_associate_rsp { | 256 | struct cmd_ds_802_11_associate_rsp { |
260 | struct ieeetypes_assocrsp assocRsp; | 257 | struct ieeetypes_assocrsp assocRsp; |
261 | }; | 258 | }; |
@@ -697,7 +694,6 @@ struct cmd_ds_command { | |||
697 | union { | 694 | union { |
698 | struct cmd_ds_802_11_ps_mode psmode; | 695 | struct cmd_ds_802_11_ps_mode psmode; |
699 | struct cmd_ds_802_11_associate associate; | 696 | struct cmd_ds_802_11_associate associate; |
700 | struct cmd_ds_802_11_deauthenticate deauth; | ||
701 | struct cmd_ds_802_11_ad_hoc_start ads; | 697 | struct cmd_ds_802_11_ad_hoc_start ads; |
702 | struct cmd_ds_802_11_reset reset; | 698 | struct cmd_ds_802_11_reset reset; |
703 | struct cmd_ds_802_11_ad_hoc_result result; | 699 | struct cmd_ds_802_11_ad_hoc_result result; |
@@ -710,7 +706,6 @@ struct cmd_ds_command { | |||
710 | struct cmd_ds_802_11_ad_hoc_join adj; | 706 | struct cmd_ds_802_11_ad_hoc_join adj; |
711 | struct cmd_ds_802_11_rssi rssi; | 707 | struct cmd_ds_802_11_rssi rssi; |
712 | struct cmd_ds_802_11_rssi_rsp rssirsp; | 708 | struct cmd_ds_802_11_rssi_rsp rssirsp; |
713 | struct cmd_ds_802_11_disassociate dassociate; | ||
714 | struct cmd_ds_mac_reg_access macreg; | 709 | struct cmd_ds_mac_reg_access macreg; |
715 | struct cmd_ds_bbp_reg_access bbpreg; | 710 | struct cmd_ds_bbp_reg_access bbpreg; |
716 | struct cmd_ds_rf_reg_access rfreg; | 711 | struct cmd_ds_rf_reg_access rfreg; |