aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 09b898f6719c..1322552fa6c9 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -108,12 +108,6 @@ struct wlan_offset_value {
108 u32 value; 108 u32 value;
109}; 109};
110 110
111struct WLAN_802_11_FIXED_IEs {
112 __le64 timestamp;
113 __le16 beaconinterval;
114 u16 capabilities; /* Actually struct ieeetypes_capinfo */
115};
116
117struct WLAN_802_11_VARIABLE_IEs { 111struct WLAN_802_11_VARIABLE_IEs {
118 u8 elementid; 112 u8 elementid;
119 u8 length; 113 u8 length;
@@ -237,7 +231,7 @@ struct cmd_ds_802_11_deauthenticate {
237 231
238struct cmd_ds_802_11_associate { 232struct cmd_ds_802_11_associate {
239 u8 peerstaaddr[6]; 233 u8 peerstaaddr[6];
240 struct ieeetypes_capinfo capinfo; 234 __le16 capability;
241 __le16 listeninterval; 235 __le16 listeninterval;
242 __le16 bcnperiod; 236 __le16 bcnperiod;
243 u8 dtimperiod; 237 u8 dtimperiod;
@@ -469,22 +463,22 @@ struct cmd_ds_802_11_ad_hoc_start {
469 union IEEEtypes_ssparamset ssparamset; 463 union IEEEtypes_ssparamset ssparamset;
470 union ieeetypes_phyparamset phyparamset; 464 union ieeetypes_phyparamset phyparamset;
471 __le16 probedelay; 465 __le16 probedelay;
472 struct ieeetypes_capinfo cap; 466 __le16 capability;
473 u8 datarate[G_SUPPORTED_RATES]; 467 u8 datarate[G_SUPPORTED_RATES];
474 u8 tlv_memory_size_pad[100]; 468 u8 tlv_memory_size_pad[100];
475} __attribute__ ((packed)); 469} __attribute__ ((packed));
476 470
477struct adhoc_bssdesc { 471struct adhoc_bssdesc {
478 u8 BSSID[6]; 472 u8 bssid[6];
479 u8 SSID[32]; 473 u8 ssid[32];
480 u8 bsstype; 474 u8 type;
481 __le16 beaconperiod; 475 __le16 beaconperiod;
482 u8 dtimperiod; 476 u8 dtimperiod;
483 __le64 timestamp; 477 __le64 timestamp;
484 __le64 localtime; 478 __le64 localtime;
485 union ieeetypes_phyparamset phyparamset; 479 union ieeetypes_phyparamset phyparamset;
486 union IEEEtypes_ssparamset ssparamset; 480 union IEEEtypes_ssparamset ssparamset;
487 struct ieeetypes_capinfo cap; 481 __le16 capability;
488 u8 datarates[G_SUPPORTED_RATES]; 482 u8 datarates[G_SUPPORTED_RATES];
489 483
490 /* DO NOT ADD ANY FIELDS TO THIS STRUCTURE. It is used below in the 484 /* DO NOT ADD ANY FIELDS TO THIS STRUCTURE. It is used below in the
@@ -494,7 +488,7 @@ struct adhoc_bssdesc {
494} __attribute__ ((packed)); 488} __attribute__ ((packed));
495 489
496struct cmd_ds_802_11_ad_hoc_join { 490struct cmd_ds_802_11_ad_hoc_join {
497 struct adhoc_bssdesc bssdescriptor; 491 struct adhoc_bssdesc bss;
498 __le16 failtimeout; 492 __le16 failtimeout;
499 __le16 probedelay; 493 __le16 probedelay;
500 494