diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 10:43:44 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:38 -0400 |
commit | 0c9ca690e0117e1bf415d5f3e392e27c0c472c68 (patch) | |
tree | 8d8fcda57684b0b124d527bace187f526caa2c6f /drivers/net/wireless/libertas/hostcmd.h | |
parent | 6dbc9c89fb242873bd3e83890e59da3d6e462025 (diff) |
[PATCH] libertas: kill ieeetypes_capinfo bitfield, use ieee80211.h types
Use standard BSS capability field constants from ieee80211.h.
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 | 20 |
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 | ||
111 | struct WLAN_802_11_FIXED_IEs { | ||
112 | __le64 timestamp; | ||
113 | __le16 beaconinterval; | ||
114 | u16 capabilities; /* Actually struct ieeetypes_capinfo */ | ||
115 | }; | ||
116 | |||
117 | struct WLAN_802_11_VARIABLE_IEs { | 111 | struct 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 | ||
238 | struct cmd_ds_802_11_associate { | 232 | struct 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 | ||
477 | struct adhoc_bssdesc { | 471 | struct 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 | ||
496 | struct cmd_ds_802_11_ad_hoc_join { | 490 | struct 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 | ||