SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
WoW uses the iw commands. The WoW related iw tool commands are listed below:
iw <phyname> wowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [patterns <pattern>*] iw <iwname> wowlan disable iw <phyname> wowlan show
Enter WoW Suspend Mode
WoW Suspend mode can be entered by calling the following command:
echo mem > /sys/power/state
The following screen shot shows how the Host is entering suspend mode, also the WL18xx is suspended
[16277.797393] PM: Syncing filesystems ... done.
[16277.929870] PM: Preparing system for mem sleep
[16277.934509] Freezing user space processes ... (elapsed 0.02 seconds) done.
[16277.963470] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[16277.994689] PM: Entering mem sleep
[16277.998565] Suspending console(s) (use no_console_suspend to debug)
[16278.242462] PM: suspend of devices complete after 236.060 msecs
[16278.243408] PM: late suspend of devices complete after 0.945 msecs
[16279.748199] Successfully put all powerdomains to target state
Resume
From Suspend
The system can be resumed from suspend by a ping. The following screen shot shows how the Host is resuming from suspend mode, also the WL18xx is reconnecting to the Wi-Fi network (by the WPA supplicant) and traffic resumes.
[16279.748840] PM: early resume of devices complete after 0.518 msecs
[16279.749237] platform iva.0: omap_voltage_scale: Already at the requested rate 800000000
[16279.749237] platform mpu.0: omap_voltage_scale: Already at the requested rate 1000000000
[16280.107391] PM: resume of devices complete after 358.428 msecs
[16280.157989] PM: Finishing wakeup.
[16280.161499] Restarting tasks ... done.