NXP Semiconductors
UM11512
Wireless Feature Configuration Guide for i.MX 8M Nano EVK with 88W8987-based Wireless Module
The following shows an example for the 5 GHz Access Point.
Command to start the 5 GHz Access Point:
root@imx8mnevk:~# hostapd /etc/hostapd-5g.conf
Command output example:
Configuration file: /etc/hostapd-5g.conf
rfkill: Cannot open RFKILL control device
uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
[ 9816.085716] wlan: SCAN COMPLETED: scanned AP count=0
uap0: interface state COUNTRY_UPDATE->ACS
uap0: ACS-STARTED
[ 9816.483935] wlan: SCAN COMPLETED: scanned AP count=0
[ 9816.883357] wlan: SCAN COMPLETED: scanned AP count=0
[ 9817.279225] wlan: SCAN COMPLETED: scanned AP count=0
[ 9817.675171] wlan: SCAN COMPLETED: scanned AP count=0
uap0: ACS-COMPLETED freq=5180 channel=36[ 9817.686492] wlan: Starting
AP
Using interface uap0 with hwaddr 00:50:43:24:84:c4 and ssid
"NX[ 9817.692595] Get ht_cap from beacon ies: 0xc
P_Demo"
[ 9817.702468] fw doesn't support 11ax
[ 9817.717811] wlan: AP started
[ 9817.722028] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[ 9817.729606] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[ 9817.736887] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[ 9817.744417] Set AC=1, txop=0 cwmin=15, cwmax=1023 aifs=7
uap0: interface state ACS->ENABLED
uap0: AP-ENABLED
2.3 Connect with the Access Point
This section shows how to define the configurations for wpa_supplicant to connect
with the Access Point from 88W8987-based wireless module. Linux operating system
provides the wpa_supplicant user space utility to connect with access point and IEEE
802.1X supplicant.
2.3.1 Create the configuration file
Create and edit wpa_supplicant.conf configuration file in etc directory.
root@imx8mnevk:~# nano /etc/wpa_supplicant.conf
Configuration file content:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="NXP_Demo"
key_mgmt=NONE
}
UM11512 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 1 — 3 December 2020
11 / 78