libertas: Added support for host sleep feature
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 8 Jul 2010 01:13:48 +0000 (06:43 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:31 +0000 (16:05 -0400)
commit1311843c58ca606bab8bfe4cf6c0fe50deb9986d
treef716fbf88c163e33ef622ecb5e9c1d37df006bc7
parent643f82e32f14faf0d0944c804203a6681b6b0a1e
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>
drivers/net/wireless/libertas/README
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/main.c