public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: "Gábor Stefanik" <netrolller.3d@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: on radio_enabled
Date: Thu, 23 Apr 2009 00:46:24 +0200	[thread overview]
Message-ID: <69e28c910904221546p2d568846v470deca641b26d61@mail.gmail.com> (raw)
In-Reply-To: <1240439975.30082.66.camel@johannes.local>

On Thu, Apr 23, 2009 at 12:39 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> Hi!
>
> So I was looking through various drivers, and not all of them are abl=
e
> to handle radio_enabled gracefully.
>
> iwlwifi, for instance, turns off the radio but then is unable to fulf=
il
> any configuration requests coming in while the radio is disabled.
>
> The same is true, if I remember correctly what Ivo told me, for rt2x0=
0.
>
> It is not true for b43/legacy, for example, which leaves the MAC runn=
ing
> and thus can configure everything even if the radio is disabled.
> Similarly for Atheros hw, I think.
>
> Now, if we're going to use radio_enabled more, I wonder whether we
> should completely deconfigure the hardware when we want to turn off
> radio_enabled, and then completely reconfigure it once we enable the
> radio again.
>
> Pros:
> =A0* configures all hardware correctly without the driver needing to =
do
> =A0 everything by itself
> =A0* works with all hardware for sure
>
> Cons:
> =A0* higher latency
>
> Also, sometimes we may want to disable the radio for just short perio=
ds
> of time, I think, for regulatory compliance? 11h or so? How's that
> handled, or rather supposed to be?
>
> johannes
>

In my opinion, the driver should be able to specify whether it can
handle configuration-while-down correctly or not. Drivers that don't
report as being able to do this should be configuration-cycled.

--G=E1bor

--=20
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-04-22 22:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 22:39 on radio_enabled Johannes Berg
2009-04-22 22:46 ` Gábor Stefanik [this message]
2009-04-24  6:24 ` Kalle Valo
2009-04-24 10:26   ` Johannes Berg
2009-04-24 14:10     ` Kalle Valo

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=69e28c910904221546p2d568846v470deca641b26d61@mail.gmail.com \
    --to=netrolller.3d@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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