summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/README
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2010-07-08 06:43:48 +0530
committerJohn W. Linville <linville@tuxdriver.com>2010-07-12 16:05:31 -0400
commit1311843c58ca606bab8bfe4cf6c0fe50deb9986d (patch)
treef716fbf88c163e33ef622ecb5e9c1d37df006bc7 /drivers/net/wireless/libertas/README
parent643f82e32f14faf0d0944c804203a6681b6b0a1e (diff)
downloadlinux-1311843c58ca606bab8bfe4cf6c0fe50deb9986d.tar.gz
linux-1311843c58ca606bab8bfe4cf6c0fe50deb9986d.tar.bz2
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/README')
-rw-r--r--drivers/net/wireless/libertas/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/README b/drivers/net/wireless/libertas/README
index 2726c044430f..60fd1afe89ac 100644
--- a/drivers/net/wireless/libertas/README
+++ b/drivers/net/wireless/libertas/README
@@ -226,6 +226,18 @@ setuserscan
All entries in the scan table (not just the new scan data when keep=1)
will be displayed upon completion by use of the getscantable ioctl.
+hostsleep
+ This command is used to enable/disable host sleep.
+ Note: Host sleep parameters should be configured using
+ "ethtool -s ethX wol X" command before enabling host sleep.
+
+ Path: /sys/kernel/debug/libertas_wireless/ethX/
+
+ Usage:
+ cat hostsleep: reads the current hostsleep state
+ echo "1" > hostsleep : enable host sleep.
+ echo "0" > hostsleep : disable host sleep
+
========================
IWCONFIG COMMANDS
========================