Re: [Ipw2100-devel] [PATCH] ipw2200: increase scan timeout

Harald Braumann <harry-bxs7j/[email protected]> Tue, 25 Nov 2008 23:17:35 +0100
Newsgroups gmane.linux.kernel.wireless.general,gmane.linux.drivers.ipw2100.devel
Message-ID <20081125231735.5c9f7a50@sbs173>
On Tue, 25 Nov 2008 18:09:54 +0100
Helmut Schaa <helmut.schaa-gM/[email protected]> wrote:

> The current scan timeout is set to 5 seconds. If the timeout is hit
> because the firmware did not respond yet, the adapter gets restarted,
> which results in a disassociation.

Could this be a workaround for my bug as well (disconnects caused by
scan while associated)? I get the following log entries:

I isr_status_change Scan detected while associated, with no scan
request.  Restarting firmware. 
I schedule_reset wifi0: Scheduling firmware restart (0s). 
I isr_status_change Status change: IPW_STATE_SCANNING 
I isr_indicate_scanning Scanning... 
U ipw2100_reset_adapter : wifi0: Restarting adapter. 
U ipw2100_power_cycle_adapter Power cycling the hardware.

> However, in an environment with lots of access points the scan
> sometimes takes longer than 5 seconds. This patch simply increases
> the timeout to 10 seconds.

I only have 1 AP, though.

Cheer,
harry
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkseX8ACgkQwMFqDB+mz24HIQCeP9XoncQOLY7eL2A+IIFNPzcc
EkYAoK0rDVTkWMCGZAtun1QpCAmMEnBD
=nmMX
-----END PGP SIGNATURE-----