Broadcom Open Source Wifi

Broadcom Open Source Wifi is coming for Older Broadcom targets
Through a combined effort of the best developers there is now b43-next:

PR's have been made to bring it into the regular OpenWRT builds
For the wifi drivers: https://github.com/openwrt/openwrt/pull/26719
For the Flow acceleration (Broadcom's Northstar Hardware offload): https://github.com/openwrt/openwrt/pull/26789

I have it already fully working on some of my Broadcom routers see:

For Flow Acceleration, Broadcom's Hardware Flow Offload see:

Exiting times for Older Broadcom routers.

We now have an experimental FOSS b43 wireless Broadcom driver for 4360 radio's (see PROVENANCE.md about how we got our data in a legal way)

Popular routers like Netgear R7000 and Asus AC68U and many more have these radio's for 2.4 and 5 GHz.

I have tested it on my EA6900 and it is almost on par with the wl stock driver.

Not everything is working yet but 2.4 and 5 GHz now have at last usable wifi.

Several users already tested it with good success.

It is not yet in the OpenWRT tree so you have to compile yourself.

To get a head start see: https://github.com/egc112/Broadcom/tree/main/linksys-ea6900

Users for popular Broadcom routers which have a 4331 radio for 2.4 GHz e.g NetGear R6400, Asus RT-N16 which recently have been added to OpenWRT are also not left out, work is also underway to get that supported: https://github.com/openwrt/openwrt/pull/25922 it needs some fine tuning but it is also coming see: https://github.com/egc112/Broadcom/tree/main/b43-80211n

With the latest round of optimisations we have pretty good results comparable with the Broadcom closed source drivers:

5 GHz VHT80 up / down: 398 / 452
2.4 GHz HT20 up / down 149 / 152

Al measured on my Linksys EA6900 (both radio's 4360) with a DLWRX36 as client.

it works stable but things like mutiple SSID, client mode etc are not yet tested this is just a router with one 2.4 GHz and one 5 GHz AP

whoa ! what a fantastic news ! i have few broadcom devices like buffalo wzr1750 asus n66u airties 4920/4930 and some half dead few more to play, do you have plan to build for more of them?

All chipsets and sometimes boards need their own handling currently 4331 and 4360 radio's are supported

So often the router is needed to get it fully supported

Your Buffalo is almost the same as my r6400 so that might be supported very soon:

Love seeing these older devices getting a second life! :raising_hands:

It's a shame that the Archer C9 was dropped from support a long time ago :frowning_face_with_open_mouth:

Yes there are a couple of people working on it, the goal is to get it upstreamed, but for now we already have a working solution for popular Broadcom routers like NetGear R7000, Asus AC68U, my own Linksys EA6900 and others with 4360 Radio's

Also for routers with 4331 2.4 GHz and 4360 5 GHz radio (like my Netgear R6400) is a solution in the make, the 4331 2.4 GHz radio has basic 2 stream HT support but that solution is not compatible with the solution for the 4360 radio yet so that has to be combined to get full support

Is it?

It has 4360 radio's so it might work, 16 MB flash should also be just enough

I belive it's they third one, sir :rofl:.

How about a archer c8? This one is crippled to 128MB of ram if i remember...

And what about 43520 ? I belive it's also crippled 4360 chip too but with only two chains.

Actually, the latest version released for C9 it is OpenWRT 19.07.10
I don't remember anymore, but I think they just stopped supporting it because there's no Wi-Fi (at least back then).

Supported Since Rel: 17.01.0
Supported Current Rel: EOL

There must be a specific reason why it is EOL but the C9v1 should in theory be supportable just enough flash and RAM although both on the low side

I did some digging and it turns out something broke starting with kernel 5.4 :confused:

Good find, worth a try to compile maybe it is working again?

Hmm, maybe I'll try compiling it when I have the time and a chance to test it. I'm using the C9 as my main router (with DD-WRT), and it doesn't quite suit me, but maybe I'll check it out sometime.

I have been using DDWRT a lot in the past I still have a lot of older Broadcom routers and I administer some from family members which still run DDWRT.

These aren't bad results when compared to the original - I’ve put together a colorful visualization of the speed test, and the connection data is also provided as text for our dear forum followers. I’m still brushing off the dust I picked up while retrieving the router from the attic - I’m actually feeling quite cheerful! Of course, the same test will be performed once the driver from our talented friend aleferri is integrated upstream or downstream. I’m going to install and run it now, too - https://github.com/openwrt/openwrt/pull/26349 and I thank everyone on the team who is working on this.

================================================================================================

2.4GHz HT20

Band: 2.4 GHz
Channel bandwidth: 20 MHz
Modulation Scheme: Up to MCS 7 (802.11n)

# nvram show | grep turbo
wl0_turbo_qam=0
wl_turbo_qam=0
wl1_turbo_qam=1


SSID: "AP24"
noise: -89 dBm	Channel: 6
BSSID: BC:M4:36:0A:SU:24	Capability: ESS ShortPre ShortSlot RRM 
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
HT Capable:
	Chanspec: 2.4GHz channel 6 20MHz (0x1006)
	Primary channel: 6
	HT Capabilities: 
	Supported HT MCS : 0-23

Interference Level: Acceptable
Mode	: AP Only

Stations List                           
----------------------------------------
idx MAC               Associated Authorized   RSSI PHY PSM SGI STBC Tx rate Rx rate Connect Time
    MT:79:21:MT:68:97 Yes        Yes        -10dBm n   Yes Yes Yes   144.4M      1M     00:06:03

================================================================================================

2.4GHz VHT20

Band: 2.4 GHz
Channel bandwidth: 20 MHz
Modulation Scheme: Up to MCS 9 (TurboQAM/256-QAM)

# nvram show | grep turbo
wl0_turbo_qam=1
wl_turbo_qam=1
wl1_turbo_qam=1


SSID: "AP24"
noise: -91 dBm	Channel: 6
BSSID: BC:M4:36:0A:SU:24	Capability: ESS ShortPre ShortSlot RRM 
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
VHT Capable:
	Chanspec: 2.4GHz channel 6 20MHz (0x1006)
	Primary channel: 6
	HT Capabilities: 
	Supported HT MCS : 0-23
	VHT Capabilities: 
	Supported VHT (tx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9
	Supported VHT (rx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9

Interference Level: Acceptable
Mode	: AP Only

Stations List                           
----------------------------------------
idx MAC               Associated Authorized   RSSI PHY PSM SGI STBC Tx rate Rx rate Connect Time
    MT:79:21:MT:68:97 Yes        Yes        -10dBm ac  Yes Yes Yes   173.3M      1M     00:02:28

================================================================================================

2.4GHz HT40

Band: 2.4 GHz
Channel bandwidth: 40 MHz
Modulation Scheme: Up to MCS 7 (802.11n)

# nvram show | grep turbo
wl0_turbo_qam=0
wl_turbo_qam=0
wl1_turbo_qam=1


SSID: "AP24"
noise: -87 dBm	Channel: 6l
BSSID: BC:M4:36:0A:SU:24	Capability: ESS ShortPre ShortSlot RRM 
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
HT Capable:
	Chanspec: 2.4GHz channel 8 40MHz (0x1808)
	Primary channel: 6
	HT Capabilities: 
	Supported HT MCS : 0-23 32

Interference Level: Acceptable
Mode	: AP Only

Stations List                           
----------------------------------------
idx MAC               Associated Authorized   RSSI PHY PSM SGI STBC Tx rate Rx rate Connect Time
    MT:79:21:MT:68:97 Yes        Yes         -8dBm n   Yes Yes Yes     300M      1M     00:02:50

================================================================================================

2.4GHz VHT40

Band: 2.4 GHz
Channel bandwidth: 40 MHz
Modulation Scheme: Up to MCS 9 (TurboQAM/256-QAM)

# nvram show | grep turbo
wl0_turbo_qam=1
wl_turbo_qam=1
wl1_turbo_qam=1


SSID: "AP24"
noise: -86 dBm	Channel: 6l
BSSID: BC:M4:36:0A:SU:24	Capability: ESS ShortPre ShortSlot RRM 
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
VHT Capable:
	Chanspec: 2.4GHz channel 8 40MHz (0x1808)
	Primary channel: 6
	HT Capabilities: 
	Supported HT MCS : 0-23 32
	VHT Capabilities: 
	Supported VHT (tx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9
	Supported VHT (rx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9

Interference Level: Acceptable
Mode	: AP Only

Stations List                           
----------------------------------------
idx MAC               Associated Authorized   RSSI PHY PSM SGI STBC Tx rate Rx rate Connect Time
    MT:79:21:MT:68:97 Yes        Yes         -9dBm ac  Yes Yes Yes     400M      1M     00:04:56

================================================================================================

5.2GHz VHT80

Band: 5 GHz
Channel bandwidth: 80 MHz
Modulation Scheme: Up to MCS 9 (802.11ac)

# nvram show | grep turbo
wl0_turbo_qam=1
wl_turbo_qam=1
wl1_turbo_qam=1


SSID: "AP52"
noise: -92 dBm	Channel: 48/80
BSSID: BC:M4:36:0A:SU:52	Capability: ESS RRM 
Supported Rates: [ 6(b) 9 12(b) 18 24(b) 36 48 54 ]
VHT Capable:
	Chanspec: 5GHz channel 42 80MHz (0xe32a)
	Primary channel: 48
	HT Capabilities: 
	Supported HT MCS : 0-23
	VHT Capabilities: 
	Supported VHT (tx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9
	Supported VHT (rx) Rates:
		NSS: 1 MCS: 0-9
		NSS: 2 MCS: 0-9
		NSS: 3 MCS: 0-9

Interference Level: Acceptable
Mode	: AP Only

DFS status: state IDLE time elapsed 150ms radar channel cleared by DFS none

Channel Information                     
----------------------------------------
Channel 36	A Band
Channel 40	A Band
Channel 44	A Band
Channel 48	A Band
Channel 52	A Band, RADAR Sensitive, Passive
Channel 56	A Band, RADAR Sensitive, Passive
Channel 60	A Band, RADAR Sensitive, Passive
Channel 64	A Band, RADAR Sensitive, Passive
Channel 100	A Band, RADAR Sensitive, Passive
Channel 104	A Band, RADAR Sensitive, Passive
Channel 108	A Band, RADAR Sensitive, Passive
Channel 112	A Band, RADAR Sensitive, Passive
Channel 116	A Band, RADAR Sensitive, Passive
Channel 132	A Band, RADAR Sensitive, Passive
Channel 136	A Band, RADAR Sensitive, Passive
Channel 140	A Band, RADAR Sensitive, Passive

Stations List                           
----------------------------------------
idx MAC               Associated Authorized   RSSI PHY PSM SGI STBC Tx rate Rx rate Connect Time
    MT:79:21:MT:68:97 Yes        Yes        -11dBm ac  Yes Yes Yes   866.7M      6M     00:03:18

================================================================================================

Thanks, some of these older Broadcom devices are still very capable with the right software :slight_smile:
What is the device you are talking about?

To put it vividly, the device is a 66U B1 alike that has awakened from a deep slumber and gotten back on its feet. I've attached textual data on preliminary testing - board basic, connection and configuration.

# grep \"id /etc/board.json 
		"id": "asus,rt-ac68u",


# grep b43 /etc/modules.conf 
options b43 txbf=1

# cat /sys/module/b43/parameters/txbf
1


# iwinfo phy0-ap0 info
phy0-ap0 ESSID: "AP24"
         Access Point: BC:M4:36:0A:SU:24
         Mode: Master  Channel: 13 (2.472 GHz)  HT Mode: HT20
         Center Channel 1: 13 2: unknown
         Tx-Power: 20 dBm  Link Quality: 70/70
         Signal: -19 dBm  Noise: 0 dBm
         Bit Rate: 144.4 MBit/s
         Encryption: WPA-PSK (CCMP)
         Type: nl80211  HW Mode(s): 802.11n/g/b
         Hardware: nl80211 [Generic MAC80211]
         TX power offset: none
         Channel offset: none
         Supports VAPs: yes  PHY name: phy0


# iwinfo phy0-ap0 assoclist
MT:79:21:MT:68:97  -16 dBm / 0 dBm (SNR -16)  250 ms ago
	RX: 173.4 MBit/s, VHT-MCS 9, unknownMHz, VHT-NSS 2    202982 Pkts.
	TX: 117.0 MBit/s, MCS 14, unknownMHz    131343 Pkts.
	expected throughput: 64.7 MBit/s


# cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0/bcma1:1'
	option band '2g'
	option channel '13'
	option htmode 'HT20'
	option country 'DE'
	option cell_density '0'
	option txpower '20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'AP24'
	option encryption 'psk2+ccmp'
	option key 'mettezlesucreicilesalesemangeaveclasoupe'

Connecting to 5GHz failes, and the only relevant message is:

daemon.notice hostapd: phy1-ap0: STA MT:79:21:MT:68:97 IEEE 802.11: did not acknowledge authentication response