[SRU] WoWLAN settings are not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Bionic |
Won't Fix
|
Wishlist
|
Unassigned | ||
Cosmic |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
[Impact]
WoWLAN lets us wake up the system by sending wake packets over the wifi connection. This is something requested by some OEM projects, for bionic server images.
NM 1.12 supports configuring this feature, so this can be achieved by backporting that support to 1.10 (bionic version). These are the MPs for cosmic and bionic:
https:/
https:/
[Test Case]
First, the wifi card must support WoWLAN. This can be checked by running
$ iw phy
and searching for "WoWLAN support:" in the output. If it is supported, with the patch applied a connection configured with wowlan can be created with:
$ sudo nmcli d wifi connect <ssid> password <password>
$ sudo nmcli c modify <ssid> 802-11-
$ sudo nmcli c down <ssid>
$ sudo nmcli c up <ssid>
We can check with 'iw' that WoWLAN is active for the connection:
$ iw phy phy0 wowlan show
WoWLAN is enabled:
* wake up on magic packet
In this case we have configured the connection to wake up the system when a 'magic' packet is received. We can then suspend the system with
$ sudo systemctl suspend
And we should be able to wake the system from another device with the command
$ sudo etherwake -i <wifi_iface> <destination_
[Regression Potential]
Although the patch is not especially small, it is a backport of changes that have been merged upstream, with very little modifications to make it compile in 1.10. It is also a rather isolated feature that should not conflict with existing ones. The feature will be activated only if configured from the command line, so the risk of regressions should be small. Note also that the patch will be removed as soon as Ubuntu moves to NM 1.12.
Related branches
- Sebastien Bacher: Needs Information
- Tony Espy: Approve
-
Diff: 384 lines (+362/-0)3 files modifieddebian/changelog (+6/-0)
debian/patches/Import-some-missing-WoWLAN-patches-from-1.14.patch (+355/-0)
debian/patches/series (+1/-0)
- System Enablement Bot: Needs Fixing (continuous-integration)
- Tony Espy: Approve
-
Diff: 932 lines (+903/-2)3 files modifieddebian/changelog (+7/-2)
debian/patches/Support-for-WoWLAN.patch (+895/-0)
debian/patches/series (+1/-0)
summary: |
- WoWLAN settings are not supported + [SRU] WoWLAN settings are not supported |
Changed in network-manager (Ubuntu): | |
status: | New → Confirmed |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in network-manager (Ubuntu Bionic): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in network-manager (Ubuntu Cosmic): | |
importance: | Undecided → Wishlist |
tags: | removed: verification-needed |
tags: |
added: rls-bb-incoming removed: verification-done-cosmic |
Uploaded to disco and cosmic now, the bionic SRU is coming next