WHC Wi-Fi Low Power
To configure the sleep type of the device, refer to the tickps command in the custom path demo.
Identify wireless physical interface(find “phy” field):
rfkill list
.Enable any-packet wakeup:
sudo iw phy <phyname> wowlan enable any
(replace actual phyname).Verify WoWLAN configuration:
sudo iw phy wowlan show
.Initiate system suspend
echo mem | sudo tee /sys/power/state
.
Note
phyname may change to phy1/phyN after rmmod, Re-validate steps 1-3 after module reload.
Configure the device’s sleep type, refer to
tickps
command in the custom path demo.Preset wake-up triggers on the device side, for example: Receive IPv4/IPv6 packets on specific ports (with dual-stack filtering support),
Trigger GPIO interrupts (hardware-level wakeup mechanism).
Notify the device of the host’s impending low-power mode transition, refer to
setrdy
command in the custom path demoThe host safely enters low-power mode.
Programming Guide for Ameba as FullMAC Host
Configure the device’s sleep type, refer to
tickps
command in the custom path demo.Configure the sleep type of Host,refer to command
AT+TICKPS
in AT Command.Preset wake-up triggers on the device side.
Notify the device of the host’s impending low-power mode transition, refer to
setrdy
command in the custom path demo.The host safely enters low-power mode.
Note
For other RTOS Host platforms, please contact us.