All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v4 0/3] client/btpclient: Security Level reporting
@ 2026-11-25  7:57 Frédéric Danis
  2026-11-25  7:57 ` [PATCH BlueZ v4 1/3] device: Provide Security Level props when kernel supports them Frédéric Danis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Frédéric Danis @ 2026-11-25  7:57 UTC (permalink / raw)
  To: linux-bluetooth

Set org.bluez.Device SecurityLevel and EncryptionType properties to
optional so application can access them only when they are meaningful.

Send BTP_EV_GAP_SEC_LEVEL_CHANGED event from SecurityLevel property
changes once the device's services are resolved, matching the BTP levels
expected by auto-pts.
This reduces connection time for the BAP tests.

v1->v2: Retitled patch 1 from "device: Provide Security Level related
  props when supported by kernel" (subject line was exceeding the
  mailing list's 80-character limit with the series prefix).
v2->v3: Patch 3 (BTP_EV_GAP_SEC_LEVEL_CHANGED support): only read and
  report SecurityLevel when ServicesResolved becomes true, so a stale
  cached level isn't reported as a security-level-changed event when an
  encrypted peer disconnects.
v3->v4: Patch 3 (BTP_EV_GAP_SEC_LEVEL_CHANGED support): fetch the
  device's Address/AddressType D-Bus properties instead of reading the
  btp_device struct fields directly, consistent with the other event
  builders in gap.c.

Frédéric Danis (3):
  device: Provide Security Level props when kernel supports them
  org.bluez.Device: Make Security Level props optional
  client/btpclient: Add BTP_EV_GAP_SEC_LEVEL_CHANGED support

 client/btpclient/gap.c   | 65 +++++++++++++++++++++++++++++++++++++++-
 doc/org.bluez.Device.rst |  8 ++---
 src/adapter.c            |  4 +++
 src/adapter.h            |  1 +
 src/device.c             | 13 ++++++--
 src/shared/btp.h         | 11 +++++++
 6 files changed, 95 insertions(+), 7 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-25 15:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25  7:57 [PATCH BlueZ v4 0/3] client/btpclient: Security Level reporting Frédéric Danis
2026-11-25  7:57 ` [PATCH BlueZ v4 1/3] device: Provide Security Level props when kernel supports them Frédéric Danis
2026-11-25 14:48   ` client/btpclient: Security Level reporting bluez.test.bot
2026-11-25 15:01     ` Luiz Augusto von Dentz
2026-11-25  7:57 ` [PATCH BlueZ v4 2/3] org.bluez.Device: Make Security Level props optional Frédéric Danis
2026-11-25  7:57 ` [PATCH BlueZ v4 3/3] client/btpclient: Add BTP_EV_GAP_SEC_LEVEL_CHANGED support Frédéric Danis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.