diff options
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/hostcmd.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index 4c930bd1b292..0a2e29140add 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -265,22 +265,23 @@ struct cmd_ds_802_11_deauthenticate { | |||
265 | } __attribute__ ((packed)); | 265 | } __attribute__ ((packed)); |
266 | 266 | ||
267 | struct cmd_ds_802_11_associate { | 267 | struct cmd_ds_802_11_associate { |
268 | u8 peerstaaddr[6]; | 268 | struct cmd_header hdr; |
269 | |||
270 | u8 bssid[6]; | ||
269 | __le16 capability; | 271 | __le16 capability; |
270 | __le16 listeninterval; | 272 | __le16 listeninterval; |
271 | __le16 bcnperiod; | 273 | __le16 bcnperiod; |
272 | u8 dtimperiod; | 274 | u8 dtimperiod; |
273 | 275 | u8 iebuf[512]; /* Enough for required and most optional IEs */ | |
274 | #if 0 | ||
275 | mrvlietypes_ssidparamset_t ssidParamSet; | ||
276 | mrvlietypes_phyparamset_t phyparamset; | ||
277 | mrvlietypes_ssparamset_t ssparamset; | ||
278 | mrvlietypes_ratesparamset_t ratesParamSet; | ||
279 | #endif | ||
280 | } __attribute__ ((packed)); | 276 | } __attribute__ ((packed)); |
281 | 277 | ||
282 | struct cmd_ds_802_11_associate_rsp { | 278 | struct cmd_ds_802_11_associate_response { |
283 | struct ieee_assoc_response response; | 279 | struct cmd_header hdr; |
280 | |||
281 | __le16 capability; | ||
282 | __le16 statuscode; | ||
283 | __le16 aid; | ||
284 | u8 iebuf[512]; | ||
284 | } __attribute__ ((packed)); | 285 | } __attribute__ ((packed)); |
285 | 286 | ||
286 | struct cmd_ds_802_11_set_wep { | 287 | struct cmd_ds_802_11_set_wep { |
@@ -771,7 +772,6 @@ struct cmd_ds_command { | |||
771 | /* command Body */ | 772 | /* command Body */ |
772 | union { | 773 | union { |
773 | struct cmd_ds_802_11_ps_mode psmode; | 774 | struct cmd_ds_802_11_ps_mode psmode; |
774 | struct cmd_ds_802_11_associate associate; | ||
775 | struct cmd_ds_802_11_get_stat gstat; | 775 | struct cmd_ds_802_11_get_stat gstat; |
776 | struct cmd_ds_802_3_get_stat gstat_8023; | 776 | struct cmd_ds_802_3_get_stat gstat_8023; |
777 | struct cmd_ds_802_11_rf_antenna rant; | 777 | struct cmd_ds_802_11_rf_antenna rant; |