Re: [PATCH] ipw2200: batch non-user-requested scan result notifications

Zhu Yi <[email protected]> Mon, 22 Oct 2007 16:45:19 +0800
Newsgroups gmane.linux.kernel.wireless.general,gmane.linux.drivers.ipw2100.devel
Organization Intel Corp.
Message-ID <[email protected]>
On Tue, 2007-10-09 at 13:55 -0400, Dan Williams wrote:
> ipw2200 makes extensive use of background scanning when unassociated
> or
> down.  Unfortunately, the firmware sends scan completed events many
> times per second, which the driver pushes directly up to userspace.
> This needlessly wakes up processes listening for wireless events many
> times per second.  Batch together scan completed events for
> non-user-requested scans and send them up to userspace every 4
> seconds.
> Scan completed events resulting from an SIOCSIWSCAN call are pushed up
> without delay.
> 
> Signed-off-by: Dan Williams <[email protected]>

I'm OK with this one except the round_jiffies part.

Thanks,
-yi