CYW43455 - brcmf_sdio_bus_sleep error while changing bus sleep state -110

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
brosandic
Level 3
Level 3
50 sign-ins 25 replies posted First like received

Hi ,

We are using CYW43455 chip so it switches from Fast Power Save to Power Save mode and vice-versa (wl PM 2 <-> wl PM 1).
The device we are working on is battery powered so we are trying to reduce power consumption as much as we can.

However, although we are not seeing any obvious network traffic problem, our log is full of following messages:

brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110

We have also tried to reduce SDIO clock frequency  by using SDR50 mode instead of SDR104:

mmc1: new ultra high speed SDR50 SDIO card at address

Unfortunately the error  logs are still there.

We are using  Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2.

We are also using https://github.com/murata-wireless/meta-murata-wireless , hash f8724cf98c2d07881c9abb9dac01c0f65d3758d0.

Anyone know what might cause the issue ?

Best regards,

Bogdan

 

0 Likes
1 Solution
7 Replies
Vivek_gunapati
Moderator
Moderator
Moderator
250 replies posted 10 likes given 50 solutions authored

Hi @brosandic 

The kernel print is due to a delay in register write attempts so this is not abnormal. There should be no real issue due to the message. The device should auto-recover by itself
To decrease these prints another workaround could be increasing the value of the macro "BRCMF_SDIO_MAX_ACCESS_ERRORS" in "sdio.c" file from 20 (default ) to 100 and check if this helps

Regards
Vivek.

0 Likes
brosandic
Level 3
Level 3
50 sign-ins 25 replies posted First like received

Hi @Vivek_gunapati ,

We are worried because we are seeing these logs very often. What is the root cause of this problem?

Thanks,

Bogdan

0 Likes

@Vivek_gunapati 

In addition occasionally we are seeing following logs that put the CYW43455 in a stuck state where the only way out is rmmod/modprobe brcmfmac:

brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)
ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)

Do you think this is separate issue ? If it is I'll open separate ticket.

Thanks,
Bogdan

0 Likes

Hi @brosandic , Could you please check if the issue persists with the latest driver and firmware -> https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2...

0 Likes

I am using yocto platform and
Refer to the link on murata github.

How do I apply the "Cypress Linux WiFi Driver Release (FMAC) [2022-12-23]" you mentioned?

0 Likes

Could you please contact Murata for the support on this request. ?

0 Likes
Vivek_gunapati
Moderator
Moderator
Moderator
250 replies posted 10 likes given 50 solutions authored

Hi @brosandic , 

Could you please check if the following helps 

https://community.infineon.com/t5/Knowledge-Base-Articles/Resolving-quot-error-while-changing-bus-sl...

Point 3 Increase the maximum SDIO errors threshold: Increase the maximum SDIO errors threshold by changing the value of the macro BRCMF_SDIO_MAX_ACCESS_ERRORS in the \drivers\net\wireless\broadcom\brcm80211\brcmfmac\sdio.c” fileThe default value is 20. You can experiment with values ranging from 100 to 150 to verify if they help in the specific setup.

Regards
Vivek.

0 Likes