sxmo_suspend: wake on a broadcast ARP query
This commit is contained in:
@@ -37,6 +37,9 @@ doas rtl8723cs-wowlan tcp --dest-port 22 --dest-ip SELF
|
|||||||
doas rtl8723cs-wowlan tcp --source-port 2587 --dest-ip SELF
|
doas rtl8723cs-wowlan tcp --source-port 2587 --dest-ip SELF
|
||||||
# wake if someone doesn't know how to route to us, because that could obstruct the above
|
# wake if someone doesn't know how to route to us, because that could obstruct the above
|
||||||
doas rtl8723cs-wowlan arp --dest-ip SELF
|
doas rtl8723cs-wowlan arp --dest-ip SELF
|
||||||
|
# specifically wake upon ARP request via the broadcast address.
|
||||||
|
# should in theory by covered by the above (TODO: remove this!), but for now hopefully helps wake-on-lan be more reliable?
|
||||||
|
doas rtl8723cs-wowlan arp --dest-ip SELF --dest-mac ff:ff:ff:ff:ff:ff
|
||||||
|
|
||||||
echo "calling suspend for duration: $suspend_time"
|
echo "calling suspend for duration: $suspend_time"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user