NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Configure WPA3 SAE mode to connect with the AP configured with WPA3 SAE
Create the configuration file
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"
scan_ssid=1
key_mgmt=SAE
proto=RSN
pairwise=CCMP
group=CCMP
psk="1234567890"
ieee80211w=2
}
Connect with the AP
Commands to connect the device with the AP
root@imx8mqevk:~# killall wpa_supplicant
root@imx8mqevk:~# killall hostapd
root@imx8mqevk:~# wpa_supplicant -i mlan0 -Dnl80211 –c /etc/
wpa_supplicant.conf
Command output example
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
[ 145.646509] wlan: mlan0 START SCAN
[ 150.026650] wlan: SCAN COMPLETED: scanned AP count=2
mlan0: SME: Trying to authenticate with 00:50:43:23:3c:0e
(SSID='NXP_Demo' freq=2437 MHz)
[ 150.056535] mlan0:
[ 150.056539] wlan: HostMlme Auth received from 00:XX:XX:XX:3c:0e
mlan0: SME: Trying to authenticate with 00:50:43:23:3c:0e
(SSID='NXP_Demo' freq=2437 MHz)
[ 150.073767] mlan0:
[ 150.073771] wlan: HostMlme Auth received from 00:XX:XX:XX:3c:0e
mlan0: PMKSA-CACHE-ADDED 00:50:43:23:3c:0e 0
mlan0: Trying to associate with 00:50:43:23:3c:0e (SSID='NXP_Demo'
freq=2437 MHz)
[ 150.097756] wlan: HostMlme mlan0 Connected to bssid
00:XX:XX:XX:3c:0e successfully
mlan0: Associated with 00:50:43:23:3c:0e[ 150.107410] mlan0:
mlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
[ 150.107416] wlan: Send EAPOL pkt to 00:XX:XX:XX:3c:0e
[ 150.126490] mlan0:
[ 150.126494] wlan: Send EAPOL pkt to 00:XX:XX:XX:3c:0e
mlan0: WPA: Key negotiation completed with 00:50:43:23:3c:0e [PTK[
150.135343] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
=CCMP GTK=CCMP]
mlan0: CTRL-EVENT-CONNECTED - Connection to 00:5[ 150.148453]
woal_cfg80211_set_rekey_data return: gtk_rekey_offload is DISABLE
0:43:23:3c:0e completed [id=0 id_str=]
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
18 / 88