From: Larry Finger <Larry.Finger@lwfinger.net>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Ivo van Doorn <ivdoorn@gmail.com>,
bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: [RFC V2] b43: A patch for control of the radio LED using rfkill
Date: Thu, 18 Sep 2008 10:17:23 -0500 [thread overview]
Message-ID: <48D27103.1050709@lwfinger.net> (raw)
In-Reply-To: <20080918144836.GI1583@khazad-dum.debian.net>
Henrique de Moraes Holschuh wrote:
>
> IMHO if tx power off is handled by the wireless device driver through the
> software rfkill line, it DOES MEAN the radio goes into rfkill SOFT_BLOCK.
>
> As long as the rfkill class is kept syncronized with reality through the use
> of rfkill_force_state(), this WILL work just fine, because no input events
> that change any other devices are ever sent by the rfkill core.
>
> Now, if any input event generation (by the wireless device driver, since
> rfkill core NEVER does it) is in the picture, it could be more complicated
> (or not... after all, an *INPUT DEVICE* switch would simply *always* match
> the *particular* hardware rfkill input line it is tied to, regardless of
> radio state -- the input device does not CARE at all about the software
> rfkill lines, other hardware rfkill lines, wireless tx power state, or phase
> of the moon).
OK, now I'm totally confused. I realize that English is probably not
your first language, but simple declarative sentences would be nice.
The situation with b43 is as follows:
(a) When the hardware switch is off, the radio is hardware blocked.
(b) When the hardware switch is on, the radio should follow whatever
mac80211 and userland wants.
What should b43 do to make this happen? Does V2 do it right?
Larry
next prev parent reply other threads:[~2008-09-18 15:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 14:07 [RFC V2] b43: A patch for control of the radio LED using rfkill Larry Finger
2008-09-18 14:24 ` Henrique de Moraes Holschuh
2008-09-18 14:28 ` Ivo van Doorn
2008-09-18 14:48 ` Henrique de Moraes Holschuh
2008-09-18 15:17 ` Larry Finger [this message]
2008-09-18 16:24 ` Henrique de Moraes Holschuh
2008-09-18 16:49 ` Larry Finger
2008-09-18 17:20 ` Michael Buesch
2008-09-18 20:21 ` Henrique de Moraes Holschuh
2008-09-18 20:32 ` Henrique de Moraes Holschuh
2008-09-18 17:46 ` Michael Buesch
2008-09-18 20:24 ` Henrique de Moraes Holschuh
2008-09-18 17:14 ` Michael Buesch
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=48D27103.1050709@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=hmh@hmh.eng.br \
--cc=ivdoorn@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).