AW: Re: BCM4360 AC-PHY support for b43 — reverse-engineered, seeking guidance on a clean path upstream
andreas.wendleder
andreas.wendleder at proton.me
Tue Sep 29 01:27:53 PDT 2026
> Least, but not last, the wl order of macro operation and b43 order are different in multiple places, how did you reconcile the two?
Good sign: we're core_rev 42 too, so our disassembly and yours should be
directly comparable.
femctrl/srom: not touched, no handling anywhere in our port. One fixed
test board, so we've never hit a different value. No data point to
offer - if you find out what it gates, let me know.
wl order vs b43 order: we captured wl's real register-access sequence live (bpftrace kprobes on its own osl_readl/writel/delay, wl left loaded and bound throughout - never touch its binding while probes attach) and diffed it against our call order, case by case.
Sharpest example:
b43's generic switch_channel calls the per-channel tune, then
unconditionally re-applies a captured POR snapshot afterward - captured during wl's first association, on channel 1. So channel 6 got tuned correctly, then immediately overwritten back to channel 1's values.
wl's real order runs the POR replay once at attach, not after every
switch. Cost us a real mistune bug before the trace diff caught it.
Smaller example, same category: our TX-cal port was missing one PHY
register write wl issues between the gain-table override and starting the test tone - doesn't crash, just makes the measurement never differentiate.
More information about the b43-dev
mailing list