Linux bluetooth development
 help / color / mirror / Atom feed
From: Pauli Virtanen <pav@iki.fi>
To: linux-bluetooth@vger.kernel.org
Cc: Pauli Virtanen <pav@iki.fi>
Subject: [PATCH BlueZ 0/4] device: Fix resolving a coordinated set over Secure Connections
Date: Fri, 18 Sep 2026 03:02:25 +0300	[thread overview]
Message-ID: <cover.1789689632.git.pav@iki.fi> (raw)

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(-)

-- 
2.55.0


             reply	other threads:[~2026-09-18  0:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  0:02 Pauli Virtanen [this message]
2026-09-18  0:02 ` [PATCH BlueZ 1/4] mgmt: Add defines for the long term key types Pauli Virtanen
2026-09-18  1:58   ` device: Fix resolving a coordinated set over Secure Connections bluez.test.bot
2026-09-18  0:02 ` [PATCH BlueZ 2/4] device: Remove unused central field from struct ltk_info Pauli Virtanen
2026-09-18  0:02 ` [PATCH BlueZ 3/4] device: Fix resolving a coordinated set over Secure Connections Pauli Virtanen
2026-09-18  0:02 ` [PATCH BlueZ 4/4] test: functional: run CSIP test for Secure Connections & Legacy Pairing Pauli Virtanen
2026-09-18 16:30 ` [PATCH BlueZ 0/4] device: Fix resolving a coordinated set over Secure Connections patchwork-bot+bluetooth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1789689632.git.pav@iki.fi \
    --to=pav@iki.fi \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox