Repository navigation
Bluetooth: Add N1 protocol-27 transport and supplier lifetime - #252
Closed
DjDeveloperr wants to merge 1 commit into
Closed
DjDeveloperr wants to merge 1 commit into
DjDeveloperr wants to merge 1 commit into
Conversation
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>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.