-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
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
added
bug
The issue is a bug, or the PR is fixing a bug
area: Bluetooth Controller
labels
May 31, 2022
@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. |
Marked as known issue. Controller HCI encoding of reports needs implementation to report correct data status. |
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
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.
The text was updated successfully, but these errors were encountered: