Re: [PATCH] wifi: do not disconnect on suspend if WoWLAN is enabled



On Wed, Nov 20, 2013 at 09:11:52AM -0500, Dan Winship wrote:
On 11/19/2013 07:59 AM, Stanislaw Gruszka wrote:
If user configure device to enable WoWLAN (Wake over Wireless LAN) we
should not disconnect before suspend as device will not be able to
receive wake up magic-packet (or other triggers of WoWLAN event).

Yeah, we break regular ethernet wake-on-lan too
(https://bugzilla.redhat.com/show_bug.cgi?id=826652).
So we need a
more device-type-agnostic fix. I've filed a bug about this:
https://bugzilla.gnome.org/show_bug.cgi?id=712745.

I'm not sure if situation is both cases is the same. Ethernet seems
to be issue that NM does not accept ETHTOOL_OPTS parameter which
enable WoL, but if you enable that on udev script (or by hand), 
IIUC WoL will work - NM does not wipe out settings.

WoWLAN case is that, when we enable WoWLAN externally, setting will 
not take an effect due to disconnection.

I understand that good solution will be adding NM option (config or GUI)
that enable WoL for interface and then act properly. But still then we
will have to cope with not-disconnecting on suspend and NL80211
commands.

Stanislaw



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