All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v2 0/3] client/btpclient: Security Level reporting
Date: Tue, 24 Nov 2026 11:00:32 +0100	[thread overview]
Message-ID: <20261124100035.245953-1-frederic.danis@collabora.com> (raw)

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

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   | 52 ++++++++++++++++++++++++++++++++++++++++
 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, 83 insertions(+), 6 deletions(-)

-- 
2.43.0


             reply	other threads:[~2026-11-24 10:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:00 Frédéric Danis [this message]
2026-11-24 10:00 ` [PATCH BlueZ v2 1/3] device: Provide Security Level props when kernel supports them Frédéric Danis
2026-11-24 11:30   ` client/btpclient: Security Level reporting bluez.test.bot
2026-11-24 15:37     ` Luiz Augusto von Dentz
2026-11-24 15:40       ` Frédéric Danis
2026-11-24 10:00 ` [PATCH BlueZ v2 2/3] org.bluez.Device: Make Security Level props optional Frédéric Danis
2026-11-24 10:00 ` [PATCH BlueZ v2 3/3] client/btpclient: Add BTP_EV_GAP_SEC_LEVEL_CHANGED support Frédéric Danis

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=20261124100035.245953-1-frederic.danis@collabora.com \
    --to=frederic.danis@collabora.com \
    --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 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.