[brcmfmac] Pi 5 host-requested 2.4→5 GHz roam emits firmware status 19, then drops the old connection
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c, linux
- Bereich
- embedded-iot, networking
Rechercherichtung
Start with the brcmfmac roam handler and the firmware-event decoding under drivers/net/wireless/broadcom/brcm80211/brcmfmac/, since the report states the handler notifies cfg80211 only on success. Reproduce the failing wpa_cli roam on the Pi 5 with join_event_debug=Y and compare against the stock-module control the reporter plans. Done means an answer on what ROAM status 19/reason 0 means for FWID 01-b677b91b, whether the join iovar is valid while associated, and a decision on reporting a failed roam so the old association survives.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
A Raspberry Pi 5 can connect from a disconnected state to the 5 GHz radio of a Zyxel EX5601-T1, but a host-requested roam from the same AP’s 2.4 GHz radio to its 5 GHz radio stalls. The behaviour was observed on channels 36 and 100.
On channel 36, an independent capture showed five probes from the Pi and replies from the AP, but no authentication, association, or reassociation frames between them. The fresh-join control on the same channel showed successful authentication, association, and a four-way handshake.
During the roam, the firmware emitted a non-success ROAM event approximately 108 ms after accepting the join command. The old association was still reported shortly before wpa_supplicant timed out and disconnected locally at about 10 seconds. Whether the old link still carried IP traffic was not measured.
Expected behaviour is either a successful roam or, if the target cannot be joined and the old link is still usable, a failed roam that leaves the old connection intact.
Steps to reproduce the behaviour
- Configure a dual-band Zyxel EX5601-T1 with the same SSID and security on both radios. The main test used channel 1 and channel 36, with WPA2-PSK-SHA256, CCMP, and required PMF.
- From a disconnected state, connect the Pi directly to the 5 GHz BSSID. Verify that wpa_supplicant reaches COMPLETED.
- Disconnect and connect to the 2.4 GHz BSSID. Verify the current association and confirm the 5 GHz target appears in the supplicant scan results. If the active network was pinned to 2.4 GHz, clear the runtime pin without disconnecting and verify the current association again.
- Run
sudo wpa_cli -i wlan0 roam <TARGET_5_GHZ_BSSID>. It returns OK, but the target never reaches COMPLETED. Monitor the kernel log, supplicant log, andiw dev wlan0 linkfor 15 seconds.
Device (s)
Raspberry Pi 5
System
- Raspberry Pi 5, ARM64, onboard BCM4345/6-class SDIO Wi-Fi
- Kernel
6.12.115+rpt-rpi-2712, package1:6.12.115-1+rpt1 brcmfmacwith a local diagnostic module override,roamoff=1andjoin_event_debug=Y- Wi-Fi firmware
7.45.265 (28bca26 CY), FWID01-b677b91b - Access point Zyxel EX5601-T1
Logs
Channel 36, relative to the driver submitting the roam request. These are normalized excerpts, not verbatim logs.
+0.000 s brcmfmac join iovar returned 0
+0.108 s Firmware ROAM event, status=19, reason=0, event address all zeros
+9.078 s iw link still reported the original 2.4 GHz association
+9.999 s wpa_supplicant reported an authentication timeout for the target
+10.003 s wpa_supplicant reported a locally generated disconnect
+12.889 s Pi completed a connection to a different AP
On channel 100, the same firmware status appeared approximately 16 ms after join submission. An overnight trace contained 15 matching event-and-timeout pairs during automatic roam attempts to the same target.
Additional context
Could you confirm what firmware ROAM status 19, reason 0 means on FWID 01-b677b91b, and whether the join iovar is the intended command when already associated?
The brcmfmac roam handler appears to notify cfg80211 only on success. Is there an intended way to complete a failed host-requested roam while preserving a usable old association?
A stock-module comparison is planned. Only normalized excerpts are included to avoid disclosing identifiers from the local network and nearby networks.
- Vorherrschende Sprache
- C
- Sterne
- 13.3k
- Forks
- 5.5k
- Ø Merge
- 4 T. 10 Std.
- Gemergte PRs (30 T.)
- 31
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus raspberrypi/linux
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
raspberrypi/linux#7415 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
raspberrypi/linux#7399 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
raspberrypi/linux#7357 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
raspberrypi/linux#7054 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
raspberrypi/linux#7770 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in raspberrypi/linux
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
LedgerHQ/app-bitcoin-legacy#306 ·
-
[issue]: Ventoy2Disk.sh can leave the end of VTOYEFI unwritten (xzcat | dd without iflag=fullblock)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
prusa3d/Prusa-Firmware-Buddy#5629 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 3 Tagen
-
Issue PRL on WindowsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag