BCM4360 AC-PHY support for b43 — reverse-engineered, seeking guidance on a clean path upstream
Alessio Ferri
alessio.ferri at mythread.it
Tue Sep 29 13:13:21 PDT 2026
Il giorno Tue, 29 Sep 2026 14:45:41 +0000
"andreas.wendleder" <andreas.wendleder at proton.me> ha scritto:
> > If you are using an older ucode, probably my driver don't work on
> > your device because it interact with newer ucode, can you look for
> > mac behaviour diff from yours? Maybe we can merge the handling with
> > some ifs, repo here: https://github.com/aleferri/b43-ac-wip
>
> I'm on ucode42.fw (D11 core rev 42), firmware 832.127 (2014-09-19);
> my driver checks SHM UCODEREV against ≤0x128. I don't have a captured
> rev number to compare against yours off-hand — what ucode rev/date
> does your driver target? I've mapped a decent chunk of the real MAC
> event loop (dispatcher + wait points) and the watchdog tick (SHM
> 0x158, ~1.024s) by decompiling wl, so a diff is doable if I know what
> to diff against. Game for merging with #ifdefs if the divergence is
> small.
i have firmware 938.1502, October 2017, as the "target", but i ran a
similarity scan between 938.1502 ucode and 938.10005 and there are no
changes except for the version. The 938.1201 likewise is also very
similar, as far as the similarity tool is concerned. While they are all
very different from the 784.2 from my D Link dsl 3580L router.
So at this point there are 3 version of ucode for AC:
- 784.2 is the original one, dated 2012
- 832.127 is the broadcom sta for linux one
- 938.1xxx is the most recent one
You seems to have decoded fairly well the rx/tx path, i have instead
understood quite a lot of the phy/radio level, you could try to
incorporate my work for the phy and test if you it can improve your own
results. I will take your decoding of the mac handling to test 784.2
and 938.1xxx ucodes.
If you send me your raw bits of srom and opt with a full trace from wl
unloaded to wl loaded, bss up and running, i can tell you if there are
still blindspots in my phy code or if you should be good to go.
More information about the b43-dev
mailing list