From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v1 0/2] l2cap-tester: Add tests for changing LE security with SMP pending
Date: Thu, 3 Dec 2026 13:14:40 -0500 [thread overview]
Message-ID: <20261203181442.774979-1-luiz.dentz@gmail.com> (raw)
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds emulator helpers to hold SMP while a security upgrade is
pending and to send LE credits from the peer, and l2cap-tester cases
using them to check that credits don't resume an LE CoC before the
upgrade completes and that data received meanwhile is not dropped.
This is the companion userspace set of the kernel set:
[PATCH v17 0/2] Bluetooth: L2CAP: Fix LE credits resuming channels
pending security
Without the kernel set, L2CAP LE Client Change Sec - Credits fails with
"Channel resumed with security pending".
Luiz Augusto von Dentz (2):
emulator: Add helpers to hold SMP and send LE credits
l2cap-tester: Add tests for changing LE security with SMP pending
emulator/bthost.c | 57 ++++++++++++++
emulator/bthost.h | 4 +
tools/l2cap-tester.c | 179 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 240 insertions(+)
--
2.56.1
next reply other threads:[~2026-12-03 18:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 18:14 Luiz Augusto von Dentz [this message]
2026-12-03 18:14 ` [PATCH BlueZ v1 1/2] emulator: Add helpers to hold SMP and send LE credits Luiz Augusto von Dentz
2026-12-03 18:14 ` [PATCH BlueZ v1 2/2] l2cap-tester: Add tests for changing LE security with SMP pending Luiz Augusto von Dentz
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=20261203181442.774979-1-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.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