CYW43455 - Correct way to use wl band command

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,

I am suing CYW43455 chip and wl unitlity to force chip to use 2.4GHz or 5GHz on swithc between both.

I am using wl band a, wl band b or wl band auto to perform the switch. However it looks like that these changes are causing:

 

[ 4461.217741] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 4461.228950] pgd = 839ba3a3
[ 4461.233452] [00000000] *pgd=00000000
[ 4461.237061] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 4461.242373] Modules linked in: caam_jr caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine rng_core authenc libdes sha256_generic libsha256 evbug brcmfmac(O) brcmutil(O) cfg80211(O) compat(O) caam error
[ 4461.260997] CPU: 0 PID: 28408 Comm: kworker/0:3 Tainted: G           O      5.10.52-0.0.004-lts-5.10.y+ #1
[ 4461.270642] Hardware name: Freescale i.MX7ULP (Device Tree)
[ 4461.276366] Workqueue: events brcmf_fweh_event_worker [brcmfmac]
[ 4461.282516] PC is at cfg80211_get_bss_channel+0xc/0x108 [cfg80211]
[ 4461.288774] LR is at cfg80211_inform_single_bss_data+0x84/0x324 [cfg80211]
[ 4461.295648] pc : [<7f0239d8>]    lr : [<7f025704>]    psr: 800f0013
[ 4461.301914] sp : 85483c88  ip : 85483d38  fp : 8564008c
[ 4461.307139] r10: 000000e3  r9 : 00000000  r8 : 85640014
[ 4461.312357] r7 : 00000000  r6 : 85483df8  r5 : 855241a0  r4 : 00000000
[ 4461.318884] r3 : 00000000  r2 : 000000e3  r1 : 8564008c  r0 : 855241a0
[ 4461.325411] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 4461.332543] Control: 10c5387d  Table: 65b0806a  DAC: 00000051
[ 4461.338293] Process kworker/0:3 (pid: 28408, stack limit = 0x4c154b96)
[ 4461.344814] Stack: (0x85483c88 to 0x85484000)
[ 4461.349182] 3c80:                   85483df8 855241a0 85483df8 00000000 85640014 7f025704
[ 4461.357363] 3ca0: 00000000 85482000 00000511 00000064 00000000 00000000 00000000 00000000
[ 4461.365544] 3cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4461.373725] 3ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4461.381906] 3d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4461.390079] 3d20: 00000000 00000000 00000000 00000000 00000000 00000000 84bfe000 81104f88
[ 4461.398262] 3d40: 00000004 00000000 00000000 85483df8 00000000 85640014 00000064 8564008c
[ 4461.406443] 3d60: 00000cc0 7f026104 00000000 00000000 00000511 00000064 8564008c 000000e3
[ 4461.414625] 3d80: 00000000 00000cc0 00015ab9 855241a0 895e8e6e 0000040e 8b936dfd 81104f88
[ 4461.422805] 3da0: 00000000 00000000 00000000 855241a0 00000511 00000064 000000e3 00306c77
[ 4461.430987] 3dc0: 00000000 7f1a771c 00000000 00000000 00000511 00000064 8564008c 000000e3
[ 4461.439168] 3de0: 00000cc0 80170c6c 84191900 d744fcc9 00000000 0afa0ab9 00000000 00000000
[ 4461.447349] 3e00: ffffeb4c 00000000 41e83ce0 00000769 00000000 00000000 00000000 00000000
[ 4461.455531] 3e20: 00000000 00000000 0afab935 81104f88 0000040e 8564000c 00000001 85442000
[ 4461.463712] 3e40: 85640000 00000000 85524e1c 7f1a79ec 8c1e4700 85442000 85440540 85524ce0
[ 4461.471893] 3e60: 00000000 7f1ac9dc 00000000 80ba0cc0 8548b5a0 85482000 85483f44 80164160
[ 4461.480075] 3e80: 00000000 84a9ba90 00000000 81104f88 bf57fac0 81104f88 8548b200 8c1e4700
[ 4461.488256] 3ea0: 85526e1c 85526e2c 8c1e4748 85524ce0 85524e1c 00306c77 00000000 7f1b621c
[ 4461.496438] 3ec0: 8c1e4748 85482000 85526e30 7f1da7a0 00000000 00000002 00000045 00000000
[ 4461.504618] 3ee0: 00000000 00000000 0000000c 00000000 6c770000 00000030 00000000 00000000
[ 4461.512800] 3f00: 00000000 81104f88 bf582100 85526e1c 85de7e00 bf57f000 bf582100 00000000
[ 4461.520982] 3f20: 00000000 00000000 bf57f000 80149408 bf57f018 81103d00 85de7e00 bf57f000
[ 4461.529163] 3f40: 85de7e14 bf57f018 81103d00 00000008 85482000 801496c4 812526e4 81250553
[ 4461.537345] 3f60: 85483f74 85fac540 00000000 85482000 85fac600 80149668 85de7e00 8c52dec4
[ 4461.545526] 3f80: 85fac564 8014f72c 00000000 85fac600 8014f5ac 00000000 00000000 00000000
[ 4461.553706] 3fa0: 00000000 00000000 00000000 80100148 00000000 00000000 00000000 00000000
[ 4461.561887] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4461.570060] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 4461.578342] [<7f0239d8>] (cfg80211_get_bss_channel [cfg80211]) from [<85482000>] (0x85482000)
[ 4461.586866] Code: e7f001f2 e92d41f0 e1a04003 e1a05000 (e5937000) 
[ 4461.637351] ---[ end trace 4f9bd10a309e78d8 ]---
[ 4461.643270] Kernel panic - not syncing: Fatal exception
[ 4461.648532] Rebooting in 5 seconds..

We are using meta-murata-wireless layer commit f8724cf98c2d07881c9abb9dac01c0f65d3758d0 (HEAD, tag: imx-hardknott-drogon_r1.0, origin/imx-hardknott-drogon).

What is the right way to use wl band ? Is there known issue with this command. What is the exact call sequence to use this command ?

 

Thanks,

Bogdan

 

0 Likes
1 Solution

Hi @brosandic , 

Could you please try replacing the /lib/firmware/cypress/cyfmac43455-sdio.clm_blob with the one present in the link -> https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2... and let us know if the issue persist. 
The .bin and .clm_blob files are present in the cypress_firmware directory of the above link

View solution in original post

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

Hi @brosandic , 

the regulatory manual CLM Regulatory Manual. found in the link -> https://community.infineon.com/t5/Resource-Library/Introduction-to-Infineon-s-WiFi-Regulatory-flow/t... Should give you the correct sequence of commands. 

Could you please let us know what was the sequence used ?

Regards

Vivek 

0 Likes

Hi @Vivek_gunapati ,

We checked the documentation and we were under impression that following sequence should do the work:

#wl band

a

#wl down

#wl band b

#wl up

After wl up kernel panic happens just like we descirbed above.

Is this the right sequence ?

Thanks,

Bogdan

 

0 Likes

Hi @Vivek_gunapati ,

 

Any update about this ? Is this a known issue ? Is there a workaround ?

 

Thanks,

Bogdan

0 Likes

Hi Bogdon, i tried the same and could not see any kernel panic. 

root@raspberrypi:~# wl band
a
root@raspberrypi:~# wl down
root@raspberrypi:~# wl band b
root@raspberrypi:~# wl up
root@raspberrypi:~# wl band
b

Could you please let us know the few steps used to reproduce the issue, was the WLAN chip connected mode or a softAP mode ?

Regards
Vivek.

0 Likes

WLAN chip was in station mode. Not in SoftAP mode.

0 Likes

Hi @brosandic , 

Could you please try replacing the /lib/firmware/cypress/cyfmac43455-sdio.clm_blob with the one present in the link -> https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2... and let us know if the issue persist. 
The .bin and .clm_blob files are present in the cypress_firmware directory of the above link

0 Likes

Hi @brosandic , Is the issue solved if yes can we close the issue?

0 Likes