Hi Everyone,
I am testing Wi-Fi Easy Connect (DPP) between two boards:
- AP / Configurator: i.MX8MP + PCIE8997
- STA / Enrollee: i.MX8MP + PCIE8997
- hostapd / wpa_supplicant version: 2.10
- Firmware: nxp/pcieuart8997_combo_v4.bin
The goal is to provision the STA using DPP (QR-code based) and have it automatically connect to the AP.
Test Procedure (Working up to DPP Configuration)
AP (Configurator + AP)
contents of hostapd.conf
ctrl_interface=/var/run/hostapd
interface=uap0
driver=nl80211
# Regulatory domain (MANDATORY)
country_code=IN
ieee80211d=1
ieee80211h=1
hw_mode=g
channel=1
ssid=DPP_AP111
ignore_broadcast_ssid=0
ieee80211n=1
wpa=2
wpa_key_mgmt=DPP
rsn_pairwise=CCMP
ieee80211w=2
auth_algs=1
wpa_pairwise=CCMP
hostapd -B /etc/hostapd.conf
hostapd_cli
dpp_configurator_add
dpp_configurator_get_key 1
STA (Enrollee)
Contents of wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
pmf=2
dpp_config_processing=2
wpa_supplicant -i mlan0 -c /etc/wpa_supplicant.conf -dd
wpa_cli
dpp_bootstrap_gen type=qrcode mac=cc:47:40:34:03:c7 chan=81/1
dpp_bootstrap_get_uri 1
dpp_listen 2412
AP (after scanning QR)
dpp_qr_code DPP:C:81/1;M:cc47403403c7;V:2;K:...;;
dpp_auth_init peer=1 conf=sta-dpp ssid=4450505f4150313131 configurator=1
Observed Logs on STA (Successful DPP Exchange)
DPP-AUTH-SUCCESS
DPP-CONF-RECEIVED
DPP-CONFOBJ-AKM dpp
DPP-CONFOBJ-SSID DPP_AP111
CTRL-EVENT-NETWORK-ADDED 0
DPP-NETWORK-ID 0
This confirms:
- DPP authentication succeeds
- Configuration object is received
- Network profile is created
Problem
After successful DPP configuration:
wpa_state=SCANNING
The STA never transitions to AUTHENTICATING / ASSOCIATING / COMPLETED
and does not connect to the AP.
Additional Observations
1. Wpa_Supplicant.conf
After Association wpa_supplicant.conf gets updated
ctrl_interface=/var/run/wpa_supplicant
update_config=1
pmf=2
dpp_config_processing=2
network={
ssid="DPP_AP111"
key_mgmt=DPP
ieee80211w=2
dpp_connector="eyJ0eXAiOiJkcHBDb24iLCJraWQiOiJkZFVCYndxcmI0NWswRTZULXBMeTA2LTBiSHFEcjh5VF9kMVE0ZXNzTm84IiwiYWxnIjoiRVMyNTYifQ.eyJncm91cHMiOlt7Imdyb3VwSWQiOiIqIiwibmV0Um9sZSI6InN0YSJ9XSwibmV0QWNjZXNzS2V5Ijp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4IjoicGVySG04WU5LeEI4aXJVaHpGdTZhY2NmbWRrZWRfTlc5TjI3d1Q4QVNjcyIsInkiOiI0ZnpRSnpRMVZIUFJYRVp0SmRIaU9UN1lpZzZ0MWFEUV9UQ2xJWEdJajFNIn19.vF4YeK7jm9MvhaOPyXQyqfTVilXVlaXBld1hOT39103-p4H0o0-ZoABOc5tBt5C9rTiCrSXwekjtiFNkG1j9EA"
dpp_netaccesskey=3077020101042037fd78c44c01284da378cb1e4c336efb04978d0a0fb440bde71ac18578057212a00a06082a8648ce3d030107a14403420004a5eac79bc60d2b107c8ab521cc5bba69c71f99d91e77f356f4ddbbc13f0049cbe1fcd02734355473d15c466d25d1e2393ed88a0eadd5a0d0fd30a52171888f53
dpp_csign=3039301306072a8648ce3d020106082a8648ce3d030107032200031f7b6fad27dea1268e22ed3bd9ba2cd465956c0d9e6ab1427dac2a4cf02180c6
dpp_pp_key=3039301306072a8648ce3d020106082a8648ce3d030107032200034bb0283100708e2e726551e328d999345ac2588b9a74313894268f9ed3ae9697
}
2. Interface Capabilities
iw list | grep -A5 "Supported interface modes"
Output:
managed
AP
AP/VLAN
monitor
P2P-client
- No explicit P2P-GO support
- No DPP-related capability visible
3. Firmware & Driver
- Firmware in use:
nxp/pcieuart8997_combo_v4.bin - wifi_mod_para.conf does not expose any DPP-related parameters
Conclusion / Suspicion
Although DPP authentication and configuration exchange succeed, the STA never connects to the AP.
This makes me suspect that:
- The PCIE8997 firmware supports only partial DPP
- Authentication & config exchange works
- Connector-based association does not
- Or additional firmware / driver enablement is required for full DPP support
Questions
- Is full DPP (Wi-Fi Easy Connect, including connector-based association) supported on PCIE8997 with i.MX8MP?
- If yes:
- Which firmware version supports it?
- Are there any required module parameters or driver patches?
- If no:
- Is DPP limited to authentication/config exchange only on this chipset?
Any clarification from NXP would be greatly appreciated.