Skip to content

Bluetooth: Add N1 protocol-27 transport and supplier lifetime - #252

Closed
DjDeveloperr wants to merge 1 commit into
apif-centauri-wififrom
apif-centauri-bluetooth
Closed

DjDeveloperr wants to merge 1 commit into
apif-centauri-wififrom
apif-centauri-bluetooth

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Add the N1 protocol-27 Beta Bluetooth HCI/ACL consumer separately from Wi-Fi. A managed device link requires the Control firmware supplier to be ready and orders consumer teardown before shared firmware release. Factory address provisioning comes from DT rather than board-name defaults or diagnostic overrides.

Keep the existing IRQ-driven work and ring geometry. Remove private capture buffers, unrelated auxiliary-ring activation, manual mode switches, counters and success logging. Check command/event lengths, gate vendor connection adaptation on the firmware capability bit, and preserve standard HCI status/credit semantics. A narrow HCI command-sync callback resets the firmware duplicate cache before filtered scanning; drivers without it are unchanged, and a reset error is propagated.

The detach limitation is explicit: published Beta DMA remains pinned until a fresh shared-firmware boot because coordinated firmware IPC teardown is not established. An unpublished allocation is freed only after verified bus-master shutdown. SCO and ISO delivery are unsupported.

Validation: native arm64 Beta/Control/Wi-Fi objects and HCI sync core, binding validation, production-function report bounds and supplier readiness tests, and whitespace checks passed. Hardware HCI/ACL, repeated scan and suspend/resume qualification of the cleaned series remains pending. No GPU changes.

Depends on #250 (shared N1 transport); stacked on #251 for review order.

Require a managed link to the ready Control firmware supplier and a
DT-provided factory address. Preserve IRQ-driven work and ring geometry;
remove capture buffers, diagnostic alternatives and success logging.

Gate connection adaptation on firmware capability and reset duplicate
caches in command-sync context. Check packet lengths and retain published
DMA until a fresh firmware boot where teardown remains unqualified.

Signed-off-by: Dj <hey@djdev.me>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Superseded by #484, refreshed from the current T6050 source onto Linux 7.3 integration. The new shared base is #472; all feature PRs now target t6050/base. Closing this stale chained version and keeping its branch for history.

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.

1 participant