Skip to content

tests: Bluetooth: tester: BAP: Fix wrong wrong bcast rsp sizes #88364

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

Merged
merged 1 commit into from
Apr 19, 2025

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Apr 9, 2025

Several responses had incorrect sizes, which this commit fixes.

Several responses had incorrect sizes, which this commit fixes.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley added bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels Apr 9, 2025
@Thalley Thalley requested a review from Copilot April 9, 2025 12:09
@github-actions github-actions bot added area: Bluetooth area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth Audio labels Apr 9, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

tests/bluetooth/tester/src/audio/btp_bap_broadcast.c:477

  • Removing '+1' aligns the response size with the actual structure size, but please double-check that this change matches the expected behavior in all cases of broadcast responses.
*rsp_len = sizeof(*rp);

tests/bluetooth/tester/src/audio/btp_bap_broadcast.c:592

  • Ensure that the updated response size calculation uniformly fixes the incorrect sizes for both functions without introducing discrepancies in the expected byte layout.
*rsp_len = sizeof(*rp);

@Thalley Thalley requested a review from alexsven April 9, 2025 12:31
@kartben kartben merged commit 4cffba7 into zephyrproject-rtos:main Apr 19, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in Bluetooth LE Audio Apr 19, 2025
@Thalley Thalley deleted the tester_rsp_sizes branch April 21, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Audio area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants