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: move to controller-based privacy only #71751

Open
jori-nordic opened this issue Apr 22, 2024 · 1 comment
Open

Bluetooth: move to controller-based privacy only #71751

jori-nordic opened this issue Apr 22, 2024 · 1 comment
Assignees
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) Enhancement Changes/Updates/Additions to existing features

Comments

@jori-nordic
Copy link
Collaborator

Problem

The Zephyr host currently implements Bluetooth LE privacy.
This was implemented back when the open-source controller didn't support controller-based privacy.
This has now changed, the controller now fully supports privacy.

Unfortunately, parts of the Host-based privacy are un-implementable, by spec. So for these parts we have to use controller privacy (which we do).
This makes the code unnecessarily hard to maintain, and nullifies potential gains from hardware accelerators on the controller.

Solution

Remove host-based privacy in favor of controller-based privacy.

Alternatives

Keep using host-based privacy and:

  • Remove support for operations that are not possible with it
  • Add support for hardware accelerators. Probably need a whole new driver spec for this.
@jori-nordic jori-nordic added Enhancement Changes/Updates/Additions to existing features area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Apr 22, 2024
@jori-nordic jori-nordic self-assigned this Apr 22, 2024
@rugeGerritsen
Copy link
Collaborator

Note: If the support for host-based privacy is removed, the resolving list size in the controller will be the limiting factor. The current host implementation allows the application to use more stored identities than what can be stored in the resolving list in the controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

2 participants