Search Linux Wireless

Re: brcmfmac: Unexpected brcmf_set_channel: set chanspec 0xd022 fail, reason -52 - Part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/11/2023 9:30 PM, Stefan Wahren wrote:
Am 11.11.23 um 19:29 schrieb Stefan Wahren:

Am 11.11.23 um 18:25 schrieb Arend Van Spriel:
On November 11, 2023 5:48:46 PM Stefan Wahren <wahrenst@xxxxxxx> wrote:


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.
I additionally placed a WARN_ON_ONCE after the error log and enabled the
firmware error log of brcmf_fil_cmd_data(). Maybe this helps.

It does a bit. At least it shows this is happening with the dump_survey (again). I don't really understand why though. It implies the channel is not disabled, but unclear why. The channel flags are changed in brcmf_construct_chaninfo() so we probably should focus debug on that function.

Regards,
Arend

Here is the output after the first reconnect:

[   98.820098] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[   98.820135] ------------[ cut here ]------------
[   98.820145] WARNING: CPU: 3 PID: 469 at
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:8073
brcmf_cfg80211_dump_survey+0x330/0x348 [brcmfmac]
[   98.820256] Modules linked in: aes_arm aes_generic cmac brcmfmac_wcc
vc4 brcmfmac snd_soc_hdmi_codec brcmutil snd_soc_core sha256_generic
ac97_bus libsha256 snd_pcm_dmaengine sha256_arm snd_pcm cfg80211
hci_uart snd_timer btbcm snd bluetooth soundcore onboard_usb_hub
drm_dma_helper ecdh_generic ecc libaes raspberrypi_hwmon bcm2835_thermal
microchip lan78xx crc32_arm_ce
[   98.820459] CPU: 3 PID: 469 Comm: wpa_supplicant Not tainted
6.6.0-15494-g6bc986ab839c-dirty #136
[   98.820476] Hardware name: BCM2835
[   98.820495]  unwind_backtrace from show_stack+0x10/0x14
[   98.820534]  show_stack from dump_stack_lvl+0x40/0x4c
[   98.820564]  dump_stack_lvl from __warn+0x7c/0x124
[   98.820600]  __warn from warn_slowpath_fmt+0x170/0x178
[   98.820636]  warn_slowpath_fmt from
brcmf_cfg80211_dump_survey+0x330/0x348 [brcmfmac]
[   98.820749]  brcmf_cfg80211_dump_survey [brcmfmac] from
nl80211_dump_survey+0x174/0x2bc [cfg80211]
[   98.821014]  nl80211_dump_survey [cfg80211] from genl_dumpit+0x38/0x74
[   98.821185]  genl_dumpit from netlink_dump+0x158/0x334
[   98.821211]  netlink_dump from __netlink_dump_start+0x1bc/0x27c
[   98.821234]  __netlink_dump_start from genl_rcv_msg+0x148/0x358
[   98.821259]  genl_rcv_msg from netlink_rcv_skb+0xb4/0x10c
[   98.821285]  netlink_rcv_skb from genl_rcv+0x24/0x34
[   98.821310]  genl_rcv from netlink_unicast+0x1f4/0x2d0
[   98.821336]  netlink_unicast from netlink_sendmsg+0x1cc/0x454
[   98.821361]  netlink_sendmsg from ____sys_sendmsg+0xa0/0x26c
[   98.821393]  ____sys_sendmsg from ___sys_sendmsg+0x68/0x94
[   98.821428]  ___sys_sendmsg from sys_sendmsg+0x4c/0x88
[   98.821466]  sys_sendmsg from ret_fast_syscall+0x0/0x54
[   98.821495] Exception stack(0xf10f9fa8 to 0xf10f9ff0)
[   98.821512] 9fa0:                   00247210 00247628 00000004
bed3d8c8 00000000 00000000
[   98.821530] 9fc0: 00247210 00247628 00247198 00000128 b6f32000
bed3d994 00000001 00000004
[   98.821543] 9fe0: 0000006c bed3d880 b6f175bc b6a7a970
[   98.821554] ---[ end trace 0000000000000000 ]---
[   98.821566] brcmfmac: brcmf_set_channel: set chanspec 0xd022 fail,
reason -52
[   98.930254] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[   98.930287] brcmfmac: brcmf_set_channel: set chanspec 0xd026 fail,
reason -52
[   99.040104] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[   99.040134] brcmfmac: brcmf_set_channel: set chanspec 0xd02a fail,
reason -52
[   99.150242] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[   99.150279] brcmfmac: brcmf_set_channel: set chanspec 0xd02e fail,
reason -52
[  100.910174] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  100.910211] brcmfmac: brcmf_set_channel: set chanspec 0xd090 fail,
reason -52
[  115.670205] net_ratelimit: 10 callbacks suppressed
[  115.670232] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  115.670259] brcmfmac: brcmf_set_channel: set chanspec 0xd022 fail,
reason -52
[  115.780284] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  115.780313] brcmfmac: brcmf_set_channel: set chanspec 0xd026 fail,
reason -52
[  115.890261] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  115.890296] brcmfmac: brcmf_set_channel: set chanspec 0xd02a fail,
reason -52
[  116.000283] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  116.000313] brcmfmac: brcmf_set_channel: set chanspec 0xd02e fail,
reason -52
[  117.760217] ieee80211 phy0: brcmf_fil_cmd_data: Firmware error: (-20)
[  117.760253] brcmfmac: brcmf_set_channel: set chanspec 0xd090 fail,
reason -52


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/






Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux