Skip to content

wifi/Bluetooth: bring up J700 MT7932 radios with local firmware - #153

Merged
Acelogic merged 6 commits into
codex/neo-pcie-root-bringupfrom
codex/neo-mt7932-radios
Oct 2, 2026
Merged

Acelogic merged 6 commits into
codex/neo-pcie-root-bringupfrom
codex/neo-mt7932-radios

Conversation

@Acelogic

@Acelogic Acelogic commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Enable MT7932 Wi-Fi through NetworkManager/KDE and add the Bluetooth PCIe transport on the Neo. Requires #151 and locally installed firmware/calibration; no blobs or credentials are included.

The complete radio series is now integrated into aurora-wip by 3bb0a6104a11, alongside the AVD work from #45/#154. The original PR merged into the PCIe working branch; this follow-up merge brings all 35 radio files into the main development branch without changing them or the AVD/board files. Existing contributor history is preserved. Exact source-tree comparisons passed; this integration does not claim a fresh full-kernel build or boot.

Imports the existing GPL fullmac driver from this source commit, preserving its notices, and fixes configuration parsing, scan IEs and WPA2 AKM selection.

Co-authored by Eryk Wieliczko, DJ, Ace, and Ryan Murray.

The corrected commit history includes Eryk's co-author attribution on all six commits. This metadata-only correction preserves every file tree; the merged PR's original commit snapshot may retain the earlier hashes.

Validated on the Neo:

  • 2.4/5 GHz: scan, WPA2, DHCP, DNS, HTTPS and reconnect pass.
  • Wi-Fi traffic with Bluetooth discovery/power cycling: 5 GHz passes 54/54 gateway replies; 2.4 GHz records 53/54. Both complete 18 HTTPS transfers without kernel/driver faults.
  • AirPods reconnect and audible AAC pass on the earlier Bluetooth-only candidate; simultaneous headset audio remains unverified.
  • Kernel/module builds, binding/DTB validation and git diff --check pass.

Experimental: PCI/BT removal and quiescence, HCI queue saturation and suspend still need work. WPA3/required MFP and long-duration reliability are unqualified. Tests used a RAM-overlay boot. Firmware setup, repeatable tests and full limitations: Documentation/networking/device_drivers/wifi/mt7932-neo.rst.

Acelogic and others added 4 commits October 2, 2026 02:40
Import the 26-file GPL-2.0-only MT7932 driver from the user-selected repository:
https://github.com/aurora-silicon/linux-neo-cleanroom-eryk-with-wifi
branch wifi/width-qualification-20260912
commit 610cb463c03f9bc68a5d020e7ca443af1fda4856

This commit preserves the selected driver files byte-for-byte, including all
existing license notices and comments. Register its Kconfig and Makefile on
the public Aurora 7.1.12 base. Device firmware, calibration, country policy,
credentials and original capture records are not included.

This is an import of an existing implementation, not an independent rewrite.
Neo radio research and bring-up credit: DJ (DjDeveloperr), Ace (Acelogic),
and Ryan Murray. Source provenance is retained above.

Follow-up commits carry the input, scan and NetworkManager compatibility
changes tested on the physical J700.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
Accept the original 64-record configuration alongside the validated 65-record
variant, preserving record bounds, unique keys and required-key validation.

Keep the firmware-native wildcard scan IEs and zero directed-scan IEs.
Forwarding normal NetworkManager extras stalled this firmware campaign;
arbitrary caller probe-IE carriage remains unsupported. Preserve input TLV
validation rather than passing malformed input to firmware.

Accept the selected first WPA2 PSK AKM when NetworkManager also supplies
trailing alternatives and advertise PSK explicitly. Do not choose PSK if the
caller selected another first suite; retain PMK, WPA2, CCMP and MFP checks.

Physical J700 module aefb08e7cde9398cdce9ca40e29374950dfe989d138813c203cd2f264e44c7f4:
checked module reset/reload, scan, WPA2, DHCP, gateway, DNS and verified HTTPS
on 2.4 and 5 GHz; 5 GHz traffic concurrent with Bluetooth discovery and HCI
off/on passed 54/54 gateway replies and 18 HTTPS transfers. The 2.4 GHz
coexistence run recorded 53/54 replies and is not a zero-loss pass.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
Add the standalone B1 firmware/IPC/HCI transport exercised on the physical
Neo. Firmware, board calibration, PTX and the unit address are loaded from
local firmware files, not embedded in source. Keep the probe gate closed
until explicitly admitted, retain DMA ownership on terminal failures, and
exclude suspend/kexec configurations. Select the firmware loader dependency.

The exact C implementation passed HCI setup, discovery, normal HCI power
cycling, two bonded AirPods reconnects and an audible AAC test on the earlier
7.1.12 candidate. The integrated Wi-Fi candidate additionally passed Bluetooth
discovery/power cycling with simultaneous 5 GHz traffic. Concurrent headset
audio was not repeated; no AirPods were present in the new discovery runs.

This remains draft: PCI removal lacks a complete teardown contract and the
software queue limit is not HCI backpressure. Suppressing bind attributes
does not make device removal safe. Do not claim production lifecycle support.

Neo radio research and bring-up credit: DJ (DjDeveloperr), Ace (Acelogic),
and Ryan Murray.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
Describe required local firmware/calibration inputs, boot dependencies,
source provenance and the exact boundaries of the observed Wi-Fi/Bluetooth
results. Include address-free JSON evidence keyed to Image and module hashes.

Add a manual physical NetworkManager E2E helper that checks scan, activation,
DHCP route, gateway, DNS, verified HTTPS, KDE and kernel health. Its profile
selection is explicit and its repeatable JSON artifact omits credentials and
unit identities. Install it as test data, not an unattended network-changing
selftest. The helper's physical 5 GHz traffic run passed on J700.

Retain the failed zero-loss 2.4 GHz coexistence result alongside the passing
5 GHz result. Record PCI/Bluetooth lifetime and queue-saturation blockers;
working RF traffic is not a production-removal qualification.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
@Acelogic
Acelogic force-pushed the codex/neo-mt7932-radios branch from a45e220 to 77ff320 Compare October 2, 2026 02:43
@Acelogic
Acelogic force-pushed the codex/neo-pcie-root-bringup branch from cd96f62 to 3b0af1d Compare October 2, 2026 02:43
@Acelogic
Acelogic marked this pull request as ready for review October 2, 2026 02:44
Acelogic and others added 2 commits October 1, 2026 22:46
Use the requested co-author attribution and describe the implementation as
experimental now that the PR is ready for review. Preserve source provenance,
existing notices, hardware evidence and the production lifecycle limitations.
No compiled source or runtime behavior changes.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
Keep firmware inputs, source attribution, the manual hardware E2E test
and operational limits. Remove the checked-in run report and duplicated
test narrative; retain the full evidence in local qualification artifacts.
Include the PCI prerequisite documentation update. Driver, platform and
test code are unchanged.

Co-authored-by: DJ <[email protected]>
Co-authored-by: Ryan Murray <[email protected]>
@Acelogic
Acelogic merged this pull request into codex/neo-pcie-root-bringup Oct 2, 2026
@Acelogic
Acelogic deleted the codex/neo-mt7932-radios branch October 2, 2026 03:48
Acelogic added a commit that referenced this pull request Oct 2, 2026
wifi/Bluetooth: bring up J700 MT7932 radios with local firmware

Co-authored-by: Eryk Wieliczko <[email protected]>
Acelogic added a commit that referenced this pull request Oct 2, 2026
PR #153 was merged into the PCIe working branch after #151 had already
landed, leaving its Wi-Fi and Bluetooth files out of aurora-wip. Merge the
completed radio series into the development branch alongside the Neo AVD
integration from #154.

Keep the radio branch's complete contributor history. All radio files are
identical to that branch, and the AVD driver and board wiring are unchanged.
The two sides have no overlapping file edits against the public merge base.

Validation: exact tree comparisons and git diff --check pass. The existing
qualified Neo stack still passes Wi-Fi HTTPS with Bluetooth powered and KDE
running; its Aurora-firmware AVD campaign passed 34 runs / 1740 exact frames.
This integration does not claim a fresh build or boot of the merged kernel.
@niteria

niteria commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for publishing the J700 radio series. I'm preparing NixOS packaging against aurora-wip 3bb0a6104a11, using the public m1n1 J700 support and stock macOS 26.6.2 / 25G83 on the target Neo.

The firmware contract in Documentation/networking/device_drivers/wifi/mt7932-neo.rst is clear about the required filenames and containers. Could you point to the extraction/packaging tool or reproducible procedure for obtaining them from the target machine's original assets?

In particular:

  • Where are the original IZUBA_* firmware containers and ppr.bin payload obtained?
  • Which file/IORegistry properties provide the target unit's WCAL and original OCA2 BLOB?
  • What produces config-original.bin (J7CF) and policy/world-XZ.bin / matching country packages (J7RP) from the stock configuration and power data?

I'm preparing a read-only macOS collector and can integrate a supplied procedure while retaining source provenance. The original import repository linked in the PR currently returns 404, so a successor tool/specification would also help.

@Acelogic

Acelogic commented Oct 2, 2026 •

Copy link
Copy Markdown
Member Author

@niteria Thanks for flagging this. The public driver documents its input contract, but we have not yet published a complete stock-macOS collector and packager. This will be fixed with the installer

Locations:

  1. /System/Library/DriverExtensions/com.apple.AppleSunriseWLAN.dext/IZUBA/
  2. FactoryData/System/Library/Caches/com.apple.factorydata/mansta-BWC2-*

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants