Thread (2 messages) flat view 2 messages, 2 authors, 8d ago

Re: [PATCH wireless-next v3] wifi: brcmfmac: log the firmware status when a connect fails

From: Arend van Spriel <arend.vanspriel@broadcom.com>
Date: 2026-09-14 20:05:09
Also in: lkml

On Mon, 14 Sep 2026 01:55:26 +0900, Ryohei Hashimoto wrote:
brcmf_bss_connect_done() receives the firmware event in @e but discards it
on the failure path.  Every failed connect is reported to cfg80211 as
WLAN_STATUS_AUTH_TIMEOUT (16), whatever the firmware actually said, so
userspace only ever sees:

  wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
[...]
 
The status reported to cfg80211 is left alone; changing it would alter what
userspace sees.

[1] https://github.com/RPi-Distro/firmware-nonfree/issues/38
[2] https://github.com/raspberrypi/firmware/issues/1829

Assisted-by: Claude:claude-opus-5
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>

Regards,
Arend
Signed-off-by: Ryohei Hashimoto <redacted>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 ++
 1 file changed, 2 insertions(+)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help