Cherry pick of Bluetooth controller peripheral conn update fix#51
Open
carrefinho wants to merge 1 commit into
Open
Cherry pick of Bluetooth controller peripheral conn update fix#51carrefinho wants to merge 1 commit into
carrefinho wants to merge 1 commit into
Conversation
Fix peripheral role assertion during connection update and simultaneous flash operations. prepare_cb: Actual EVENT_OVERHEAD_START_US = 6149 This happens due to instant latency at connection update where the ticks_at_expire was in the past. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
5 tasks
carrefinho
added a commit
to carrefinho/zephyr
that referenced
this pull request
May 21, 2026
Add conn_subrate_transitions: the peripheral negotiates factor 4, the central re-negotiates to factor 8 (a true M->N transition, central- initiated 5.1.19), and the central verifies both sides re-skip at 8 via timed reads. It then changes the connection interval while subrated and verifies subrating resets to factor 1 (low read latency) and the link survives -- exercising the steady-state gate (both present every event during the procedure) and the zmkfirmware#51 latency_upd fix. No controller changes: the gate already handles M->N transitions and the conn-update instant; this validates that behavior. central.c / peripheral.c refactored to share connect/probe helpers across the two scenarios; new run script + CI step. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Cherry-picks fix for peripheral assertion crash during BLE connection parameter updates from upstream Zephyr.
This is needed for the split idle interval feature (zmkfirmware/zmk#3182) which updates connection parameters when idle.