-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
tests: Bluetooth: Audio: Cap broadcast reception stop bsim tests #76266
base: main
Are you sure you want to change the base?
tests: Bluetooth: Audio: Cap broadcast reception stop bsim tests #76266
Conversation
352c417
to
d01b8c8
Compare
b57d791
to
8c01cd4
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.
A few minor comments, otherwise LGTM
uint32_t total_bis = 0U; | ||
|
||
broadcaster_broadcast_id = recv_state->broadcast_id; | ||
if (bis_sync_req[0] != 0) { | ||
|
||
for (int i = 0; i < recv_state->num_subgroups; i++) { | ||
total_bis |= bis_sync_req[i]; | ||
} | ||
|
||
if (total_bis != 0U) { |
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.
total_bis
should be used in create_and_sync_sink
to determine which BIS to sync to.
Keep in mind that the value of bis_sync_req[i]
may be BT_BAP_BIS_SYNC_NO_PREF
This is arguably outside the scope of this PR, as the existing test is not using the sync value from the broadcast assistant.
8c01cd4
to
c07fedd
Compare
Implement a babblesim test for the CAP broadcast reception stop procedure Signed-off-by: Andries Kruithof <[email protected]>
c07fedd
to
73cfe6c
Compare
Add a babblesim test for the CAP broadcast reception stop procedure