wireless/bluetooth/nimble: make transport ACL buffer count configurable#3638
Open
raiden00pl wants to merge 2 commits into
Open
wireless/bluetooth/nimble: make transport ACL buffer count configurable#3638raiden00pl wants to merge 2 commits into
raiden00pl wants to merge 2 commits into
Conversation
The controller<->host ACL pool was hardcoded to 10 buffers (~6 KiB with the 251-byte ACL size). Expose NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT and NIMBLE_TRANSPORT_ACL_FROM_HS_COUNT (default 10) so RAM-constrained single-connection peripherals can lower it. Signed-off-by: raiden00pl <raiden00@railab.me>
cederom
previously approved these changes
Jul 14, 2026
cederom
left a comment
Contributor
There was a problem hiding this comment.
Thank you @raiden00pl :-)
Lets make sure CI pass :-)
Contributor
|
|
ignore ANS codespell error. ANS -> Alert Notification Service in bLE Signed-off-by: raiden00pl <raiden00@railab.me>
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.
Summary
The controller<->host ACL pool was hardcoded to 10 buffers (~6 KiB with the 251-byte ACL size). Expose NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT and NIMBLE_TRANSPORT_ACL_FROM_HS_COUNT (default 10) so RAM- constrained single-connection peripherals can lower it.
Impact
fine tune for small systems
Testing
full demo for Thingy:52 (nrf52838 with 64KB of RAM) with single connection: