linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: bcm43xx-dev@lists.berlios.de
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
	Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	Ivo van Doorn <ivdoorn@gmail.com>,
	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 19:20:10 +0200	[thread overview]
Message-ID: <200809181920.10416.mb@bu3sch.de> (raw)
In-Reply-To: <48D2867D.6010501@lwfinger.net>

On Thursday 18 September 2008 18:49:01 Larry Finger wrote:
> Henrique de Moraes Holschuh wrote:
> > 
> > The problem is in the "should".
> > 
> > Maybe something else than b43 (like firmware) changed the radio software
> > rfkill bit, and it does not match what mac80211 and userland requested
> > anymore.
> > 
> > What you need to pass to rfkill_force_state() is what the radio is currently
> > doing.  So, the state you need to send to rfkill_force_state has to be based
> > on the real state of the hardware's "soft switch bit".
> 
> The hardware does not have such a bit. Once it is initialized and
> mac80211 sends it a packet, it will try to send it. That is true even
> if the hardware switch is off. It just will not succeed.

Right, b43 does have two "bits". One read-only bit that tells the hardware
block state. This state can only be changed by physically pressing rfkill
button. The other "bit" is a read/write "bit" to turn off the radio in software.
If _either_ one bit is blocking the radio, it will be physically blocked.

-- 
Greetings Michael.

  reply	other threads:[~2008-09-18 17:20 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
2008-09-18 16:24         ` Henrique de Moraes Holschuh
2008-09-18 16:49           ` Larry Finger
2008-09-18 17:20             ` Michael Buesch [this message]
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=200809181920.10416.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=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).