Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 21, 2020 10:28 pm

PhilE wrote:
Sat Nov 21, 2020 8:07 pm
So my Pi4 is now running with a copy of brcmfmac43456-sdio.clm_blob renamed as brcmfmac43455-sdio.clm_blob , and that is working fine for the moment :D
That was a stroke of genius! Was that the updated blob from the other announcement (the one with the .bin file), or the older, larger one already installed?
The already installed larger one

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sun Nov 22, 2020 9:37 am

I'm afraid something is missing form the new blob:

Code: Select all

hostapd: wlan0: IEEE 802.11 Configured channel (12) not found from the channel list of current mode (1) IEEE 802.11g
Can't set channel 12 (for reg NL and 00)

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sun Nov 22, 2020 11:00 am

Thanks - that's something concrete I can check.

sup
Posts: 25
Joined: Thu Oct 29, 2020 12:23 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Mon Nov 23, 2020 12:24 pm

Can I use this on Pi 400? I am also experiencing issues with 80Mhz channels.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Mon Nov 23, 2020 12:39 pm

It might work, but there's actually an equivalent blob specifically designed for 43456: viewtopic.php?f=117&t=291688

fik
Posts: 46
Joined: Thu Jan 17, 2013 1:34 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 27, 2020 1:44 pm

I'm now getting Bit Rate=433.3 Mb/s with the new firmware both on Pi4+ and Pi3B+ instead of 200 Mb/s as reported by iwconfig.

Weird is that iperf3 is not increased. :?: It was around 112Mbps and with new firmware it stays 112 Mbps. My WiFi is using 80MHz channels. From a laptop I can get iperf3 around 175 Mbps, but there iwconfig reports only Bit Rate=270 Mb/s.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 27, 2020 2:03 pm

The WiFi chip is connected via a 4-bit SDIO link that typically runs at 41.7MHz giving an upper limit on throughput of ~160Mbs. In practise you won't get close to that because it is a simplex link (only one direction at a time) and there is overhead in each of the protocol and transport layers. Given that, 112Mbps sounds pretty good. Even though the throughput hasn't increased, being able to properly use the wide channels means that the channel (which is a shared medium) is occupied for a shorter time, leaving more time for other devices.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 27, 2020 2:07 pm

After some more feedback and testing I would suggest using the blob designed for the 43456 on the 43455 as well - download it from here: https://drive.google.com/file/d/1J8Ddbs ... sp=sharing

Install it for 43456 and 43455 using:

Code: Select all

$ sudo cp brcmfmac43456-sdio.clm_blob /lib/firmware/brcm/
$ sudo cp brcmfmac43456-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob

fik
Posts: 46
Joined: Thu Jan 17, 2013 1:34 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 27, 2020 2:30 pm

Thanks PhilE for the explanation, it is clear now.

My RPi 3B+ and two 4B running now the 43456 firmware. Seems to work. 433.3 Mb/s reported.

EDIT:

Interesting fact: RPi 3B+ with overclocked core 600MHz gives in iperf3 122 Mbps, while RPi 4B with overclocked core 550MHz gives 110 Mbps.

:idea:

With three Raspberries I found a way to see the performance increase with the new firmware. I do two simultaneous iperf3, one from RPi 3B+ to router and second between the two RPi 4B:

Old: 114 Mbps (3 > router) 13 Mbps (4 > 4)
43455: 120 Mbps (3 > router) 50 Mbps (4 > 4)
43456: 120 Mbps (3 > router) 50 Mbps (4 > 4)

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Fri Nov 27, 2020 9:37 pm

@PhilE It's a bit confusing, I tested today and now channel 12 is working with reg NL.

But NOT after reboot. Seems setting reg with `sudo iw reg set NL` doesn't survive reboot, that's the trouble, I thought it did, so I did report it not working.

And I have set `country=NL` in wpa_supplicant for ages, but that's not picked up, probably because I've set `nohook wpa_supplicant` in `/etc/dhcpcd.conf`

Where do I have to set `reg` to make it persistent?

EDIT:
Added

Code: Select all

 country_code=NL
to hostapd.conf and everything is fine now.
@PhilE, sorry, my mistake.

But probably the default for reg 00 in the new blob did drop channel 12.

trejan
Posts: 3866
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 28, 2020 4:22 pm

PhilE wrote:
Fri Nov 20, 2020 3:47 pm
CM4? Is that right? It has the same RPI-RM0 WiFi module as the Pi 400 which has a BCM43456 according to this post
Where does the linked post mention CM4? CM4 uses CYW/BCM43455, while Pi 400 uses BCM/SYN43456 (I don't know if Synaptics plan to use their own prefix).
The CM4 datasheet says "The CM4 can be supplied with an onboard wireless module based on the Broadcom BCM43456 supporting both"

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 28, 2020 4:58 pm

That was the plan at one stage, but between writing and publishing it the plan and the datasheet should be corrected.

trejan
Posts: 3866
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 28, 2020 5:17 pm

PhilE wrote:
Sat Nov 28, 2020 4:58 pm
That was the plan at one stage, but between writing and publishing it the plan and the datasheet should be corrected.
Thanks

drgeoff
Posts: 12420
Joined: Wed Jan 25, 2012 6:39 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 28, 2020 5:19 pm

Aardappeltaart wrote:
Fri Nov 27, 2020 9:37 pm
But probably the default for reg 00 in the new blob did drop channel 12.
In the USA only 1-11 are allowed.
Quis custodiet ipsos custodes?

trejan
Posts: 3866
Joined: Tue Jul 02, 2019 2:28 pm

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sat Nov 28, 2020 5:38 pm

Aardappeltaart wrote:
Fri Nov 27, 2020 9:37 pm
But probably the default for reg 00 in the new blob did drop channel 12.
00 is the world regulatory domain which is the basic set of channel frequencies and channel widths that are legal everywhere. Channel 12 isn't legal in the US as pointed out by drgeoff.
https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/tree/db.txt#n11 wrote: # This is the world regulatory domain
country 00:
(2402 - 2472 @ 40), (20)
# Channel 12 - 13.
(2457 - 2482 @ 20), (20), NO-IR, AUTO-BW
# Channel 14. Only JP enables this and for 802.11b only
(2474 - 2494 @ 20), (20), NO-IR, NO-OFDM
# Channel 36 - 48
(5170 - 5250 @ 80), (20), NO-IR, AUTO-BW
# Channel 52 - 64
(5250 - 5330 @ 80), (20), NO-IR, DFS, AUTO-BW
# Channel 100 - 144
(5490 - 5730 @ 160), (20), NO-IR, DFS
# Channel 149 - 165
(5735 - 5835 @ 80), (20), NO-IR
# IEEE 802.11ad (60GHz), channels 1..3
(57240 - 63720 @ 2160), (0)
NO-IR = No initiating radiation i.e. it won't transmit first. This usually means it'll skip scanning that channel entirely.

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Sun Nov 29, 2020 6:03 pm

@trejan, @drgeoff
I know all that, but you probably missed the prelude.

The AP in my RPI4 with channel 12 stopped working replacing the old with the new blob, restart => not working.

I was under the impression region was set to NL, but that was not done correctly (wpa_supplicant/iw), so it was running all the time with reg 00 after reboot

So something must have changed, I did a suggestion: But probably the default for reg 00 in the new blob did drop channel 12.

Maybe not worth finding it out, all is working fine here now.

itsmedoofer
Posts: 508
Joined: Wed Sep 25, 2013 8:43 am
Location: Canterbury, Kent, UK

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Tue Dec 01, 2020 9:23 pm

Hi,

Just put this on my 3B+ all good, after a reboot the link went up to

Code: Select all

rx rate: 433.3 Mbit/s, tx rate: 433.3 Mbit/s
from

Code: Select all

rx rate: 150.0 Mbit/s, tx rate: 200.0 Mbit/s
I cant say I've noticed a huge increase in throughput, but not really done too much testing, it's stable thats the main thing.

In case it makes a difference, I installed the blob and the firmware...

mcnaugha
Posts: 5
Joined: Wed Dec 30, 2020 10:37 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Wed Jan 06, 2021 8:37 pm

I just got my 4B on my 5GHz network at home for the first time thanks to this firmware. I could never connect before. I must have it set to at least 80MHz without knowing the 4B didn't support that out of the box. :D

BendrBndingRodriguez
Posts: 1
Joined: Tue Jan 19, 2021 12:13 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Tue Jan 19, 2021 12:48 am

I applied the updated CYW43455 firmware to one of my recently purchased Raspberry Pi 4 Model B 8GB units ( currently running Ubuntu Desktop 20.10 64bit ) and can confirm that the unit is now able to negotiate at 80 MHz channel bandwidth :

Code: Select all

wlan0     IEEE 802.11  ESSID:""  
          Mode:Managed  Frequency:5.18 GHz  Access Point:    
          Bit Rate=433.3 Mb/s   Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=53/70  Signal level=-57 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:23  Invalid misc:0   Missed beacon:0

Interface wlan0
        ifindex 3
        wdev 0x1
        addr
        ssid 
        type managed
        wiphy 0
        channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
        txpower 31.00 dBm
This has yielded an approximate 15% increase in speed ( ~ 72 Mbps ) which is still significantly slower than the vast majority of the wireless devices on my LAN ( most of which are able to reach at least 200 Mbps ).

Is my understanding correct that the maximum throughput for the WiFi chip is ~ 160 Mbps ?

I also tested the the suggestion of copying the CYW43456 firmware over the CYW43455 firmware :

Code: Select all

$ sudo cp brcmfmac43456-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
which did not seem to allow negotiation at 80 MHz channel bandwidth ( reverted back to 40 MHz ).

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Tue Jan 19, 2021 9:08 am

As I said in my earlier reply (viewtopic.php?p=1768600#p1768600), although 160Mbps is the answer you get if you multiply the SDIO clock speed by the bus width, in practise you won't get near that for a number of reasons (protocol overheads, the fact that SDIO is half-duplex, etc.) One user reported 112Mbps, which must be close to the achievable maximum.

danzuni
Posts: 4
Joined: Wed Jan 20, 2021 3:52 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Wed Jan 20, 2021 5:03 am

Thanks for the comments and wanting to clarify with the update of brcmfmac43455-sdio.clm_blob, which is smaller, we can solve the problem of few Wi-Fi connections in the RPIs (in my case I have RPI 4B 4GB I have only achieved a maximum of 10 with the latest version from Moodlebox 3.9.0).

My goal is to get 15 to 20 stable connections and if more is much better. CONFIRM ME or something else I must update.
NEW -rw-r - r-- 1 root root 4733 Jan 20 02:55 brcmfmac43455-sdio.clm_blob
OLD -rw-r - r-- 1 root root 14036 Jul 29 17:37 brcmfmac43455-sdio.clm_blob.bak
Downloaded from: viewtopic.php?f=117&t=291609

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Wed Jan 20, 2021 12:33 pm

I don't think you will ever be able to get more than 7-10 clients on a current firmware. Newer firmware means more changed code, which means less free RAM on the device and fewer clients. If you want to get the maximum number of AP clients, roll back to an older firmware, but then you are open to the old bugs and vulnerabilities.

danzuni
Posts: 4
Joined: Wed Jan 20, 2021 3:52 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Thu Jan 21, 2021 5:15 am

I understand I will return to the default version. So with RPI 4B 4GB I corroborate between 7 to 10 connections
To add more connections, you would recommend me to place a router connected to the RJ45 port and connect other devices.
Image
Attachments
RPI 4B con router.png
RPI 4B con router.png (81.03 KiB) Viewed 1779 times

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4272
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Thu Jan 21, 2021 2:07 pm

That's one option, but other people use a USB WiFi dongle.

danzuni
Posts: 4
Joined: Wed Jan 20, 2021 3:52 am

Re: CYW43455 (3B+, 4B, CM4) WiFi feedback thread

Thu Jan 21, 2021 3:34 pm

Thanks for your answer, I still have 2 questions.
1st: Connected to the router it does not allow me to enter moodlebox.home (new IP: 10.1.1.133) but with wikipedia it works with the IP (10.1.1.133:8008) only the services "IP: port" works). Also I tried with IP: 10.0.0.x in the same range of moodlebox and the same only works services if a port is indicated. How should I see moodlebox.home from the router to the RPI?

2nd: Your suggestion for a USB Wifi Dongle. Can you tell me a feature before buying so that it is recognized by the RaspberryPI. Would you have the same problem as in the first question?

Return to “Networking and servers”