I had the same kind of issues, but with a Raspberry Pico W / Pico 2 W (Infineon CYW43439).
Setup is an RB5009 with CAPsMAN, hAP ax2 and cAP ax access points. WPA2/3-PSK with PMF set to 'allowed'. Pico W boards running MicroPython and ESPHome.
The Pico W couldn't stay connected. The router logged disconnected, not responding every 14–30 s. ESP32 devices on the same SSID were fine. On a single plain WPA2 access point the Pico was stable.
Mechanism (from firmware traces):
1. The AP sends a frame it generates itself.
2. The CYW43439 can't decrypt? it and reports firmware event 49 (ICV error).
3. The cyw43 driver deliberately re-joins on that event (cyw43-driver issue #129, commit c1075d4).
4. Because PMF is in use, the access point answers the re-association with status 30, "try again later".
5. The chip mishandles that, stops answering the SA Query, and gets deauthenticated.
Cause 1: neighbour discovery on the wifi interfaces. With discover-interface-list=static, MNDP/CDP/LLDP went out over the air every 30 s. A/B test on one access point, Pico pinned to it:
- none → 0 errors
- static → errors exactly 30 s apart
- a list containing only ether1 → 0 errors
Fix:
/interface/list/add name=discovery
/interface/list/member/add list=discovery interface=ether1
/ip/neighbor/discovery-settings/set discover-interface-list=discovery
Cause 2: RSTP BPDUs. With discovery fixed, MicroPython was stable, but ESPHome still dropped every 14 s. ESPHome's Arduino core (arduino-pico) enables the radio's "receive all multicast" (allmulti) option, which lets the BPDUs sent every 2 s reach the chip. With /interface/bridge/set protocol-mode=none on the CAP bridges, the Pico had no drops.
Ruled out (each tested): GCMP in the cipher list, WPA3/PMF settings, 802.11k/v steering, chip roaming, power save, signal and antenna, a faulty board.
So for CYW43-based devices, the same advice as above applies: keep neighbour discovery and RSTP off the CAP wifi interfaces.