NXP Semiconductors
UM11483
Getting Started with NXP Wireless Modules for i.MX 8M-Quad Platforms
UM11483 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 1 — 28 September 2020
31 / 39
6 Bring-up of Wi-Fi interfaces
This section describes the bring-up steps for the Wi-Fi interfaces on the i.MX 8M Quad.
6.1 Load the modules
Follow these instructions to load the driver modules and bring up the 88W8987-based
module.
• Update and verify the module parameters in the file wifi_mod_para_sd8987.conf
root@imx8mqevk:~# vi /lib/firmware/nxp/wifi_mod_para_sd8987.conf
SD8987 = {
cfg80211_wext=0xf
wfd_name=p2p
cal_data_cfg=none
max_vir_bss=1
fw_name=nxp/sdiouart8987_combo_v0.bin
}
• Use the following command to load the modules in kernel
root@imx8mqevk:~# modprobe moal mod_para=nxp/wifi_mod_para_sd8987.conf
• Verify the kernel debug messages
[ 312.300032] wlan: Loading MWLAN driver
[ 312.456100] vendor=0x02DF device=0x9149 class=0 function=1
[ 312.462166] Attach moal handle ops, card interface type: 0x105
[ 312.468151] SD8987: init module param from usr cfg
[ 312.472960] card_type: SD8987, config block: 0
[ 312.477422] cfg80211_wext=0xf
[ 312.480403] wfd_name=p2p
[ 312.482935] cal_data_cfg=none
[ 312.485915] max_vir_bss=1
[ 312.488552] fw_name=nxp/sdiouart8987_combo_v0.bin
[ 312.493285] SDIO: max_segs=128 max_seg_size=65535
[ 312.498002] rx_work=1 cpu_num=4
[ 312.501169] Attach mlan adapter operations.card_type is 0x105.
[ 312.507319] wlan: Enable TX SG mode
[ 312.510828] wlan: Enable RX SG mode
[ 312.516383] Request firmware: nxp/sdiouart8987_combo_v0.bin
[ 312.935612] Wlan: FW download over, firmwarelen=527004 downloaded
527004
[ 313.874418] WLAN FW is active
[ 313.877397] on_time is 313873100457
[ 313.902715] fw_cap_info=0x181c3f03, dev_cap_mask=0xffffffff
[ 313.908325] max_p2p_conn = 8, max_sta_conn = 8
[ 313.937631] wlan: version = SD8987---16.92.10.p206-MXM5X16186.p6-
GPL-(FP92)
[ 313.945523] wlan: Driver loaded successfully