linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	Werner Almesberger <werner@openmoko.org>,
	linux-wireless@vger.kernel.org
Subject: Re: rfkill: how murderous can it be ?
Date: Tue, 13 Jan 2009 14:40:16 +0100	[thread overview]
Message-ID: <1231854016.3671.29.camel@johannes> (raw)
In-Reply-To: <20090113132159.GB27676@khazad-dum.debian.net> (sfid-20090113_142214_349769_6EB61815)

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

On Tue, 2009-01-13 at 11:21 -0200, Henrique de Moraes Holschuh wrote:

> But I DO heavily suggest that we inform userspace differently when state was
> lost (i.e. when it absolutely HAS to reconfigure the device or there are no
> chances of data passing through).
> 
> Right now, it HAS that information in a roundabout way: if the device
> disappears (hotunplug), state was lost (duh! :-p)   If it stays around, no
> state was lost...
> 
> And, as an user, I'd be rather annoyed if suddenly I couldn't easily and
> cheaply just hit the rfkill hotkey (softswitch) to kill and unkill my WLAN
> while browsing, and stopping a few minutes to read the screen... because
> every time I unkilled, the system would churn, deassociate and reassociate
> and be otherwise annoying doing a reconfiguration it didn't absolutely have
> to do.
> 
> In other words: make it possible to be configurable!  From the kernel POV
> that just means we need to have to publish to userspace the fact that it has
> to reconfigure when there is not a full hotunplug/hotplug being done.

Way overkill. Anything more than a few seconds of rfkill will require
the "churn" anyway.

johannes

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

  reply	other threads:[~2009-01-13 13:40 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
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 [this message]
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=1231854016.3671.29.camel@johannes \
    --to=johannes@sipsolutions.net \
    --cc=hmh@hmh.eng.br \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=werner@openmoko.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).