Skip to content

fix(bcm43xx): install broadcom-wl-dkms for BCM43224 - #10910

Open
andyholst wants to merge 6 commits into
omacom:quattrofrom
andyholst:fix/macbookair5-2-hardware
Open

andyholst wants to merge 6 commits into
omacom:quattrofrom
andyholst:fix/macbookair5-2-hardware

Conversation

@andyholst

@andyholst andyholst commented Sep 9, 2026 •

Copy link
Copy Markdown

What changes

A 2012 MacBook Air 5,2 (BCM43224, PCI 14e4:4353) gets Wi-Fi from the in-kernel brcmsmac driver. Omarchy already installs broadcom-wl-dkms for BCM4360 (14e4:43a0) and BCM4331 (14e4:4331). This chip was left out, and on this Air brcmsmac associates but loses a large share of packets to the access point.

install/hardware/fix-bcm43xx.sh now treats 14e4:4353 the same way and installs broadcom-wl-dkms. The package already blacklists b43, brcmsmac, bcma, and the other in-kernel Broadcom drivers from /usr/lib/modprobe.d/broadcom-wl-dkms.conf, so this script does not write its own blacklist. That file leaves with the package. An extra /etc/modprobe.d file would stay behind after uninstall and leave the machine with no Wi-Fi driver.

test/shell.d/bcm43xx-wifi-fix-test.sh checks that BCM4360 and BCM4331 are still detected, that BCM43224 installs only broadcom-wl-dkms, that no blacklist file is written, and that an Intel card installs nothing.

Verification

The branch adds test/shell.d/bcm43xx-wifi-fix-test.sh for BCM43224 detection, the single package install, no script-written blacklist, and the Intel skip. I did not re-run that script today. The review on 2 October 2026 reported it passing. Today's check is the hardware retest below.

Hardware, 15 November 2026, on the physical MacBook Air 5,2 this change is for. Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, card 14e4:4353 rev 01. The package was installed by hand on that system (broadcom-wl-dkms 6.30.223.271-50). DKMS built wl for the running kernel. A live module swap left bcma busy, so the clean result is from after a reboot, with wl bound to wlp2s0 and brcmsmac/bcma not loaded. Both sides used the same saved 2.4 GHz network, channel 12, same access point. The profile stayed on 802-11-wireless.band=bg.

brcmsmac wl after reboot
Signal −67 dBm −63 dBm
Client rate (iw) RX 57.8 Mbit/s MCS 11 SGI, TX 78.0 Mbit/s MCS 12 TX 58.5 Mbit/s. iw reports no RX rate and no station dump on wl
TX health 4957 retries and 418 failures on 5449 TX packets over 112 s interface counters: 0 TX errors, 0 RX errors
Ping gateway, 50 packets, 0.2 s apart 20% loss, RTT min/avg/max 1.1/13.0/128 ms 0% loss, RTT min/avg/max 1.1/12.9/151 ms
Download 20 MB from speed.cloudflare.com 16.1 MB in 20 s, then timeout, 807 KB/s (about 6.5 Mbit/s) 20 MB in 5.6 s, 3.56 MB/s (about 28.5 Mbit/s)

The earlier "1170 Mbit/s" and "100%" figures in this pull request were wrong. 1170 Mbit/s is the rate nmcli prints for the access point, and it still prints that with wl loaded. BCM43224 is 2x2 802.11n, so the client link stays under about 300 Mbit/s. The measured gain is loss and throughput on the same link: packet loss 20% to 0%, download about 4.4×, average latency unchanged.

Not checked: this was not a fresh install through the script, 5 GHz was not remeasured on wl, and there is no long soak beyond this session. On brcmsmac, forcing the profile onto the 5 GHz radio of the same network (channel 36) associated and then fell to MCS 0 with 27% loss, which is why the comparison stayed on 2.4 GHz. The kernel warns that wl is unmaintained and taints the kernel.

Screenshots

No visible change: the installer script and a shell test. Nothing in the shell, panels, or theme changes. On a BCM43224 machine the Wi-Fi interface name changes from wlp2s0b1 to wlp2s0 once wl binds, so a saved NetworkManager profile pinned to the old name has to be unpinned before it reconnects.

@andyholst
andyholst force-pushed the fix/macbookair5-2-hardware branch from ccac1ff to 5e5e412 Compare September 9, 2026 01:45
@andyholst andyholst changed the title fix(hardware): add MacBook Air 5,2 support and BCM43224 WiFi detection fix(bcm43xx): add BCM43224 detection and blacklist conflicting drivers Sep 9, 2026
@andyholst andyholst closed this Sep 15, 2026
@andyholst andyholst reopened this Sep 15, 2026
Add BCM43224 (14e4:4353) WiFi chip detection for MacBook Air 5,2.
When b43/brcmsmac/bcma load before wl, they claim the device and
prevent the proprietary wl driver from attaching. Blacklist them
in /etc/modprobe.d/broadcom-wl.conf so broadcom-wl-dkms works out
of the box on fresh installs.

Verified on physical MacBook Air 5,2: 7.8x link speed improvement
(144 Mbps → 1170 Mbps) with broadcom-wl-dkms vs brcmsmac.
Omarchy runs linux-omarchy, and the base install already supplies its headers before hardware setup, per agents/skills/install-scripts.md. linux-headers is the stock Arch kernel's, so it pulled in headers for a kernel that is not installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The latest changes appear safe to merge; no new blocking issue was established.

Summary

Adds BCM43224 to Broadcom driver setup, provides an upgrade migration, and tests all three supported chips.

  • BCM43224 machines get the Broadcom Wi-Fi driver at install or migration.

Reviews (6) · Last reviewed commit: "Keep the BCM43224 migration pending when..." · Reviewed by Greptile

Comment thread install/hardware/fix-bcm43xx.sh Resolved
Comment thread install/hardware/fix-bcm43xx.sh Resolved
Comment thread install/hardware/fix-bcm43xx.sh Resolved
Comment thread test/shell.d/bcm43xx-wifi-fix-test.sh Resolved
The package already ships /usr/lib/modprobe.d/broadcom-wl-dkms.conf blacklisting b43, b43legacy, bcm43xx, bcma, brcm80211, brcmfmac, brcmsmac and ssb, so the extra /etc file added nothing while wl is installed. Unlike the package's file, it outlived the package: removing broadcom-wl-dkms to fall back to brcmsmac or b43 left both blacklisted and the machine without Wi-Fi after reboot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Codex Medium <noreply@openai.com>
@omarchybot

Copy link
Copy Markdown
Collaborator

Thanks for this, @andyholst. I reviewed it and pushed two commits to your branch. The detection line for BCM43224 (14e4:4353) is unchanged; the rest of the script is back to what quattro already does.

What changed on the branch, and why

  • install/hardware/fix-bcm43xx.sh installs broadcom-wl-dkms alone again, without linux-headers. Omarchy runs linux-omarchy, and the base install already provides linux-omarchy-headers before hardware setup (agents/skills/install-scripts.md). linux-headers is the stock Arch kernel's package, so it installed headers for a kernel that isn't there.
  • The /etc/modprobe.d/broadcom-wl.conf blacklist is gone. broadcom-wl-dkms already ships /usr/lib/modprobe.d/broadcom-wl-dkms.conf, which blacklists b43, b43legacy, bcm43xx, bcma, brcm80211, brcmfmac, brcmsmac and ssb. I checked that against the package itself on a worker. So while wl is installed, the extra file added nothing. Unlike the package's file, though, it stays behind when the package is removed: someone who uninstalls broadcom-wl-dkms to go back to brcmsmac would keep brcmsmac blacklisted and have no Wi-Fi after a reboot.
  • The test now checks that broadcom-wl-dkms is the only package installed and that nothing is written to /etc/modprobe.d. I confirmed that each of these assertions fails against the code it replaced.

What ran, and where

All of this ran on a disposable Omarchy VM with a stubbed lspci:

  • With a BCM43224 present, quattro installs nothing and this branch installs broadcom-wl-dkms.
  • test/cli passes.
  • Your test file passes.
  • test/shell has four failures: ascii, branding-about-animation, omarchy-kernel-migration and screenshot-sanity. Each one fails the same way on quattro without this change.

The VM has no BCM43224, so whether wl actually binds and performs better on a MacBook Air 5,2 hasn't been tested here.

Second opinion

Codex Medium reviewed the PR. Its independence from my review isn't guaranteed. It agreed about the headers and the redundant blacklist, and it was the one that spotted the leftover file breaking a fallback to brcmsmac. On the pushed head it found nothing left to act on.

For the maintainer

The open question isn't about the code. brcmsmac supports BCM43224 in the kernel, and the table in the description shows it connected. So on quattro this machine already has Wi-Fi, and this PR is a choice to switch it to the proprietary wl driver for performance. That decision is the maintainer's. The 1170 Mbit/s figure can't be a link rate for this chip: BCM43224 is 2x2 802.11n, which tops out around 300 Mbit/s. @andyholst, could you say where that number came from? Could you also confirm that 2dce17a01c19b40e3ac1d615a4403bae3d5e1524 still brings up wl on your Air, now that blacklisting is left to the package?

Related open PRs also change install/hardware/fix-bcm43xx.sh, for other chips: #11655 (BCM4352), #12076 (sysfs detection helper) and #13532 (MacBookAir4,1 exception). Whichever lands later will need to keep the other's IDs.

This now waits on the maintainer.

@jandrusk

Copy link
Copy Markdown

Diff only adds PCI 14e4:4353 to the existing broadcom-wl-dkms path — blacklist stays with the package (title is a bit strong).

Please confirm on a MacBook Air 5,2 that wl is the right driver here; #7593 / #13532 are the cautionary tale for shipping wl on Airs where b43/brcmsmac was safer. Nearby chip PRs: #15106 (BCM43228), #11311 (BCM4322 b43-firmware).

@andyholst andyholst changed the title fix(bcm43xx): add BCM43224 detection and blacklist conflicting drivers fix(bcm43xx): install broadcom-wl-dkms for BCM43224 Nov 15, 2026
@andyholst

Copy link
Copy Markdown
Author

Retested on the same MacBook Air 5,2 (BCM43224, 14e4:4353) on 15 November 2026 and replaced the numbers in the description. The old "144 Mbit/s → 1170 Mbit/s" and "100% signal" lines are withdrawn.

What changed in the branch since that table was written:

  • install/hardware/fix-bcm43xx.sh only adds 14e4:4353 to the existing broadcom-wl-dkms install. It does not write /etc/modprobe.d/broadcom-wl.conf.
  • Blacklisting stays with the package (/usr/lib/modprobe.d/broadcom-wl-dkms.conf). That file is removed with the package, so uninstalling wl can fall back to brcmsmac.
  • The title still said "blacklist conflicting drivers". Updated it to match the diff.

What was tested:

  • Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, broadcom-wl-dkms 6.30.223.271-50 installed by hand and built by DKMS. This was an existing install, not a run of the installer script.
  • A live rmmod left bcma busy. After reboot, wl owned wlp2s0 and brcmsmac/bcma stayed unloaded.
  • Same 2.4 GHz network, channel 12, same access point, profile still band=bg.
  • brcmsmac: −67 dBm, RX 57.8 / TX 78 Mbit/s, 4957 retries and 418 TX failures on 5449 packets, ping 20% loss (50 packets), 20 MB download timed out at 16.1 MB / about 6.5 Mbit/s.
  • wl: −63 dBm, TX 58.5 Mbit/s (iw gives no RX rate), 0 interface errors, ping 0% loss, same average RTT (~13 ms), 20 MB in 5.6 s / about 28.5 Mbit/s.
  • nmcli still shows 1170 Mbit/s. That is the access point's advertised rate, not the client link. This chip cannot do that rate.

Not tested: 5 GHz on wl, or a soak longer than this session. On brcmsmac, the 5 GHz radio of the same network associated at MCS 0 with 27% loss, so the comparison was kept on 2.4 GHz.

One practical note for an already installed machine: the interface name changes from wlp2s0b1 to wlp2s0, and a NetworkManager profile pinned to the old name will not reconnect until connection.interface-name is cleared.

@andyholst

Copy link
Copy Markdown
Author

@jandrusk Confirmed on this MacBook Air 5,2. wl is the driver that works here. The title is updated to match the diff: it only adds PCI 14e4:4353 to the existing broadcom-wl-dkms install, and the blacklist stays in the package.

This is not the #7593 / #13532 case. Those are a MacBookAir4,1 with BCM4331 (14e4:4331), where wl hard-freezes the machine and in-kernel b43 is the safe driver. #13532 skips wl only for that model plus that PCI ID. This Air is a MacBookAir5,2 with BCM43224 (14e4:4353). The kernel binds it with brcmsmac through bcma, not b43. Loading wl did not freeze it.

What ran, 15 November 2026, Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, broadcom-wl-dkms 6.30.223.271-50. The package was installed by hand, which is the same package 2dce17a installs, including /usr/lib/modprobe.d/broadcom-wl-dkms.conf. It was not a fresh run of the installer script. A live rmmod left bcma busy. After reboot, wl owns wlp2s0 and brcmsmac / bcma stay unloaded. That is still the state of this machine.

Same 2.4 GHz network, channel 12, same access point, profile left on band=bg:

brcmsmac wl after reboot
Signal −67 dBm −63 dBm
Client rate RX 57.8 / TX 78 Mbit/s TX 58.5 Mbit/s (iw reports no RX rate on wl)
Ping, 50 packets 20% loss, average 13 ms 0% loss, average 13 ms
20 MB download about 6.5 Mbit/s, then timeout about 28.5 Mbit/s

So the switch is for loss and throughput. The client rate stays in the 802.11n range. nmcli still prints 1170 Mbit/s, which is the access point's advertised rate, and this 2x2 802.11n chip cannot do that. That also answers the open question on the 1170 figure.

#15106 is BCM43228 and #11311 is BCM4322 with b43-firmware. This diff does not touch either ID.

Not checked: a soak longer than this session, 5 GHz on wl, or a clean install through the script. On brcmsmac, the 5 GHz radio of the same network associated at MCS 0 with 27% loss, so the comparison stayed on 2.4 GHz. The kernel warns that wl is unmaintained and taints the kernel.

@andyholst

Copy link
Copy Markdown
Author

@omarchybot The two questions in #10910 (comment) are answered. The branch head is still 2dce17a.

Where 1170 Mbit/s came from. It was the RATE column from nmcli device wifi list for the access point. That column is still 1170 Mbit/s with wl loaded. It is not the client link rate. BCM43224 is 2x2 802.11n, and iw on this Air shows the client at RX 57.8 / TX 78 Mbit/s on brcmsmac and TX 58.5 Mbit/s on wl. The description no longer claims 1170 as a result.

Does 2dce17a still bring wl up once blacklisting is left to the package. Yes, on this MacBook Air 5,2. The package 2dce17a installs was installed by hand (broadcom-wl-dkms 6.30.223.271-50 on kernel 7.2.15-1-omarchy), not by checking out the script. Its /usr/lib/modprobe.d/broadcom-wl-dkms.conf is what kept brcmsmac and bcma from loading. After reboot, wl owns wlp2s0 and that is still the driver in use. Same 2.4 GHz access point, channel 12: ping loss 20% to 0%, 20 MB download about 6.5 Mbit/s to about 28.5 Mbit/s. No freeze. The numbers and the limits (no soak, no 5 GHz retest on wl, not a fresh installer run) are in #10910 (comment).

The code points in that review still match the diff: no extra linux-headers install, no /etc/modprobe.d/broadcom-wl.conf, detection of 14e4:4353 only. The choice to ship the proprietary driver for a chip brcmsmac already binds is still the maintainer's.

Of the other edits to install/hardware/fix-bcm43xx.sh named there: #13532 is the MacBookAir4,1 plus BCM4331 exception and is a different chip. #11655 adds BCM4352 (14e4:43b1). #12076 replaces the lspci grep with omarchy-hw-bcm43xx, whose match list is only 0x43a0 and 0x4331. If that lands on top of this branch it drops 14e4:4353. Whichever lands second has to keep 4353 in whatever detection is left.

andyholst and others added 3 commits November 15, 2026 21:18
Hardware setup only runs at install, so an Air already on brcmsmac never
received broadcom-wl-dkms. The migration installs it when 14e4:4353 is
present and b43-firmware is not, then asks for a reboot.

BCM4360 and BCM4331 now go through the stubbed lspci path, so a comment
that still mentions those IDs cannot keep the test green.
broadcom-wl-dkms blacklists brcmsmac for every kernel, but DKMS only builds wl for kernels whose headers are installed. A BCM43224 machine upgraded from 3.x keeps the stock linux kernel as its boot fallback without headers, so after this migration that kernel would boot with brcmsmac blacklisted and no wl. The header repair in omacom#12074 cannot cover it: it runs earlier, before broadcom-wl-dkms is installed here, and exits. The loop names every Arch repository kernel, the RT flavours included, since each one would lose its driver the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Codex Medium <noreply@openai.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@pi.dev>
A failed lspci inside the condition read as no BCM43224 present, so the migration exited 0 and was marked complete, never to run again. Capture the query on its own and exit non-zero instead, as the YT6801 migration does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Codex Medium <noreply@openai.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@pi.dev>
@omarchybot

Copy link
Copy Markdown
Collaborator

Thanks for the retest and the corrected numbers, @andyholst. I reviewed the new migration in 6dbc654 and pushed two commits to your branch. The installer change and your test are unchanged.

What changed on the branch, and why

  • migrations/1794773873.sh now installs headers for every stock Arch kernel on the machine (linux, linux-lts, linux-zen, linux-hardened, linux-rt, linux-rt-lts) before it installs broadcom-wl-dkms (6f91e14). The package blacklists brcmsmac for every kernel, but DKMS builds wl only for kernels that have headers. A machine upgraded from 3.x keeps stock linux as its boot fallback, usually without headers. After the migration, booting that fallback would leave the machine with no Wi-Fi driver at all, where on quattro today it still has brcmsmac. Install stock kernel headers for broadcom-wl-dkms on upgraded Macs #12074's header repair can't cover this: its migration sorts earlier and skips machines that don't have broadcom-wl-dkms yet.
  • The PCI check is now lspci -n -d 14e4:4353, run on its own line, and the migration exits 1 if the query fails (03b6d88). Before, a failed lspci inside the condition read as "no BCM43224". The migration exited 0, was marked complete, and would never run again. This is the same pattern as the YT6801 migration (1788279117.sh).

What ran, and where

All of this ran on a disposable Omarchy VM on kernel 7.2.15-2-omarchy, with lspci stubbed to report a BCM43224:

  • With stock linux 7.3.4 installed without headers, 6dbc654 exited 0 and built wl only for 7.2.15-2-omarchy, while the package's blacklist applied to both kernels. With the fix, linux-headers gets installed, wl builds for both kernels with matching vermagic, and reboot-required is set.
  • Run again, the migration does nothing. With no stock kernel installed, it installs no headers. With no BCM43224 present, it installs nothing. When lspci fails, it exits 1 and the migration stays pending. On 6dbc654 that case exited 0.
  • test/cli passes. test/shell.d/bcm43xx-wifi-fix-test.sh passes 11/11 on this branch and fails its BCM43224 case against quattro's fix-bcm43xx.sh. The full test/shell suite was not run this time.

The VM has no Broadcom radio. Whether wl actually works better than brcmsmac rests on your retest on the MacBook Air 5,2.

Second opinion

Codex Medium and muse-wonder (pi, thinking high) reviewed the change over three rounds. Their independence from my review isn't guaranteed. The missing RT kernels and the swallowed lspci failure were their findings, not mine. One finding was rejected: omarchy-hw-x86 is missing only from this branch's September base. quattro has it, and the branch merges cleanly. On 03b6d88, neither reviewer found anything left to act on.

For the maintainer

This now waits on the maintainer.

@rszrszrsz

Copy link
Copy Markdown

A second hardware data point for 14e4:4353: a MacBookPro6,2 (2010) on 5 GHz, which the retest above did not cover. It is one machine and one evening (18 November 2026).

Setup. Omarchy 4.5.0-3, kernel 7.2.15-1-omarchy, broadcom-wl-dkms 6.30.223.271-50 installed by hand, then a reboot. The access point is an AVM FritzBox 7490 on 5 GHz, channel 52 (DFS), 80 MHz. The other end of every throughput test was a laptop on the same 5 GHz radio, so the absolute speeds are low and only the ratios mean much. The brcmsmac numbers are single runs from before the switch. I can't repeat them without reverting the driver.

brcmsmac wl
Link iw: TX MCS 13–15, 115.6–144.4 Mbit/s (20 MHz rates). The AP reported 104 Mbit/s The AP reports 300 Mbit/s, 40 MHz
Ping to the gateway, 50 packets, 0.2 s apart 0% loss, average 1.9 ms 0% loss, average 1.2 ms
Receive over ssh, 300 MB 5.2 MB/s 14.2 MB/s
Send over ssh 3.9 MB/s 14.1 and 14.3 MB/s

The ssh runs used the same command on both drivers and went through a WireGuard tunnel (Tailscale, direct on the LAN).

1. wl works on 5 GHz here. It associates at 40 MHz with no ping loss, and throughput on the same path is about 2.7× (receive) and 3.6× (send) what brcmsmac gave. The measurements were taken in the first half hour. After that, wl held the connection for 13 hours with no disconnect and no driver errors in the kernel log until a planned reboot, then came back on its own. After the first reboot wl bound with only the package's blacklist, and the interface was renamed from wlp3s0b1 to wlp3s0, as described above.

2. brcmsmac did not fail here the way it did on the Air. On 5 GHz it held MCS 13–15 with no ping loss, where the retest above saw MCS 0 and 27% loss. It was not clean either: about three minutes after associating, and after roughly 600 MB of test traffic, iw station dump showed 105157 TX retries and 7868 TX failures. On this machine the gain from wl is throughput, not connectivity. The migration would also reach machines like this one.

3. With wl, TCP sent under Omarchy's default bbr was 3–4× slower than under cubic. This is plain TCP sent from the machine over the LAN, with the congestion control set per socket (TCP_CONGESTION) and nothing else changed:

  • bbr: 2.8 and 3.5 MB/s. ss -ti showed cwnd 40–58.
  • cubic: 11.4, 12.0 and 12.6 MB/s, cwnd 330–550. A fourth cubic run gave 3.6 MB/s. It probably overlapped another transfer, but I can't prove that.

The same file served over HTTP from this machine went from 7.2 MB/s on brcmsmac (one run) to 3.3–4.7 MB/s on wl (five runs), both under bbr. With a file in /etc/sysctl.d that sorts after 99-omarchy-sysctl.conf and sets cubic, it reached 7.4 and 8.0 MB/s.

I did not compare bbr and cubic on brcmsmac, so I can't say this is specific to wl. The retest above measured a download, which would not show it. @andyholst, could you time an upload from the Air under bbr and under cubic? #18059 is the open issue about the bbr default.

4. Kernel log when wl loads on 7.2.15, in addition to the "not maintained" notice:

Unpatched return thunk in use. This should not happen!
WARNING: arch/x86/kernel/cpu/bugs.c:3776 at __warn_thunk
UBSAN: array-index-out-of-bounds in src/wl/sys/wl_linux.c:1937:4
memcpy: detected field-spanning write (size 350) … wl_cfg80211_hybrid.c:3139

The __warn_thunk stack is getvar [wl] called from wl_module_init. The taint flags are P, W, O and E. Wi-Fi works anyway.

@omarchybot

Copy link
Copy Markdown
Collaborator

I read the new MacBookPro6,2 report and checked the installer and migration at unchanged head 03b6d889b87b6ea72593fbef638d069618abdce8. The report adds 13 hours of stable 5 GHz use, slower TCP uploads under bbr, and kernel warnings when wl loads. It does not compare congestion controls on brcmsmac, so it leaves the cause of the upload slowdown unresolved.

GPT-6 High in Codex performed this pass. The required second classification returned unreviewed because deepseek-v4p1-flash supplied no usable answer; no substantive second review ran. The queue workflow stops here until classification is settled. No code changed and no tests ran in this pass. The decision about switching existing BCM43224 installations to wl remains with the maintainer.

@omarchybot omarchybot removed bug Something isn't working compatibility Make Omarchy work better on everything! labels Nov 19, 2026
@rszrszrsz

Copy link
Copy Markdown

Follow-up on the open question: does the bbr slowdown also happen on brcmsmac? On 19 November 2026, I switched the same MacBookPro6,2 back to brcmsmac, measured, and then reinstalled wl. The method is the one in point 3 of my earlier comment. The machine sent plain TCP to a laptop on the same 5 GHz radio, with the congestion control set per socket. Each run sent 150 MB, and the runs alternated between bbr and cubic.

Send rate from the machine, in measurement order bbr cubic
wl before the switch, 44 minutes after boot 3.0–3.4 MB/s, 3 runs 5.1–5.5 MB/s, 6 runs
brcmsmac, 6 runs each 6.9–9.1 MB/s 5.9–8.7 MB/s, and one run at 1.9 MB/s
wl right after the reinstall and reboot, 3 runs each 3.8–4.2 MB/s 9.9–14.5 MB/s
wl one hour later in the same boot, 3 runs each 3.8–4.6 MB/s 12.0–13.4 MB/s

On brcmsmac, bbr is not slower than cubic. On wl, bbr is slower than cubic in every series, by about 3× in the last two. So on this machine, the bbr slowdown happens with wl and does not happen with brcmsmac. I have not looked for the cause.

Under Omarchy's default bbr, wl sent at about half the rate of brcmsmac. Under cubic, wl sent about 1.7× faster than brcmsmac in the last two series, and slower than brcmsmac in the first series. Receive over ssh was 13.3–14.9 MB/s on wl after the reboot and 8.1–8.3 MB/s on brcmsmac. So on a machine like this one, the migration in this PR would make downloads faster. While bbr stays the default, the migration would also cut uploads to about half. #18059 tracks the bbr default.

The first wl series was also slower on receive, at 11.4 and 8.3 MB/s. I don't know why. Someone was using the machine when the series started. The slowdown did not repeat after the reboot, or one hour into that boot.

This corrects my earlier comment. Its brcmsmac ssh numbers, 5.2 MB/s receive and 3.9 MB/s send, were single runs, and they came out low. Today, repeated runs on brcmsmac gave 8.1–8.3 MB/s receive and 6.7–7.1 MB/s send over ssh. With cubic as the system default, the gain from wl over ssh is about 1.7× on receive and about 2× on send, not 2.7× and 3.6×.

@omarchybot omarchybot added bug Something isn't working compatibility Make Omarchy work better on everything! labels Nov 22, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Classification is now agreed as hardware compatibility. I rechecked unchanged head 03b6d889b87b6ea72593fbef638d069618abdce8, the installer and migration callers, and the follow-up from @rszrszrsz. Their alternating driver comparison on the MacBookPro6,2 reports uploads under bbr at 6.9–9.1 MB/s with brcmsmac, versus 3.8–4.6 MB/s with wl after reboot, while downloads improve. This supplies the comparison missing from the earlier report; it is still one machine, and the cause has not been established. The migration would switch every existing x86 machine with 14e4:4353 that has neither broadcom-wl-dkms nor b43-firmware.

On a fresh disposable Omarchy worker, test/cli passed 112 checks and the focused Broadcom test passed 11/11. My separate installer probe failed on the base, passed on this head, and failed after restoring the base script. Migration probes passed for hardware/package skips, failed PCI queries, fallback-kernel header ordering, and stopping on header installation failure. These checks used stubbed hardware and package calls; they do not verify a radio, a DKMS build, or throughput. The full shell suite was not run. No code changed.

GPT-6 High in Codex reviewed this pass, with Opus 5.5 High and muse-wonder via pi, thinking high providing the second opinion on this head. They found no verified new code defect and agreed that the automatic driver switch needs a maintainer decision; independence from my review is not guaranteed. One package-conflict lead was checked on another disposable worker: the normal system upgrade replaces the retired prebuilt broadcom-wl package before migrations, so it does not establish a blocker on that path. Both workers were destroyed.

This remains unverified and waits on the maintainer's decision about the automatic switch, given the reported upload regression under the default congestion control. The hardware reports installed the package manually and do not validate this full head. A maintainer testing an affected machine can fetch this PR into a separate checkout, detach at 03b6d889b87b6ea72593fbef638d069618abdce8, and run bash -euo pipefail migrations/1794773873.sh as the normal Omarchy user from that checkout, starting with brcmsmac and neither driver package installed, then reboot and report driver binding, connectivity, and upload/download results. The existing package guards intentionally skip a machine already running wl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working compatibility Make Omarchy work better on everything!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants