2 Commits

Author SHA1 Message Date
Anuj Mittal
a03763295e
wowlan-udev: set S to UNPACKDIR
Since there are no sources being fetched, set S to UNPACKDIR to fix:

| WARNING: wowlan-udev-1.0-r0 do_unpack: wowlan-udev: the directory
| ${UNPACKDIR}/${BP} ... pointed to by the S variable doesn't exist
| - please set S within the recipe to point to where the source has
| been unpacked to.

Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-20 09:51:44 -07:00
Miaoqing Pan
0bc67b61ca
wowlan-udev: add udev rule to enable WoWLAN magic-packet
On some platforms (for example, QCx6490), XO (Crystal Oscillator) shutdown
is prevented by Wireless Processor Subsystem votes on interconnect
bandwidth and XO unless the WoWLAN magic-packet trigger is enabled. These
votes are released only after running:
  iw phy0 wowlan enable magic-packet

Add an udev rule to automatically enable WoWLAN magic-packet support when
a Wi-Fi PHY is registered. This rule is provided via a dedicated
wowlan-udev package and is not enabled by default.

Integrators should include this package only if their platform requires
automatic WoWLAN magic-packet enablement.

Signed-off-by: Miaoqing Pan <miaoqing.pan@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-04 00:01:38 -08:00