linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Werner Almesberger <werner@openmoko.org>
To: Dan Williams <dcbw@redhat.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: rfkill: how murderous can it be ?
Date: Mon, 12 Jan 2009 19:13:13 -0200	[thread overview]
Message-ID: <20090112211313.GK13290@almesberger.net> (raw)
In-Reply-To: <1231788884.28887.4.camel@localhost.localdomain>

Dan Williams wrote:
> Instead of putting a bunch of
> complexity in the kernel and drivers that *already* has to be in
> userspace, just punt it out to userspace where it's already done and
> works well.

That's the way I like things :-) Can the information user space may
have to recover include DHCP leases and routes ? I.e., can an rfkill
implementation choose to just restart the network interface ?

Next: what happens while the device is rfkill'ed ? E.g., is it okay to
just remove the interface, so any attempt to configure the interface
while it's rfkill'ed would yield an ENODEV ?

Basically, could rfkill block/unblock semantics just be equivalent to
removal and reloading of the module containing the respective WLAN
device driver ? (Ignoring any response time issues for now.)

- Werner

  parent reply	other threads:[~2009-01-12 21:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 19:15 rfkill: how murderous can it be ? Werner Almesberger
2009-01-12 19:31 ` Hans Henry von Tresckow
2009-01-13 13:14   ` Henrique de Moraes Holschuh
2009-01-13 16:11     ` Werner Almesberger
2009-01-13 20:56       ` Henrique de Moraes Holschuh
2009-01-12 19:34 ` Dan Williams
2009-01-12 19:49   ` Michael Buesch
2009-01-12 21:13   ` Werner Almesberger [this message]
2009-01-13 15:17     ` Michael Buesch
2009-01-13  0:54 ` Matthew Garrett
2009-01-13 13:21   ` Henrique de Moraes Holschuh
2009-01-13 13:40     ` Johannes Berg
2009-01-15  2:16       ` Henrique de Moraes Holschuh

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=20090112211313.GK13290@almesberger.net \
    --to=werner@openmoko.org \
    --cc=dcbw@redhat.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).