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.

 Jiri

-- 
Jiri Benc
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to