-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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 instant based procedure complete event #44791
Bluetooth: Controller: Fix instant based procedure complete event #44791
Conversation
5b59ba6
to
a3ad601
Compare
@@ -1953,6 +1979,14 @@ void ull_conn_tx_ack(uint16_t handle, memq_link_t *link, struct node_tx *tx) | |||
pdu_tx->ll_id = PDU_DATA_LLID_RESV; | |||
} else { | |||
LL_ASSERT(handle != LLL_HANDLE_INVALID); | |||
|
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.
Missing "if defined( CONFIG_BT_LL_SW_LLCP_LEGACY)" ?
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.
@erbr-ot Do I need the conditional compilation as non of the CI tests are complaining?
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.
Well, the rx_hold-functionality is under CONFIG_BT_LL_SW_LLCP_LEGACY is it not? So I'd expect the usage to be as well?
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.
I guess no builds are made with refactored LLCP AND CONFIG_BT_CTLR_RX_ENQUEUE_HOLD?
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.
@kruithofa can confirm, the bsim LL conformance tests run the refactored LLCP, but I do not think CONFIG_BT_CTLR_RX_ENQUEUE_HOLD would be enabled?
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.
@erbr-ot I have added the depends on CONFIG_BT_LL_SW_LLCP_LEGACY
a3ad601
to
52e0e32
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
52e0e32
to
17a1dff
Compare
Fix instant based procedure complete event generation to be held until after the on-air instant has elapsed. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Rework instant based procedure complete event generation to be held until after the on-air instant has elapsed, to have conditional compilation around the code where the event generation be held or immediately dispatched so that it improves readability. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
17a1dff
to
d8a45f8
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
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
Fix instant based procedure complete event generation to be
held until after the on-air instant has elapsed.
Fixes #21994.
Signed-off-by: Vinayak Kariappa Chettimada [email protected]