Re: [PATCH] ipw2200: increase scan timeout

Helmut Schaa <helmut.schaa-gM/[email protected]> Wed, 26 Nov 2008 09:09:10 +0100
Newsgroups gmane.linux.kernel.wireless.general,gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
Am Mittwoch, 26. November 2008 schrieb Holger Schurig:
> > 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.
> 
> I have nothing against raising the timeout, but two general 
> questions.
> 
> First thing: why does the adapter get's resetted?

I guess the intention was that if the firmware does not get back within the
timeout it might have been crashed (or something similar) and thus the driver
simply restarts the card.

> Even if a  
> whole scan takes 11 seconds, the scan of one channel takes less. 
> So if results trickle in during these 11 seconds, nothing should 
> get resettet.

Right. Could do that too.

> Second thing: why should the association get's cleared if the 
> adapter get's reset?  Isn't one a (assoc) at protocol level and 
> the other (adapter) a hardware thing?

No idea!

Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html