Skip to content
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

Bluetooth: Controller: legacy conn param req caching and max central data PDU spacing #53095

Conversation

cvinayak
Copy link
Contributor

Fix legacy control procedure implementation to avoid
connection update procedure with reason instant passed
(0x28).

Connection Update Indication PDU is enqueued after data
enqueue to LLL context is paused and the enqueue resumes
when already enqueued data PDUs are all acknowledged.

Fix connection parameter request procedure to be cacheable
if a remote control procedure is in progress.

Use the maximum data PDU size time reservation space
considering the Data length could be updated from default
27 bytes to maximum support size.

If maximum time reservation is disabled then time space
reservation corresponding to the default data length at the
time of the start/enable of Central role is used.

Note, currently this value is only used to space multiple central
connections and not for actual ticker time reservations.

Relates to #53007

Signed-off-by: Vinayak Kariappa Chettimada vich@nordicsemi.no

@@ -35,7 +35,7 @@ LL/CON/CEN/BV-21-C
LL/CON/CEN/BV-23-C
LL/CON/CEN/BV-24-C
LL/CON/CEN/BV-25-C
LL/CON/CEN/BV-26-C
#LL/CON/CEN/BV-26-C # This test case is not valid, and will fail with CPR cache
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is meant by not valid? Is the test case in the test spec broken? If so, is there an erratum for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test implementation is incorrect and hence has been disabled for refactored LLCP testing too, here:

#LL/CON/CEN/BV-26-C # This test case is not valid, and will fail with refactored LLCP

kruithofa
kruithofa previously approved these changes Jan 19, 2023
@cvinayak cvinayak requested a review from Thalley January 19, 2023 10:08
Thalley
Thalley previously approved these changes Jan 19, 2023
@carlescufi
Copy link
Member

@cvinayak please rebase

Fix legacy control procedure implementation to avoid
connection update procedure with reason instant passed
(0x28).

Connection Update Indication PDU is enqueued after data
enqueue to LLL context is paused and the enqueue resumes
when already enqueued data PDUs are all acknowledged.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Fix connection parameter request  procedure to be cacheable
if a remote control procedure is in progress.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Use the maximum data PDU size time reservation space
considering the Data length could be updated from default
27 bytes to maximum support size.

If maximum time reservation is disabled then time space
reservation corresponding to the default data length at the
time of the start/enable of Central role is used.

Note, currently this value is only used to space multiple central
connections and not for actual ticker time reservations.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
@cvinayak cvinayak dismissed stale reviews from Thalley and kruithofa via 9bfb00d January 19, 2023 11:24
@cvinayak cvinayak force-pushed the github_cen_spacing_cpr_cache_instant_passed_fix branch from 617dacf to 9bfb00d Compare January 19, 2023 11:24
@carlescufi carlescufi merged commit d6c3e04 into zephyrproject-rtos:main Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants