diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2010-07-08 06:43:48 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-12 16:05:31 -0400 |
commit | 1311843c58ca606bab8bfe4cf6c0fe50deb9986d (patch) | |
tree | f716fbf88c163e33ef622ecb5e9c1d37df006bc7 /drivers/net/wireless/libertas/cmd.h | |
parent | 643f82e32f14faf0d0944c804203a6681b6b0a1e (diff) | |
download | talos-obmc-linux-1311843c58ca606bab8bfe4cf6c0fe50deb9986d.tar.gz talos-obmc-linux-1311843c58ca606bab8bfe4cf6c0fe50deb9986d.zip |
libertas: Added support for host sleep feature
Existing "ethtool -s ethX wol X" command configures hostsleep
parameters, but those are activated only during suspend/resume,
there is no way to configure host sleep without actual suspend.
This patch adds debugfs command to enable/disable host sleep based on
already configured host sleep parameters using wol command.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.h')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/cmd.h b/drivers/net/wireless/libertas/cmd.h index cb4138a55fdf..386e565d99ad 100644 --- a/drivers/net/wireless/libertas/cmd.h +++ b/drivers/net/wireless/libertas/cmd.h @@ -127,4 +127,6 @@ int lbs_set_tx_power(struct lbs_private *priv, s16 dbm); int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep); +int lbs_set_host_sleep(struct lbs_private *priv, int host_sleep); + #endif /* _LBS_CMD_H */ |