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: hci: Wrong periodic advertising report data status #46121

Open
ppryga-nordic opened this issue May 31, 2022 · 3 comments
Assignees
Labels
area: Bluetooth Controller area: Bluetooth bug The issue is a bug, or the PR is fixing a bug known issue Known issue priority: low Low impact/importance bug
Milestone

Comments

@ppryga-nordic
Copy link
Collaborator

Describe the bug
The periodic advertising data status may be set to wrong value when
preparing a report event in HCI layer.

In case there periodic advertiser:

sends a data with length that is equal to CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX.
the periodic advertising has included CTE
the number of PDUs in a chain is larger than required for transport
of advertising data (e.g. for max AD payload of 1650 bytes, minimum
required number of PDUs is 7). In other words there are empty PDUs
added to the chain to transport CTE.
the event generated in HCI layer has data status set to BT_HCI_LE_AD_EVT_TYPE_DATA_STATUS_INCOMPLETE.
That is caused by wrong condition checking if data_len_total is less
than CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX.

Expected behavior
In such condition a report event should have data status set to BT_HCI_LE_AD_EVT_TYPE_DATA_STATUS_COMPLETE

Impact
Related with periodic advertising only.

@jgl-meta
Copy link
Collaborator

@carlescufi Do you know what the status of this one is? It has been marked as stale many times.

@jgl-meta jgl-meta removed the Stale label Jun 20, 2023
@github-actions github-actions bot added the Stale label Aug 20, 2023
@jhedberg jhedberg removed the Stale label Aug 29, 2023
@carlescufi
Copy link
Member

@carlescufi Do you know what the status of this one is? It has been marked as stale many times.

Unfortunately still no ETA for this one yet.

@github-actions github-actions bot added the Stale label Nov 6, 2023
@cvinayak cvinayak removed the Stale label Nov 15, 2023
@cvinayak cvinayak added the known issue Known issue label Jan 12, 2024
@cvinayak
Copy link
Contributor

Marked as known issue.

Controller HCI encoding of reports needs implementation to report correct data status.

@github-actions github-actions bot added the Stale label Mar 13, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
@cvinayak cvinayak removed the Stale label Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Apr 15, 2024
@cvinayak cvinayak reopened this Apr 15, 2024
@github-actions github-actions bot added the Stale label Jun 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
@carlescufi carlescufi reopened this Jul 12, 2024
@carlescufi carlescufi removed the Stale label Jul 12, 2024
@github-actions github-actions bot added the Stale label Sep 11, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Sep 11, 2024
@cvinayak cvinayak removed the Stale label Sep 11, 2024
@zephyrproject-rtos zephyrproject-rtos deleted a comment from github-actions bot Sep 11, 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 known issue Known issue priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants