diff options
author | Dan Williams <dcbw@redhat.com> | 2007-10-09 13:55:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-26 09:42:33 -0800 |
commit | 6bb559a3239d0e7ca53c54ba7a6e8105c855dff3 (patch) | |
tree | 68d692b8d624123c934f1778ae81e457866927ef /lib/div64.c | |
parent | 590ca6cb7c01f733663d6b3ac47a2206ad9016ab (diff) |
ipw2200: batch non-user-requested scan result notifications
patch 0b5316769774d1dc2fdd702e095f9e6992af269a in mainline.
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>
Cc: Tobias Powalowski <t.powa@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions