Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 0/4] shared/bap: Don't disconnect a CIS still used by another ASE
@ 2026-11-10 22:18 Luiz Augusto von Dentz
  2026-11-10 22:18 ` [PATCH BlueZ v1 1/4] shared/bap: Don't disconnect a CIS still configured for a link Luiz Augusto von Dentz
                   ` (13 more replies)
  0 siblings, 14 replies; 24+ messages in thread
From: Luiz Augusto von Dentz @ 2026-11-10 22:18 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

A remote initiator, e.g. a phone in a voice call, may enable the Source
ASE of a CIS shared with a Sink ASE and then switch to the Sink ASE
alone. The acceptor disconnected the CIS when the Source ASE detached
from it, although the linked Sink ASE was still configured for it, and
as the initiator does not request the CIS again, the Sink ASE was left
enabled without a CIS and the voice stayed silent.

Keep the CIS while another ASE is still configured for it. Unit tests
cover releasing an ASE of a CIS kept by its link, of a shared CIS and
switching the direction, and a functional test counts the CIS the
acceptor is asked to accept.

Luiz Augusto von Dentz (4):
  shared/bap: Don't disconnect a CIS still configured for a link
  unit/test-bap: Add tests for a CIS shared by two ASEs
  doc/functional-bap: Document switching the direction of a CIS
  test: functional: Cover switching the direction of a CIS

 doc/functional-bap.rst      |  37 ++++++
 src/shared/bap.c            |  84 +++++++++----
 test/functional/test_bap.py |  68 +++++++++++
 unit/test-bap.c             | 227 ++++++++++++++++++++++++++++++++++++
 4 files changed, 391 insertions(+), 25 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-11  4:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 22:18 [PATCH BlueZ v1 0/4] shared/bap: Don't disconnect a CIS still used by another ASE Luiz Augusto von Dentz
2026-11-10 22:18 ` [PATCH BlueZ v1 1/4] shared/bap: Don't disconnect a CIS still configured for a link Luiz Augusto von Dentz
2026-11-11  4:35   ` shared/bap: Don't disconnect a CIS still used by another ASE bluez.test.bot
2026-11-10 22:19 ` [PATCH BlueZ v1 2/4] unit/test-bap: Add tests for a CIS shared by two ASEs Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 3/4] doc/functional-bap: Document switching the direction of a CIS Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 4/4] test: functional: Cover " Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 0/5] bap: Release cached ASEs on ClearConfiguration Luiz Augusto von Dentz
2026-11-10 22:19   ` [PATCH BlueZ v1 1/5] shared/bap: Add bt_bap_foreach_stream and bt_bap_stream_get_rpac Luiz Augusto von Dentz
2026-11-10 22:19   ` [PATCH BlueZ v1 2/5] bap: Release cached ASEs on ClearConfiguration of an endpoint Luiz Augusto von Dentz
2026-11-10 22:19   ` [PATCH BlueZ v1 3/5] client/player: Add endpoint.clear command Luiz Augusto von Dentz
2026-11-10 22:19   ` [PATCH BlueZ v1 4/5] doc/functional-bap: Document clearing a cached configuration Luiz Augusto von Dentz
2026-11-10 22:19   ` [PATCH BlueZ v1 5/5] test: functional: Cover " Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 0/8] transport: Hand the owner over to a link still streaming Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 1/8] " Luiz Augusto von Dentz
2026-11-11  4:23   ` [BlueZ,v1,1/8] " bluez.test.bot
2026-11-10 22:19 ` [PATCH BlueZ v1 2/8] unit/test-bap: Add test for disabling one ASE of a shared CIS Luiz Augusto von Dentz
2026-11-11  3:05   ` [BlueZ,v1,2/8] " bluez.test.bot
2026-11-10 22:19 ` [PATCH BlueZ v1 3/8] transport: Clear the owner of desynchronized links when removing it Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 4/8] transport: Don't hand the owner over while releasing Luiz Augusto von Dentz
2026-11-11  3:05   ` [BlueZ,v1,4/8] " bluez.test.bot
2026-11-10 22:19 ` [PATCH BlueZ v1 5/8] doc/functional-bap: Document disabling one ASE of a shared owner Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 6/8] test: functional: Cover " Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 7/8] doc/functional-bap: Document releasing " Luiz Augusto von Dentz
2026-11-10 22:19 ` [PATCH BlueZ v1 8/8] test: functional: Cover " 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