public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* on radio_enabled
@ 2009-04-22 22:39 Johannes Berg
  2009-04-22 22:46 ` Gábor Stefanik
  2009-04-24  6:24 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Berg @ 2009-04-22 22:39 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

Hi!

So I was looking through various drivers, and not all of them are able
to handle radio_enabled gracefully.

iwlwifi, for instance, turns off the radio but then is unable to fulfil
any configuration requests coming in while the radio is disabled.

The same is true, if I remember correctly what Ivo told me, for rt2x00.

It is not true for b43/legacy, for example, which leaves the MAC running
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:
 * configures all hardware correctly without the driver needing to do
   everything by itself
 * works with all hardware for sure

Cons:
 * higher latency

Also, sometimes we may want to disable the radio for just short periods
of time, I think, for regulatory compliance? 11h or so? How's that
handled, or rather supposed to be?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-24 14:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 22:39 on radio_enabled Johannes Berg
2009-04-22 22:46 ` Gábor Stefanik
2009-04-24  6:24 ` Kalle Valo
2009-04-24 10:26   ` Johannes Berg
2009-04-24 14:10     ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox