-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[backport v1.14] Bluetooth: controller: legacy: Backport v2.2 to v1.14-branch #23091
[backport v1.14] Bluetooth: controller: legacy: Backport v2.2 to v1.14-branch #23091
Conversation
All checks are passing now. Review history of this comment for details about previous failed status. |
0ba9b1e
to
39e3813
Compare
@cvinayak please move this out of draft in order to get it in a 1.14 dot release |
39e3813
to
94a763e
Compare
94a763e
to
481c9ee
Compare
@kruithofa CC |
481c9ee
to
0e7eb68
Compare
96189e3
to
104ee59
Compare
104ee59
to
1388cf1
Compare
According to BT Spec v5.1 Vol 2 Part E Section 7.8.16, if the device is already in the White List, the controller should not add the device to the White List and should return success. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix Tx pool from being corrupted when rough central device uses invalid packet sequence numbers, causing NULL pointer to be released into free data Tx pool. Fixes zephyrproject-rtos#22968. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix Data Length Update procedure calculation of transmit and receive time. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix local initiated Data Length Update procedure from being stalled when a remote initiates a procedure with instant. Fixes zephyrproject-rtos#23069. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix conditional compilation error when enabling BT_CTLR_FAST_ENC for central only application builds. Also added additional compilation to code exclusive to central or peripheral role. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix Data Length Update transmit and receive time calculation on PHY update procedure completion. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix to return the max tx/rx time back to set default time after using mandatory minimum PDU length and time while switching back from Coded PHY to 1M PHY. Also fixes zephyrproject-rtos#23109. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Add Kconfig option to support building the controller optimized for speed. Fixes zephyrproject-rtos#21601. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix Connection Parameter Request offset calculation to only use slot margins around slave roles. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Add ticker_stop_abs interface, similar functionality as to ticker_stop interface to stop a running ticker but with a supplied absolute tick reference value. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix missing first connection event due to first connection event ticks_slot overlapping with the initiator window ticks_slot. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix regression in handling tx pool corruption in relation to commit 7a3e29a ("Bluetooth: controller: legacy: Fix Tx pool corruption"). Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Update the ticks_current value on last stopped ticker instance, so that when a new ticker instance is started the anchor ticks calculation uses the correct current tick with respect to supplied anchor ticks. Fixes zephyrproject-rtos#23805. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Add validation of channel map and hop increment value received in CONNECT_IND PDU. Zero bit count leads to controller assert or divide-by-zero fault. Hop increment shall be between 5 and 16 by BT Specification. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Simplify the Data Length Update Procedure state check when processing incoming LENGTH_REQ/RSP PDUs. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix implementation to handle back-to-back and duplicate LENGTH_REQ PDU reception. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1388cf1
to
27b921a
Compare
@MaureenHelm done. |
Closing to re-open, so as to retrigger CI. |
Fix regression in cancelling slave latency during Connection Update Procedure. Slave latency should not be applied between the ack of a Connection Update Indication PDU and until the instant. When caching was introduced, implementation missed this consideration. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
27b921a
to
27dda66
Compare
@MaureenHelm I get unrelated build failure, maybe the v1.14-branch is broken? need help from maintainers/implementors of the following:
|
@nashif can you take a look? |
Commits in this PR are manual cherry-pick of commits based on differences in ctrl.c file.
Fixes #25314