aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-16 21:43:40 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:07:39 -0500
commitc6ad3738c689c2e64af2b74c1f407c9323ba40dd (patch)
tree6705fe8150e593392d166d0ba57d49fc3920ae36 /drivers
parentd1a469fd1b7335572a3803b6ba4ce3783a74532b (diff)
libertas: add SLEEP_PERIOD and FW_WAKE_METHOD command definitions
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas/host.h2
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h14
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h
index fe000813f8d2..bdf9017a173a 100644
--- a/drivers/net/wireless/libertas/host.h
+++ b/drivers/net/wireless/libertas/host.h
@@ -84,8 +84,10 @@
84#define CMD_802_11_KEY_MATERIAL 0x005e 84#define CMD_802_11_KEY_MATERIAL 0x005e
85#define CMD_802_11_SLEEP_PARAMS 0x0066 85#define CMD_802_11_SLEEP_PARAMS 0x0066
86#define CMD_802_11_INACTIVITY_TIMEOUT 0x0067 86#define CMD_802_11_INACTIVITY_TIMEOUT 0x0067
87#define CMD_802_11_SLEEP_PERIOD 0x0068
87#define CMD_802_11_TPC_CFG 0x0072 88#define CMD_802_11_TPC_CFG 0x0072
88#define CMD_802_11_PWR_CFG 0x0073 89#define CMD_802_11_PWR_CFG 0x0073
90#define CMD_802_11_FW_WAKE_METHOD 0x0074
89#define CMD_802_11_SUBSCRIBE_EVENT 0x0075 91#define CMD_802_11_SUBSCRIBE_EVENT 0x0075
90#define CMD_802_11_RATE_ADAPT_RATESET 0x0076 92#define CMD_802_11_RATE_ADAPT_RATESET 0x0076
91#define CMD_802_11_TX_RATE_QUERY 0x007f 93#define CMD_802_11_TX_RATE_QUERY 0x007f
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index ea4d484b2ba1..b38502f8ddd9 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -439,6 +439,20 @@ struct cmd_ds_set_boot2_ver {
439 __le16 version; 439 __le16 version;
440}; 440};
441 441
442struct cmd_ds_802_11_fw_wake_method {
443 struct cmd_header hdr;
444
445 __le16 action;
446 __le16 method;
447};
448
449struct cmd_ds_802_11_sleep_period {
450 struct cmd_header hdr;
451
452 __le16 action;
453 __le16 period;
454};
455
442struct cmd_ds_802_11_ps_mode { 456struct cmd_ds_802_11_ps_mode {
443 __le16 action; 457 __le16 action;
444 __le16 nullpktinterval; 458 __le16 nullpktinterval;