NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
2.10 Set the Wi-Fi device in suspend state
This section explains how to capture the Wi-Fi driver logs even when the i.MX host
processor is in suspend state. It also covers the steps to put the i.MX host processor in
suspend state.
Step 1 - Update the configuration file
Edit
wifi_mod_para_sd8987.conf
file:
root@imx8mqevk:~# nano /lib/firmware/nxp/wifi_mod_para_sd8987.conf
Update
ps_mode
in the configuration file:
SD8987 = {
cfg80211_wext=0xf
wfd_name=p2p
max_vir_bss=2
cal_data_cfg=none
drv_mode=7
ps_mode=1
auto_ds=2
fw_name=nxp/sdiouart8987_combo_v0.bin
}
Step 2 - Load the modules in the kernel
root@imx8mqevk:~# modprobe moal mod_para=nxp/wifi_mod_para_sd8987.conf
Step 3 - Connect the client (STA) device to the external access point using
wpa_supplicant
Section 2.3 "Connect with the Access Point"
Step 4 - Enable WoWLAN
root@imx8mqevk:~# iw phy#0 wowlan enable any
Step 5 - Set the device in suspend state
root@imx8mqevk:~# echo mem >> /sys/power/state
UM11490
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 2 — 29 January 2021
42 / 88