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

nimble/ll: Add initial Channel Sounding scheduling #1789

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

mkasenberg
Copy link
Contributor

No description provided.

A dedicated CS DRBG is used to coordinate the randomization of several
transaction types during a CS procedure.
The BT specification provides sample data that can be used to test
the correctness of a CS DRBG implementation.
ble_cs.c contains initial implementation that caused warnings when
running command:
newt test @apache-mynewt-nimble/nimble
Blueooth 6.0. spec contains Optional_TX_SNR_Capability field as
a CS capability. Companion signal parameter was removed.
Initialize the CS state machine with the connection state machine.
Add lengths and opcodes of Channel Sounding LL CTRL PDUs.
Implement the LE CS Read Local Supported Capabilities command.
Enable basic CS capabilities in local controller.
Implements:
- LE CS Read Remote Supported Capabilities command,
- LE CS Write Cached Remote Supported Capabilities command.
The HCI_LE_CS_Set_Default_Settings command is used by a Host to set
default CS settings in the local Controller for the connection.
Implements:
- LE CS Read Remote FAE Table command
- LE CS Write Cached Remote FAE Table command
Implements:
- LE CS Create Config command
- LE CS Remove Config command
Implements LE CS Security Enable command.
Add initial usage of LL scheduler and typical radio events.
Initial logic of transition between CS step states.
If devices supports multiple antennas, they can be used and switched
during CS tones transmission/reception.
Initial logic of next step mode selection.
- CS SYNC sequence generation
- CS Access Address matching
Limit Channel Sounding channels to 0-39 for bsim.Babblesim does not
support the required range of channels, so to debug on bsim let's
just truncate value to supported value range.

CS_SYNC packet does not contain a header nor CRC, but on bsim we can
not skip those. Let's include this overhead in step duration.
@mkasenberg mkasenberg changed the title [wip] nimble/ll: Add initial Channel Sounding scheduling nimble/ll: Add initial Channel Sounding scheduling Jan 24, 2025
@mkasenberg mkasenberg marked this pull request as ready for review January 24, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant