[PATCH 1/4] libertas: remove auto_deep_sleep functionality

Bing Zhao bzhao at marvell.com
Wed Jul 20 15:32:09 EDT 2011


Hi Dan,

> > > > To enable deep sleep mode:
> > > > iwconfig wlan0 power period 0
> > > >
> > > > To enable auto deep sleep mode with idle time period set to 5 seconds:
> > > > iwconfig wlan0 power period 5
> > > >
> > > > To disable deep sleep/auto deep sleep mode:
> > > > iwconfig wlan0 power period -1
> > >
> > > Paul pointed out that indeed, in old kernels, this functionality was
> > > hooked up to the power wireless extension.
> > >
> > > In recent kernels, this is not the case - its not hooked up to
> > > anything. The commands you write above will fail.
> >
> > Yeah. I didn't know that the entire wext has been removed from libertas.
> >
> > Anyway, for users who need this feature we can add a module parameter to enable it with the patch
> below. Please let me know what you think.
> 
> I'd rather we figure out some nl80211/cfg80211 knob for this rather than
> a module parameter; we can certainly add calls and attributes to nl80211
> if we need to.

Agree. Configuration via nl80211/cfg80211 API is the best solution. I'll check on that.

Thanks,
Bing


More information about the libertas-dev mailing list