]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ipw2200: batch non-user-requested scan result notifications
authorDan Williams <dcbw@redhat.com>
Tue, 9 Oct 2007 17:55:24 +0000 (13:55 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:06 +0000 (16:55 -0700)
commit0b5316769774d1dc2fdd702e095f9e6992af269a
treef8fc71978ab739b86295440fd67feef80aeddf1c
parent04dd9d39b48636d2698049304fdfb9ca59a88b54
[PATCH] ipw2200: batch non-user-requested scan result notifications

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 <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c
drivers/net/wireless/ipw2200.h