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: Fix CIS failed to be established #59127

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

cvinayak
Copy link
Contributor

Fix CIS create implementation to consider CIG events with laziness before the new CIS in an already active CIG is made active.

Previous laziness value of the CIG events is determined and at the CIG event where the new CIS event_count is calculated the lazy_active value determined is decremented from the total lazy value.

Without this fix, event_count of the new active CIS events where incorrect, causing CIS create resulting in fail to be established.

Fix calculation that ensured cis_offset_min_us being >=
PDU_CIS_OFFSET_MIN_US.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
subsys/bluetooth/controller/ll_sw/lll_conn_iso.h Outdated Show resolved Hide resolved
subsys/bluetooth/controller/ll_sw/ull_conn_iso.c Outdated Show resolved Hide resolved
subsys/bluetooth/controller/ll_sw/ull_conn_iso.c Outdated Show resolved Hide resolved
subsys/bluetooth/controller/ll_sw/ull_conn_iso.c Outdated Show resolved Hide resolved
subsys/bluetooth/controller/ll_sw/ull_conn_iso.c Outdated Show resolved Hide resolved
subsys/bluetooth/controller/ll_sw/ull_conn_iso.c Outdated Show resolved Hide resolved
Fix CIS create implementation to consider CIG events with
laziness before the new CIS in an already active CIG is
made active.

Previous laziness value of the CIG events is determined and
at the CIG event where the new CIS event_count is calculated
the lazy_active value determined is decremented from the
total lazy value.

Without this fix, event_count of the new active CIS events
where incorrect, causing CIS create resulting in fail to be
established.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
@carlescufi carlescufi merged commit 019f88e into zephyrproject-rtos:main Jun 29, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants