linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Oliver Freyermuth <o.freyermuth@googlemail.com>,
	linux-wireless@vger.kernel.org
Subject: Re: Usage of WoWLAN with iwlwifi driver (Device phy0 failed to suspend async: error -16)
Date: Mon, 06 Mar 2017 22:51:19 +0100	[thread overview]
Message-ID: <1488837079.27057.13.camel@sipsolutions.net> (raw)
In-Reply-To: <a4d62049-b406-0321-11c1-109c61527df5@googlemail.com> (sfid-20170306_224744_278723_C0B24B25)

> > Agree, nothing looks bad. Try running "iw event" while you suspend
> > - if
> > the NIC thought it woke up the system there will be an event
> > indicating
> > so.
> > 
> 
> Indeed, I get:
> 1488836432.153465: wlan0 (phy #0): WoWLAN wakeup
>         * packet (might be truncated):
> ac:fd:ce:de:e1:58:b8:27:eb:f4:3b:4c:08:00:45:00:00:31:78:d1:40:00:3f:
> 06:3d:55:c0:a8:02:23:c0:a8:02:2d:30:39:30:39:f2:04:6f:88:8b:74:4c:c2:
> 50:18:72:10:00:00:00:00:57:41:4b:45:55:50:4e:4f:57
>         * TCP connection wakeup received
> 
> Note the trailing "57:41:4b:45:55:50:4e:4f:57" which is your
> "WAKEUPNOW". 
> 
> Also magic packet "works" this way, i.e. shows up via "iw event". 

Right. So that means the device did in fact stay powered all the way
through, otherwise we wouldn't have been able to retrieve this event
data.

> I realized I also have a Win10 installation on that machine - and may
> as well try WoWLAN with it. 
> Enabling (in the dreaded device manager) wake via the WiFi device,
> magic packet mode, I also cannot wake the machine. 

Ok. I didn't even know it was easy to actually get this configured on
Windows :)

> So if it was a driver bug, it would have to be present both in
> Windows and Linux drivers - but I guess it's just another case
> of broken system firmware *sigh*. 

Agree, that seems rather unlikely. Unless there's some kind of "magic"
setup that the UEFI wants, and the driver knows nothing about ... also
seems unlikely though.

> And that's even though it's a pretty recent Clevo W230SD-based
> machine (which I considered decently widespread)
> with unlocked UEFI (so I see almost all options), but of course
> nothing related to ACPI wakeup. 
> But I guess widespread alone does not help ;-). 

Yeah, too bad. Want to ask the manufacturer for help? ;-)

johannes

  reply	other threads:[~2017-03-06 21:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 21:46 Usage of WoWLAN with iwlwifi driver (Device phy0 failed to suspend async: error -16) Oliver Freyermuth
2017-02-24 12:11 ` Johannes Berg
2017-02-24 18:51   ` Oliver Freyermuth
2017-02-24 19:37     ` Johannes Berg
2017-02-24 21:16       ` Oliver Freyermuth
2017-03-02  8:55         ` Johannes Berg
2017-03-02 18:20           ` Oliver Freyermuth
2017-03-02 18:38             ` Johannes Berg
2017-03-05 15:12               ` Oliver Freyermuth
2017-03-06  8:11                 ` Johannes Berg
2017-03-06 21:47                   ` Oliver Freyermuth
2017-03-06 21:51                     ` Johannes Berg [this message]
2017-03-06 22:25                       ` Oliver Freyermuth

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=1488837079.27057.13.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=o.freyermuth@googlemail.com \
    /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).