SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
Table 6-2 shows a few use case scenarios and the examples as how to set the packet filter:
Use Case | iw Command |
---|---|
Wake up on any packet sent to MAC 00:44:44:44:44:44 | iw phy0 wowlan enable patterns 00:44:44:44:44:44 |
Wake up on any TCP packet sent to MAC
00:44:44:44:44:44 IP 192.168.1.4 from TCP port 5001 |
iw phy0 wowlan enable patterns 00:44:44:44:44:44:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06:-:-:-:-:-:-:c0:a8:01:04:13:89 |
Wake up on any EAPOL traffic directed at MAC 00:44:44:44:44:44 | iw phy0 wowlan enable patterns 00:44:44:44:44:44:-:-:-:-:-:-:88:8e |
Wakeup on any unicast, broadcast and multicast | iw phy0 wowlan enable patterns 00:44:44:44:44:44 ff:ff:ff:ff:ff:ff 01:00:5e |
To set up multiple patterns | iw phy0 wowlan enable patterns PATTERN1 PATTERN2 PATTERN3 |
To view the configured patterns | iw phy0 wowlan show |
More on iw commands at https://wireless.wiki.kernel.org/en/users/documentation/iw.