Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 0/2] l2cap-tester: Add tests for changing LE security with SMP pending
@ 2026-12-03 18:14 Luiz Augusto von Dentz
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2026-12-03 18:14 UTC (permalink / raw)
  To: linux-bluetooth

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


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

end of thread, other threads:[~2026-12-03 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 18:14 [PATCH BlueZ v1 0/2] l2cap-tester: Add tests for changing LE security with SMP pending Luiz Augusto von Dentz
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox