netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Benc <jbenc@suse.cz>
To: Ivo van Doorn <ivdoorn@gmail.com>
Cc: netdev@vger.kernel.org, Olivier <o.cornu@gmail.com>
Subject: Re: Dscape ieee80211: enabling/disabling the radio
Date: Wed, 10 May 2006 12:52:41 +0200	[thread overview]
Message-ID: <20060510125241.0bb0978b@griffin.suse.cz> (raw)
In-Reply-To: <200605100001.20180.IvDoorn@gmail.com>

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

  parent reply	other threads:[~2006-05-10 10:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-06 12:00 Dscape ieee80211: enabling/disabling the radio Ivo van Doorn
2006-05-09 22:01 ` Ivo van Doorn
2006-05-09 22:36   ` Michael Wu
2006-05-10  5:29     ` Olivier
2006-05-10 13:37     ` Ivo van Doorn
2006-05-10 13:55       ` Jiri Benc
2006-05-10 10:52   ` Jiri Benc [this message]
2006-05-10 13:55     ` Ivo van Doorn
2006-05-10 10:42 ` Jiri Benc
2006-05-10 13:53   ` Ivo van Doorn
2006-05-10 14:10     ` Jiri Benc
2006-05-10 17:03     ` Jouni Malinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060510125241.0bb0978b@griffin.suse.cz \
    --to=jbenc@suse.cz \
    --cc=ivdoorn@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=o.cornu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).