All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jouni Malinen" <jkm@devicescape.com>
To: Ivo van Doorn <ivdoorn@gmail.com>
Cc: Jiri Benc <jbenc@suse.cz>,
	netdev@vger.kernel.org, Olivier <o.cornu@gmail.com>
Subject: Re: Dscape ieee80211: enabling/disabling the radio
Date: Wed, 10 May 2006 10:03:46 -0700	[thread overview]
Message-ID: <20060510170346.GG23571@instant802.com> (raw)
In-Reply-To: <200605101553.52031.IvDoorn@gmail.com>

On Wed, May 10, 2006 at 03:53:48PM +0200, Ivo van Doorn wrote:

> I think the problem is what the dscape exactly expects the driver to do when
> add_interface() is called by the stack. When that call has finished, does the stack
> expects the radio to be enabled, or should it instruct the driver to enable the radio later
> on through a field in the config structure.

I think the current expectation is for the interface to be set into
enabled state at this point.

> What currently happens in rt2x00 (Which might not be doing what the stack expects)
> is that when add_interface() is called the radio remains off untill open() is called or
> radio_enabled has been set in the config structure.

We used radio_enabled (or well, the previously used name adm_status) as
a "soft disable", i.e., the radio hardware was mostly enabled, but no TX
or RX happened. This could, e.g., mean masking out interrupts and/or
disabling receive part of the radio.

This has been used to provide a mechanism for disabling the radio
without having to set the interface down, i.e., without causing IP
addresses to be dropped or bridging status changed.

-- 
Jouni Malinen                                            PGP id EFC895FA

      parent reply	other threads:[~2006-05-10 17:03 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
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 [this message]

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=20060510170346.GG23571@instant802.com \
    --to=jkm@devicescape.com \
    --cc=ivdoorn@gmail.com \
    --cc=jbenc@suse.cz \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.