[PATCH] libertas: Add auto deep sleep support for SD8385/SD8686/SD8688

Andrey Yurovsky andrey at cozybit.com
Tue Sep 15 19:41:29 EDT 2009


Hi Bing.  This is not specific to the actual implementation of the
deep sleep commands in your patch but,

On Tue, Sep 15, 2009 at 4:45 PM, Bing Zhao <bzhao at marvell.com> wrote:
> +       Path: /sys/kernel/debug/libertas_wireless/ethX/

Is the sysfs interface really necessary?  It seems like yet another
non-standard configuration option to keep track of.

Deep sleep seems to pretty much "turn off" the wifi card (as far as
the user is concerned) so how about a simpler approach: enter deep
sleep when the interface is brought down (ifconfig wlanN down) and
exit deep sleep when it's brought up.  Do this only when deep sleep is
supported/possible.  Alternately, maybe this belongs as an rfkill
feature?

  -Andrey



More information about the libertas-dev mailing list