From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v4 0/6] mgmt/device: report link security level to D-Bus clients
Date: Tue, 29 Sep 2026 12:19:47 +0200 [thread overview]
Message-ID: <20260929101953.254969-1-frederic.danis@collabora.com> (raw)
This series adds connection security-level reporting.
The new MGMT_EV_SECURITY_LEVEL_CHANGED event [1] is documented and
org.bluez.Device1 is updates with new experimental read-only properties
SecurityLevel and EncryptionType.
Those properties can be displayed using "bluetoothctl info".
This is intended to let clients (including test tooling such as btpclient)
observe effective link security changes.
[1] https://lore.kernel.org/all/20260929100923.252597-1-frederic.danis@collabora.com/
v1->v2: Fix struct mgmt_ev_security_level_changed definition
v2->v3: Re-work Security Level possible values in mgmt-protocol.rst to be in
with other *-protocol.rst files
v3->v4: Following changes in kernel patch, replace tlv_count by tlv_length
Frédéric Danis (6):
mgmt: Add Security Level Changed event
mgmt-tester: Add Security Level Changed event tests
monitor: Add support for Mgmt Security Level changed event
device: Add SecurityLevel properties to org.bluez.Device1
org.bluez.Device: Add Security Level related properties
client: Display SecurityLevel in device info
client/main.c | 2 +
doc/mgmt-protocol.rst | 45 +++++++++++++
doc/org.bluez.Device.rst | 36 ++++++++++
lib/bluetooth/mgmt.h | 15 +++++
monitor/packet.c | 123 ++++++++++++++++++++++++++++++++++
src/adapter.c | 33 ++++++++++
src/device.c | 84 ++++++++++++++++++++++++
src/device.h | 3 +
tools/mgmt-tester.c | 138 +++++++++++++++++++++++++++++++++++++++
9 files changed, 479 insertions(+)
--
2.43.0
next reply other threads:[~2026-09-29 10:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 10:19 Frédéric Danis [this message]
2026-09-29 10:19 ` [PATCH BlueZ v4 1/6] mgmt: Add Security Level Changed event Frédéric Danis
2026-09-29 14:42 ` mgmt/device: report link security level to D-Bus clients bluez.test.bot
2026-09-29 10:19 ` [PATCH BlueZ v4 2/6] mgmt-tester: Add Security Level Changed event tests Frédéric Danis
2026-09-29 10:19 ` [PATCH BlueZ v4 3/6] monitor: Add support for Mgmt Security Level changed event Frédéric Danis
2026-09-29 10:19 ` [PATCH BlueZ v4 4/6] device: Add SecurityLevel properties to org.bluez.Device1 Frédéric Danis
2026-09-29 10:19 ` [PATCH BlueZ v4 5/6] org.bluez.Device: Add Security Level related properties Frédéric Danis
2026-09-29 10:19 ` [PATCH BlueZ v4 6/6] client: Display SecurityLevel in device info Frédéric Danis
2026-10-01 17:40 ` [PATCH BlueZ v4 0/6] mgmt/device: report link security level to D-Bus clients 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=20260929101953.254969-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox