Am 11.11.23 um 18:25 schrieb Arend Van Spriel:
On November 11, 2023 5:48:46 PM Stefan Wahren <wahrenst@xxxxxxx> wrote:
Hi,
almost one year ago, i reported [1] about annoying log messages from
brcmfmac. After commit "wifi: brcmfmac: avoid handling disabled channels
for survey dump" [2] the periodic messages disappeared, which is great.
Unfortunately there is a different scenario, which still trigger them at
least on the Raspberry Pi 3B+ (arm/multi_v7_defconfig). I tested Linux
6.3, 6.6 and recent mainline.
Used firmware:
Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5
CY) FWID 01-2dbd9d2e
Scenario:
- start Raspberry Pi 3B+ with graphical interface
- wpa_supplicant successful connects automatically to WPA2 network
- disconnect from WPA2 network (no brcmfmac error messages until now)
- re-connect successfully to WPA2 network again (trigger error messages
once)
Example output from current mainline:
[ 87.449903] brcmfmac: brcmf_set_channel: set chanspec 0xd022 fail,
reason -52
[ 87.559928] brcmfmac: brcmf_set_channel: set chanspec 0xd026 fail,
reason -52
[ 87.669940] brcmfmac: brcmf_set_channel: set chanspec 0xd02a fail,
reason -52
[ 87.779964] brcmfmac: brcmf_set_channel: set chanspec 0xd02e fail,
reason -52
[ 89.539921] brcmfmac: brcmf_set_channel: set chanspec 0xd090 fail,
reason -52
[ 89.540316] brcmfmac: brcmf_set_channel: set chanspec 0xd095 fail,
reason -52
[ 89.540653] brcmfmac: brcmf_set_channel: set chanspec 0xd099 fail,
reason -52
[ 89.540985] brcmfmac: brcmf_set_channel: set chanspec 0xd09d fail,
reason -52
[ 89.541326] brcmfmac: brcmf_set_channel: set chanspec 0xd0a1 fail,
reason -52
[ 89.541662] brcmfmac: brcmf_set_channel: set chanspec 0xd0a5 fail,
reason -52
Again look like these are disabled channels. At least chanspec 0xd022
is 5G channel 34. You say you get this only once so not every 60 seconds?
I get this everytime i trigger a reconnect to the wifi network, so not
periodically (checked that). Strangely the initial automatic connect
doesn't trigger this errors.
Regards
Regards,
Arend
Best regards
[1] -
https://lore.kernel.org/linux-wireless/2635fd4f-dfa0-1d87-058b-e455cee96750@xxxxxxxx/
[2] -
https://lore.kernel.org/linux-wireless/2635fd4f-dfa0-1d87-058b-e455cee96750@xxxxxxxx/