-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Description
Describe the bug
I am unable to start the Wi-Fi Access Point mode on the Raspberry Pi Pico 2W using Zephyr v4.3.0. The request fails during the channel specification stage in the Infineon AIROC driver. Additionally, attempts to set the regulatory domain fail with error -134.
Regression
- This is a regression.
Steps to reproduce
Initialize the Wi-Fi interface for the Pico 2W.
Attempt to enable AP mode using NET_REQUEST_WIFI_AP_ENABLE with fixed parameters (Channel 6, Bandwidth 20MHz, WPA2-PSK).
Observe the serial console failure.
Alternatively, using the Wi-Fi shell:
uart:~$ wifi ap enable -s ssid -c 6 -p password -k 1
Relevant log output
[3196] WLAN Firmware : wl0: Jun 5 2024 06:33:59 version 7.95.88 (cf1d613 CY) FWID 01-7b7cf51a
[3199] WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2024-04-16 21:20:55
[3199] WHD VERSION : 3.3.3.26653
[3199] : WIFI5-v3.3.3
[3199] : GCC 12.2
[3199] : 2025-04-14 03:18:50 +0000
[8238] Function whd_wifi_set_chanspec failed at line 508 checkres = 33556452
[8239] Command failed in whd_wifi_init_ap at 421
[8239] Command failed
*** Booting Zephyr OS build v4.3.0-7061-g02191db6fe3a ***
Turning on AP ModeDHCPv4 server started...
[00:00:08.239,000] <err> infineon_airoc_wifi: Failed to init whd ap interface
NET_REQUEST_WIFI_AP_ENABLE failed, err: -11uart:~$Impact
Major – Severely degrades functionality; workaround is difficult or unavailable.
Environment
OS: Windows 11
Zephyr version: v4.3.0-7061-g02191db6fe3a
Board: rpi_pico2/rp2350a/m33/w
Wi-Fi Chip: Infineon AIROC CYW43439
WLAN Firmware: version 7.95.88 (cf1d613 CY)
WHD Version: 3.3.3.26653