Skip to content

device: Fix resolving a coordinated set over Secure Connections

Pauli Virtanen linux-bluetooth 1 version Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mgmt: Add defines for the long term key typeslib/bluetooth/mgmt.h+6 -01 reply
2/4device: Remove unused central field from struct ltk_infoprofiles/audio/csip.c src/device.c src/device.h+3 -80 replies
3/4device: Fix resolving a coordinated set over Secure Connectionssrc/adapter.c src/device.c src/device.h+31 -80 replies
4/4test: functional: run CSIP test for Secure Connections & Legacy Pairingtest/functional/test_bap.py+18 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 0/4] device: Fix resolving a coordinated set over Secure Connections

CSIP coordinator was not finding its LTKs with Secure Connections, as the fix in 9251e630efdd to make legacy pairing to work doesn't work with SC.

Fix by keeping track of what kind of LTK we have, and not distinguishing between central/peripheral key slots for SC, which kernel doesn't do and AFAIK the role difference doesn't exist in SC.

LLM was used for bug triage and write initial version, but these are now almost manually done.

Assisted-by opencode:qwen3.8-flash-next

Pauli Virtanen (4):
mgmt: Add defines for the long term key types
device: Remove unused central field from struct ltk_info
device: Fix resolving a coordinated set over Secure Connections
test: functional: run CSIP test for Secure Connections & Legacy
Pairing

 lib/bluetooth/mgmt.h        |  6 ++++++
 profiles/audio/csip.c       |  2 +-
 src/adapter.c               |  5 +++--
 src/device.c                | 39 ++++++++++++++++++++++++++-----------
 src/device.h                |  4 ++--
 test/functional/test_bap.py | 21 +++++++++++++++++---
 6 files changed, 58 insertions(+), 19 deletions(-)
Signature · 1 line
2.55.0