Skip to content

Conversation

@sean-madigan
Copy link
Contributor

This PR cherry-picks the commits for frame space update and extended feature set, as well as other commits so it applies cleanly.

ndrs-pst and others added 3 commits August 7, 2025 11:10
Utilize a code spell-checking tool to scan for and correct spelling errors
in `Kconfig` files within the `soc` and `subsys` directory.
Additionally, incorporates a fix recommended by the reviewer.

Signed-off-by: Pisit Sawangvonganan <[email protected]>
(cherry picked from commit 0ec49fa)
Signed-off-by: Sean Madigan <[email protected]>
…n and feature events

Previously, the version complete event had to come after
the remote feature complete event for the notify_remote_info
function to be called.

This becomes less practical when adding the read all remote
features complete event, as this can take some time. Meaning
the order of events is not predictable.

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit cddea43)
Signed-off-by: Sean Madigan <[email protected]>
…feature

This commit adds support for the extended feature set
feature. This includes:
- hci boilerplate
- kconfigs, including one for a max local feature page
- reading remote features is done by a command and callback
- this is not linked into the auto feature request on
connection as this procedure can take quite a few connection
events, and we do not want to delay the user
- added the commands to the bt shell

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit 3adae8b)
Signed-off-by: Sean Madigan <[email protected]>
alxelax and others added 8 commits August 7, 2025 11:14
Commit removes unused host hci custom functionality
that was moved to mesh by misinterpretation of it.

Signed-off-by: Aleksandr Khromykh <[email protected]>
(cherry picked from commit b6a0f4e)
Signed-off-by: Sean Madigan <[email protected]>
add `role_changed` to `struct bt_conn_cb` to notify the HCI_Role_Change
event to application.

Signed-off-by: Mark Wang <[email protected]>
(cherry picked from commit 31fba83)
Signed-off-by: Sean Madigan <[email protected]>
add bt_conn_br_switch_role and bt_conn_br_set_role_switchable to control
the role switch, add DEFAULT_ROLE_SWITCHABLE Kconfig to control the default
role switch state.

Signed-off-by: Mark Wang <[email protected]>
(cherry picked from commit e71b512)
Signed-off-by: Sean Madigan <[email protected]>
…CONN_CB_DEFINE

This commit registers the connection callbacks using BT_CONN_CB_DEFINE,
which ensures they are set up at link time rather than runtime.

Signed-off-by: Yago Fontoura do Rosario <[email protected]>
(cherry picked from commit b1eaf02)
Signed-off-by: Sean Madigan <[email protected]>
…ONN_CB_DEFINE

This commit registers the connection callbacks using BT_CONN_CB_DEFINE,
which ensures they are set up at link time rather than runtime.

Signed-off-by: Yago Fontoura do Rosario <[email protected]>
(cherry picked from commit e0d22a3)
Signed-off-by: Sean Madigan <[email protected]>
…nnection callbacks

This commit allows to the user to control the use or not of dynamic
connection callbacks.
The stack is not using the dynamic connection callbacks so they are
only needed if the applications want to use it.
Setting it to true for backwards compatibility.

With dynamic connection callbacks

           FLASH:      176600 B       512 KB     33.68%
             RAM:       27428 B        64 KB     41.85%
        IDT_LIST:          0 GB        32 KB      0.00%

Without dynamic connection callbacks

           FLASH:      176376 B       512 KB     33.64%
             RAM:       27428 B        64 KB     41.85%
        IDT_LIST:          0 GB        32 KB      0.00%

Signed-off-by: Yago Fontoura do Rosario <[email protected]>
(cherry picked from commit ca06a1d)
Signed-off-by: Sean Madigan <[email protected]>
…ZE define

Fix BT_LE_LOCAL_SUPPORTED_FEATURES_SIZE define, as this was
not working correctly without brackets around
CONFIG_BT_LE_MAX_LOCAL_SUPPORTED_FEATURE_PAGE.

Also fix CONFIG_BT_LE_MAX_LOCAL_SUPPORTED_FEATURE_PAGE help,
as this was talking about remote featues, where this only
applies for local features.

Also update for new CONFIG_BT_CONN_DYNAMIC_CALLBACKS kconfig

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit 9bbc906)
Signed-off-by: Sean Madigan <[email protected]>
This commit adds support for the frame space update feature
to the bluetooth host.

This is mainly just a wrapper around the frame space update
HCI command and event.

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit 1b7b6af)
Signed-off-by: Sean Madigan <[email protected]>
@rlubos rlubos merged commit 8df4dd0 into nrfconnect:main Aug 7, 2025
19 checks passed
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.

8 participants