aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-05-22 20:01:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:05:09 -0400
commit5fd164e96cb9dc111f75468378de38c67b0fd161 (patch)
treeeeb4ec9dd3b2f1b034c1fc1c80b469de0c9275f7 /drivers/net/wireless/libertas/hostcmd.h
parentd77b034f62d4b8c6c39450d99de224b9b2c5debb (diff)
libertas: simplify and clean up association/start/join setup
Some of the parameters for association/join/start commands aren't used (like the FH and CF IEs for IBSS, and the FH IE for BSS), so get rid of their unions to reduce indirection. Also clean up structure names for kernel style. 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.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 391c54ab2b09..463ff977995c 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -278,7 +278,7 @@ struct cmd_ds_802_11_associate {
278} __attribute__ ((packed)); 278} __attribute__ ((packed));
279 279
280struct cmd_ds_802_11_associate_rsp { 280struct cmd_ds_802_11_associate_rsp {
281 struct ieeetypes_assocrsp assocRsp; 281 struct ieee_assoc_response response;
282} __attribute__ ((packed)); 282} __attribute__ ((packed));
283 283
284struct cmd_ds_802_11_set_wep { 284struct cmd_ds_802_11_set_wep {
@@ -535,9 +535,11 @@ struct cmd_ds_802_11_ad_hoc_start {
535 u8 bsstype; 535 u8 bsstype;
536 __le16 beaconperiod; 536 __le16 beaconperiod;
537 u8 dtimperiod; /* Reserved on v9 and later */ 537 u8 dtimperiod; /* Reserved on v9 and later */
538 union IEEEtypes_ssparamset ssparamset; 538 struct ieee_ie_ibss_param_set ibss;
539 union ieeetypes_phyparamset phyparamset; 539 u8 reserved1[4];
540 __le16 probedelay; 540 struct ieee_ie_ds_param_set ds;
541 u8 reserved2[4];
542 __le16 probedelay; /* Reserved on v9 and later */
541 __le16 capability; 543 __le16 capability;
542 u8 rates[MAX_RATES]; 544 u8 rates[MAX_RATES];
543 u8 tlv_memory_size_pad[100]; 545 u8 tlv_memory_size_pad[100];
@@ -558,8 +560,10 @@ struct adhoc_bssdesc {
558 u8 dtimperiod; 560 u8 dtimperiod;
559 __le64 timestamp; 561 __le64 timestamp;
560 __le64 localtime; 562 __le64 localtime;
561 union ieeetypes_phyparamset phyparamset; 563 struct ieee_ie_ds_param_set ds;
562 union IEEEtypes_ssparamset ssparamset; 564 u8 reserved1[4];
565 struct ieee_ie_ibss_param_set ibss;
566 u8 reserved2[4];
563 __le16 capability; 567 __le16 capability;
564 u8 rates[MAX_RATES]; 568 u8 rates[MAX_RATES];
565 569