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: Assert when starting periodic advertising right after extended advertising when there is a BIG #72852

Open
Thalley opened this issue May 16, 2024 · 0 comments
Assignees
Labels
area: Bluetooth Controller area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@Thalley
Copy link
Collaborator

Thalley commented May 16, 2024

Describe the bug
If there is a BIG created and periodic advertising is started right after extended advertising, there is an assert in the controller that is triggered:

ASSERTION FAIL [id != ((uint8_t)((uint8_t)0 - 1))] @ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/ull_adv_aux.c:3218
@ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/ull_adv_aux.c:3218

To Reproduce
Can be reproduced with #72690

Steps to reproduce the behavior:

  1. Remove the k_sleep in start_ext_adv from tests/bsim/bluetooth/host/iso/bis/src/bis_broadcaster.c
  2. Build and run tests/bsim/bluetooth/host/iso/bis/tests_scripts/bis.sh
  3. See the above assert

Expected behavior
Expect the controller to support starting periodic advertising directly after extended advertising.

Impact
Big annoyance, but can be circumvented with a single k_sleep

Logs and console output
See above

Environment (please complete the following information):

Additional context
N/A

@Thalley Thalley added bug The issue is a bug, or the PR is fixing a bug area: Bluetooth area: Bluetooth Controller labels May 16, 2024
@nashif nashif added the priority: medium Medium impact/importance bug label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Controller area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants