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: Fix BIG Create silently fail on RTN/SDU_interval #49394
Bluetooth: Controller: Fix BIG Create silently fail on RTN/SDU_interval #49394
Conversation
72d73a1
to
9a3b3e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
9a3b3e7
to
0aefbb8
Compare
if (latency_packing > sdu_interval) { | ||
ll_rx_link_release(link_cmplt); | ||
ll_rx_link_release(link_term); | ||
|
||
return BT_HCI_ERR_INVALID_PARAM; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a in-code comment about why we are releasing the link if the latency is larger than the SDU interval? I assume it's because that would be impossible to schedule?
Fix BIG Create implementation from silently failing on values of RTN and SDU_interval that lead to BIG events that cannot be acheived when using sequential or interleaved subevents by the Controller Implementation. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
0aefbb8
to
e0b4ec1
Compare
Fix BIG Create implementation from silently failing on
values of RTN and SDU_interval that lead to BIG events that
cannot be acheived when using sequential or interleaved
subevents by the Controller Implementation.
Fixes #46186.
Signed-off-by: Vinayak Kariappa Chettimada vich@nordicsemi.no