On Wednesday 10 May 2006 12:52, Jiri Benc wrote:
> On Wed, 10 May 2006 00:01:16 +0200, Ivo van Doorn wrote:
> > Basicly the dscape stack is performing active scanning while the device is 
> > down,
> > but during the active scan it is sending packets out, or at least 
> > attempting to do so.
> > Besides the question if active scanning is preferred over passive scanning 
> > while interface is down,
> > active scanning fails because the packets that should be send are being 
> > send through the regular
> > xmit routines of the interface. (IFF_UP is not set for the interface)
> 
> When all interfaces are down, the card must be completely disabled. No
> transmitting, no receiving. Currently, there is a (minor) bug in IBSS
> code in d80211 stack which tries to perform scanning even when the
> interface is down. It's not so important because generated probe
> requests are never delivered to the driver if the card is disabled (i.e.
> no interfaces are up).
> 
> > This means that besides enabling the radio which should be done in the 
> > driver, the stack should either bring
> > up the interface when doing an active scan, or resort to passive scanning 
> > while interface is down.
> 
> The stack should not perform any scanning when the interface is not up.

Ok thanks. Along with the previous mail about the add_interface and 
remove_interface this
clears up some misunderstanding about the scanning behaviour. ;)

Ivo

Attachment: pgppFqlwy2A7z.pgp
Description: PGP signature

Reply via email to