Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/1] device: Add per-device bearer restrictions
@ 2026-11-28 10:20 Paweł Owoc
  2026-11-28 10:20 ` [PATCH 1/1] " Paweł Owoc
  0 siblings, 1 reply; 2+ messages in thread
From: Paweł Owoc @ 2026-11-28 10:20 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Paweł Owoc

The report in https://github.com/bluez/bluez/issues/2782 describes a
dual-mode headset that connects inconsistently over LE and BR/EDR. In
the reported setup, forcing the controller into LE-only mode avoids
the issue, but also changes behavior for every device.

Add an experimental per-device AllowedBearers property so a device can
be restricted to LE, BR/EDR, or both while the adapter remains in dual
mode. Persist the setting, enforce it alongside device capabilities and
the controller mode, and expose it through bluetoothctl.

The change includes functional tests and documentation.

Paweł Owoc (1):
  device: Add per-device bearer restrictions

 client/main.c                  |  33 +++
 doc/bluetoothctl.rst           |  21 ++
 doc/functional-bearer.rst      |  48 +++
 doc/org.bluez.Device.rst       |  23 ++
 doc/settings-storage.txt       |   1 +
 src/adapter.c                  |  13 +-
 src/bearer.c                   |   9 +
 src/device.c                   | 520 +++++++++++++++++++++++++++++----
 src/device.h                   |   1 +
 test/functional/test_bearer.py | 336 +++++++++++++++++++++
 10 files changed, 941 insertions(+), 64 deletions(-)

-- 
2.56.1


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

end of thread, other threads:[~2026-11-28 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 10:20 [PATCH 0/1] device: Add per-device bearer restrictions Paweł Owoc
2026-11-28 10:20 ` [PATCH 1/1] " Paweł Owoc

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