Search Linux Wireless

Re: [RFC 2/2] mac80211: implement dynamic power save

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-11-10 at 11:49 +0200, Kalle Valo wrote:
> Johannes Berg <johannes@xxxxxxxxxxxxxxxx> writes:
> 
> > On Sun, 2008-11-09 at 17:43 +0200, Kalle Valo wrote:
> >
> >>  	bool powersave;
> >> +	int dynamic_ps_timeout;
> >> +	struct work_struct ps_enable_work;
> >> +	struct work_struct ps_disable_work;
> >> +	struct timer_list dynamic_ps_timer;
> >
> > I think you could use a delayed work for the enable-work+timer, that
> > combines them already.
> 
> I was planning to but I didn't find mod_timer() equivalent for
> delayed_work. I need it because I need to cancel the timer all the
> time. Is there similar functionality with delayed_work?

Ah, you're right, that doesn't seem to exist.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux