Search Linux Wireless

Re: [PATCH 8/8] rfkill: add support for wake-on-wireless-packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 3, 2008 at 6:55 AM, Henrique de Moraes Holschuh
<hmh@xxxxxxxxxx> wrote:
> On Sun, 03 Aug 2008, Tomas Winkler wrote:
>> >> why does it interfere with suspend anyway?
>> >
>> > The class makes sure that all transmitters are blocked on suspend.  You'd
>> > have to ask Ivo for the reason, but AFAIK, it is for both safety and to help
>> > conserve power.
>>
>> This one is also on my list to remove. Suspend/Hibernate Resume
>> definitelly doesn't mean to rfkill radio on and off.. Driver should
>
> I *certainly* don't want the chip active during S3 or S4 unless I want WoWL
> active, so I do agree that just killing the radio is not enough.
>
>> This only creates conflicts as both driver and rfkill system are
>> trying to bring radio down
>
> No conflicts.  The wireless driver gets the request to shut the radio down
> BEFORE its suspend method is called (the class suspends first).  It will
> also get the request to enable/disable (whatever state it was in before the
> suspend) the radio AFTER its resume method is called (the class resumes
> after).

At least from iwlwifi perspective killing radio is not the same
operation as shutting down the card.
The intention is different if nothing it's really redundant operation
Tomas

>> RFKILL  IMHO shell track rfkill switches states and not to invent
>
> RFKILL is not about tracking, it is about *controlling*.

 I think driver controls the radio why need to add another entity for
that. I don't like this definition, But that's just wording I hope.


> Without the patch, rfkill always disables radios on suspend.  If they were
> enabled before the suspend, it will try to enable them on resume.  If they
> were disabled before the suspend, it will try to disable them on resume.
>
> That's well part of rfkill's role.  It might not be *needed* at all though,
> and if it is not, it is best to stop doing it.  If it is needed just in a
> few situations, we need to make it configurable (that's what my patch does).

I rather remove it, If the driver has D3 operation it should move card
to operation
which is much more complex that just not killing radio so it seams useless.
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux