aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-17 23:48:31 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:49 -0500
commit3fbe104cecdb8c812976fdb0cc41be65491b85ee (patch)
tree768ab4fb16f26289f0ad5dc6d413fc5a0cf1eaf5 /drivers/net/wireless/libertas/hostcmd.h
parent6e5cc4fb35c45a8f8478d25c4e89e8d9c543056e (diff)
libertas: convert SLEEP_PARAMS to a direct command
Signed-off-by: David Woodhouse <dwmw2@infradead.org> 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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 2ad32bc2cf24..855c2d0df863 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -355,6 +355,8 @@ struct cmd_ds_802_11_beacon_control {
355}; 355};
356 356
357struct cmd_ds_802_11_sleep_params { 357struct cmd_ds_802_11_sleep_params {
358 struct cmd_header hdr;
359
358 /* ACT_GET/ACT_SET */ 360 /* ACT_GET/ACT_SET */
359 __le16 action; 361 __le16 action;
360 362
@@ -368,10 +370,10 @@ struct cmd_ds_802_11_sleep_params {
368 __le16 stabletime; 370 __le16 stabletime;
369 371
370 /* control periodic calibration */ 372 /* control periodic calibration */
371 u8 calcontrol; 373 uint8_t calcontrol;
372 374
373 /* control the use of external sleep clock */ 375 /* control the use of external sleep clock */
374 u8 externalsleepclk; 376 uint8_t externalsleepclk;
375 377
376 /* reserved field, should be set to zero */ 378 /* reserved field, should be set to zero */
377 __le16 reserved; 379 __le16 reserved;
@@ -715,7 +717,6 @@ struct cmd_ds_command {
715 struct cmd_ds_802_11d_domain_info domaininfo; 717 struct cmd_ds_802_11d_domain_info domaininfo;
716 struct cmd_ds_802_11d_domain_info domaininforesp; 718 struct cmd_ds_802_11d_domain_info domaininforesp;
717 719
718 struct cmd_ds_802_11_sleep_params sleep_params;
719 struct cmd_ds_802_11_tpc_cfg tpccfg; 720 struct cmd_ds_802_11_tpc_cfg tpccfg;
720 struct cmd_ds_802_11_pwr_cfg pwrcfg; 721 struct cmd_ds_802_11_pwr_cfg pwrcfg;
721 struct cmd_ds_802_11_afc afc; 722 struct cmd_ds_802_11_afc afc;