Skip to content

Cherry pick more cs commits #2140

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

Closed

Conversation

olivier-le-sage
Copy link
Contributor

@olivier-le-sage olivier-le-sage commented Oct 21, 2024

cherry pick the rest of the channel sounding API

bugo-nordic and others added 8 commits October 22, 2024 10:04
Adds HCI support for LE CS subevent result continue
event and the reassembly logic for the partial results.

When subevent results are completed or the subevent is
aborted, the user callback is invoked with a buffer
pointing to the HCI event buffer, so no copy is done.

When subevent results are incomplete, then a reassembly
buffer is allocated from a fixed sized pool. This buffer
is used for the reassembling of the subevent result
containing all of the step data, which is then passed
to the user via the callback. kconfigs have been added
to set the size and the count of the reassembly buffer.

Signed-off-by: Burak Gorduk <[email protected]>
(cherry picked from commit c5a126c)
… types

Modifies the CS bitfields that are used for accessing HCI
event data to take platform endiannes into consideration.

Signed-off-by: Burak Gorduk <[email protected]>
(cherry picked from commit bfe3c43)
…TX power

The values were swapped, leading to the opposite of the intended
behavior

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit 51a0e94)
These options are in microseconds but not fully configurable,
document what options are allowed in 6.0

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit 5d03664)
These are signed 16-bit integers by spec

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit b1f34a1)
… and RSSI

Add some defines for packet quality and rssi for RTT,
these are useful for filtering out steps where the RTT exchange
was unsuccessful

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit 6c95478)
…p_data_parse()

This function can be used to parse HCI-formatted subevent results
regardless of whether they come from CS Test or not

Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit 60a2d7d)
Adds HCI support for:
- LE CS Security Enable
- LE CS Procedure Enable
- LE CS Set Procedure Parameters
- LE CS Set Channel Classification
- LE CS Read Local Supported Capabilities
- LE CS Write Cached Remote Supported Capabilities
- LE CS Write Cached Remote FAE Table

Signed-off-by: Adam Cavender <[email protected]>
(cherry picked from commit 18f5081)
@olivier-le-sage
Copy link
Contributor Author

getting the automatic manifest script to resolve the manifest conflict was a pain, so I made a new PR. #2145

@olivier-le-sage
Copy link
Contributor Author

this #2140 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants