apache / apache/mynewt-nimble

controller: assertion in ble_ll_utils_csa2_remap2chan

Open
#1,803 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
893
Forks
512
Avg merge
13d 31m
Merged PRs (30d)
7

Description

While going through GATT/CL/GAD/BV-06-C test case where connection with PTS is established multiple times, an failed assertion occurs randomly in **ble_ll_utils_csa2_remap2chan()**: g_ble_ll_data.chan_map_used is set to 0
![image](https://github.com/apache/mynewt-nimble/assets/119607575/694defa3-8d74-42ed-af0e-0477aee6e589)

To reproduce this, use these settings to debug nrf5340 netcore
![image](https://github.com/apache/mynewt-nimble/assets/119607575/ef6a0b4b-91fb-4e25-aee0-6157f57bcec4)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing GATT/CL/GAD/BV-06-T with repeated PTS connections on the nrf5340 netcore using the debugging settings shown in the issue. Read ble_ll_utils_csa2_remap2chan() and trace how g_ble_ll_data.chan_map_used becomes zero. Done means identifying and fixing the cause of the failed assertion and confirming the reproduction no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.