NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Command to start the 5 GHz Access Point:
root@imx8mqevk:~# 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 using NXP-based wireless module. Linux operating system provides the
wpa_supplicant user space utility to connect to the access point using IEEE 802.1X.
2.3.1 Create the configuration file
Create and edit
wpa_supplicant.conf
configuration file in
etc
directory.
root@imx8mqevk:~# 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
}
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
10 / 88