WPA_Supplicant is failing to connect with SSID secured with WPA3-Personal AP

Hello,
I am using Debian Bullseye IoT Image 2023-08-05. I have wpa_cli running with wpa_supplicant@wlan0.service active and wpa_supplicant.service masked and inactive.

I am able to use wpa_cli to connect with WiFi AP with security WPA2 using below settings:

network={
	ssid="<SSID>"
	psk="<PASSWORD>"
	mesh_fwding=1
}

Able to connect with WiFi AP without security using config below:

network={
	ssid="<SSID>"
	key_mgmt=NONE
	mesh_fwding=1
}

I couldn’t connect to SSID with WPA3 security. Used below settings:

network={
	ssid="<SSID>"
    key_mgmt=SAE
	sae_password="<PASSWORD>"
    ieee80211w=2
	mesh_fwding=1
}

It failed stating:

<4>WPA: Failed to select authenticated key management type
<4>WPA: Failed to set WPA key management and encryption suites

Is this a problem due to driver or am I trying to set it up with wrong network settings in /etc/wpa_supplicant/wpa_supplicant-wlan0.conf file?

Sadly WPA3 is still one of those things too new for some WiFI drivers and wpa_supplicant, especially on Debian 11.x Bullseye…

What is your kernel version? uname -r and what WiFi chipset?

Regards,

Thank you @RobertCNelson
Kernel: 5.10.168-ti-r68
I am using WiFi adapter: TL-WN725N | 150Mbps Wireless N Nano USB Adapter | TP-Link India
The chipset must be rtl8188cus or rtl8188eus

If nmcli or some other network solutions would work, that is also fine. Any suggestions on kernel patches I could try would also help.
Thank you.

Regards,
Raajeshwar Elangovan.

I’m thinking maybe? Index of /rootfs/debian-armhf-12-bookworm-iot-v5.10-ti/2024-06-19

This has iwd and a newer stack, but still 5.10.x.

I do have newer 6.x builds, but am still fighting an eMMC issue, so haven’t made them easily available yet…

Regards,