Hi all,
We are currently facing a WPA3-Personal (SAE) connectivity issue after migrating from wpa_supplicant v2.10 to v2.11 in our DIGI DEY 4.0 platform.
In version 2.10, the WPA3-SAE connection worked as expected using the attached wpa_supplicant.conf file. However, after integrating the wpa_supplicant 2.11 recipe from DIGI DEY 5.0 into DEY 4.0, the same configuration now fails to connect. We consistently observe the following error messages:
nl80211: MLME connect failed: ret=-22 (Invalid argument)
wlan0: Association request to the driver failed
We have attached:
The wpa_supplicant.conf file
The detailed log output showing the above error messages with updated wpa_supplicant_2.11.
We need your assistance in diagnosing this issue and advising whether:
Additional configuration changes are needed for v2.11
The driver and kernel in DEY 4.0 are compatible with the updated supplicant
We appreciate your prompt support and are happy to provide further details if needed.
Thanks,
“wpa_supplicant.conf” file
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
dik_cipher=0
dik=8412FABE129699ABEDEB352F664E62F2
network={
ssid=“MY_SSID”
scan_ssid=1
psk=“MY_CLEAR_PASSWORD”
proto=RSN
key_mgmt=SAE
pairwise=CCMP
group=CCMP
ieee80211w=2
}
Failure logs
Successfully initialized wpa_supplicant
Initializing interface ‘wlan0’ conf ‘wpa_supplicant_wlan.conf’ driver ‘nl80211’ ctrl_interface ‘N/A’ bridge ‘N/A’
Configuration file ‘wpa_supplicant_wlan.conf’ → ‘/etc/wpa_supplicant_wlan.conf’
Reading configuration file ‘/etc/wpa_supplicant_wlan.conf’
ctrl_interface=‘/var/run/wpa_supplicant’
ctrl_interface_group=‘0’
update_config=1
dik_cipher=0
dik
Priority group 0
id=0 ssid=‘MY_SSID’
nl80211: Kernel version: Linux 5.15.71-baxter-baxter+ga06d0a84ed31+p0 (1 PREEMPT Tue Jan 21 14:16:36 UTC 2025; armv7l)
nl80211: Maximum supported attribute ID: 305
nl80211: Initialize interface wlan0 (driver: ar6k_wlan)
nl80211: Using driver-based roaming
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-40-96:254
nl80211: Supported cipher 00-40-96:255
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-14-72:1
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supports Probe Response offload in AP mode
nl80211: Using driver-based off-channel TX
netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=US (DFS-FCC)
nl80211: 902-904 @ 2 MHz 30 mBm
nl80211: 904-920 @ 16 MHz 30 mBm
nl80211: 920-928 @ 8 MHz 30 mBm
nl80211: 2400-2472 @ 40 MHz 30 mBm
nl80211: 5150-5250 @ 80 MHz 23 mBm
nl80211: 5250-5350 @ 80 MHz 24 mBm (DFS)
nl80211: 5470-5730 @ 160 MHz 24 mBm (DFS)
nl80211: 5730-5850 @ 80 MHz 30 mBm
nl80211: 5850-5895 @ 40 MHz 27 mBm (no outdoor) (no IR)
nl80211: 5925-7125 @ 320 MHz 12 mBm (no outdoor) (no IR)
nl80211: 57240-71000 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED]
nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260[RADAR] 5280[RADAR] 5300[RADAR] 5320[RADAR] 5500[RADAR] 5520[RADAR] 5540[RADAR] 5560[RADAR] 5580[RADAR] 5600[RADAR] 5620[RADAR] 5640[RADAR] 5660[RADAR] 5680[RADAR] 5700[RADAR] 5720[RADAR] 5745 5765 5785 5805 5825 5845[NO_IR] 5865[NO_IR][RADAR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[DISABLED] 2472[DISABLED] 2484[DISABLED]
wpa_driver_nl80211_set_key: ifindex=5 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
P2P: Add operating class 125
P2P: Channels - hexdump(len=5): 95 99 9d a1 a5
P2P: Add operating class 126
P2P: Channels - hexdump(len=2): 95 9d
P2P: Add operating class 127
P2P: Channels - hexdump(len=2): 99 a1
P2P: Add operating class 128
P2P: Channels - hexdump(len=8): 24 28 2c 30 95 99 9d a1
P2P: Add operating class 130
P2P: Channels - hexdump(len=9): 24 28 2c 30 95 99 9d a1 a5
P2P: Own listen channel: 81:6
P2P: Random operating channel: 81:1
P2P: initialized
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 116:36,44 117:40,48 124:149,153,157,161 125:149,153,157,161,165 126:149,157 127:153,161 128:36,40,44,48,149,153,157,161 130:36,40,44,48,149,153,157,161,165
P2P: cli_channels:
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED → DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: ifi_index=5 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
wlan0: Starting delayed sched scan
wlan0: Use normal scan instead of sched_scan for initial scans (normal_scans=0)
wlan0: Setting scan request: 0.000000 sec
wlan0: State: DISCONNECTED → SCANNING
wlan0: Determining shared radio frequencies (max len 2)
wlan0: Shared frequencies (len=0): completed iteration
wlan0: 3: 9e:c3:8b:3c:56:96 ssid=‘MY_SSID’ wpa_ie_len=0 rsn_ie_len=20 caps=0x1431 level=-38 freq=2437
wlan0: selected based on RSN IE
wlan0: MLD: No Multi-Link element
wlan0: selected BSS 9e:c3:8b:3c:56:96 ssid=‘MY_SSID’
wlan0: Considering connect request: reassociate: 0 selected: 9e:c3:8b:3c:56:96 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING ssid=0x20386c0 current_ssid=(nil)
wlan0: Request association with 9e:c3:8b:3c:56:96
wlan0: No ongoing scan/p2p-scan found to abort
wlan0: Add radio work ‘connect’@0x2058f88
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work ‘connect’@0x2058f88 after 0.000313 second wait
wlan0: WPA: clearing own WPA/RSN IE
wlan0: RSN: clearing own RSNXE
RSN: PMKSA cache search - network_ctx=0x20386c0 try_opportunistic=0 akmp=0x0
RSN: Search for BSSID 9e:c3:8b:3c:56:96
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 1024 proto 2
wlan0: WPA: Selected mgmt group cipher 32
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 cc 00
wlan0: WPA: clearing AP RSNXE
wlan0: RSN: Clearing AP RSNE Override element
wlan0: RSN: Clearing AP RSNE Override 2 element
wlan0: RSN: Clearing AP RSNXE Override element
wlan0: WPA: AP group 0x10 network profile group 0x18; available group 0x10
wlan0: WPA: using GTK CCMP
wlan0: WPA: AP pairwise 0x10 network profile pairwise 0x18; available pairwise 0x10
wlan0: WPA: using PTK CCMP
wlan0: WPA: AP key_mgmt 0x400 network profile key_mgmt 0x400; available key_mgmt 0x400
wlan0: RSN: using KEY_MGMT SAE
wlan0: WPA: AP mgmt_group_cipher 0x20 network profile mgmt_group_cipher 0x0; available mgmt_group_cipher 0x20
wlan0: WPA: using MGMT group cipher AES-128-CMAC
WPA: Set own WPA IE default - hexdump(len=28): 30 1a 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 cc 00 00 00 00 0f ac 06
RSN: Set own RSNXE default - hexdump(len=0):
wlan0: Automatic auth_alg selection: 0x10
Added supported operating classes IE - hexdump(len=24): 3b 16 51 51 53 54 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 80 81 00 82 80
wlan0: Trying to associate with SSID ‘MY_SSID’
wlan0: Cancelling scan request
wlan0: State: SCANNING → ASSOCIATING
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: Determining shared radio frequencies (max len 2)
wlan0: Shared frequencies (len=0): completed iteration
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x204f118 match=7e506f9a1a multicast=0
wlan0: nl80211: kernel reports: Match already configured
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=5): 7e 50 6f 9a 1a
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Connect (ifindex=5)
- bssid_hint=9e:c3:8b:3c:56:96
- freq_hint=2437
- SSID=MY_SSID
- IEs - hexdump(len=58): 30 1a 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 cc 00 00 00 00 0f ac 06 7f 04 00 00 0a 02 3b 16 51 51 53 54 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 80 81 00 82 80
- WPA Versions 0x4
- pairwise=0xfac04
- group=0xfac04
- akm[0]=0xfac08
- htcaps - hexdump(len=26): 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- htcaps_mask - hexdump(len=26): 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
nl802111: sae_pwe=0 - Auth Type 4
nl80211: MLME connect failed: ret=-22 (Invalid argument)
wlan0: Association request to the driver failed
wlan0: Radio work ‘connect’@0x2058f88 done in 0.019057 seconds
wlan0: radio_work_free(‘connect’@0x2058f88): num_active_works → 0
wlan0: Added BSSID 9e:c3:8b:3c:56:96 into ignore list, ignoring for 10 seconds
wlan0: Consecutive connection failures: 1 → request scan in 100 ms
wlan0: Setting scan request: 0.100000 sec
wlan0: State: ASSOCIATING → DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)