From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v2 0/6] bap: Release cached ASEs on ClearConfiguration
Date: Wed, 11 Nov 2026 11:25:16 -0500 [thread overview]
Message-ID: <cover.1794413813.git.luiz.von.dentz@intel.com> (raw)
In-Reply-To: <cover.1794414122.git.luiz.von.dentz@intel.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
An acceptor may keep an ASE in Codec Configured, caching its codec
configuration, once the initiator removes the transport. The initiator
then has no way to get rid of it, as it no longer has a transport to
release.
Release such cached ASEs on ClearConfiguration of an endpoint, and add
endpoint.clear to bluetoothctl to exercise it, with a functional test.
This series is independent of the other two.
v2: Wait for the release of the cached ASEs before replying to
ClearConfiguration, validate the transport path of endpoint.clear and
update the remote PAC of an ASE when it is reused (new patch 2/6).
Luiz Augusto von Dentz (6):
shared/bap: Add bt_bap_foreach_stream and bt_bap_stream_get_rpac
shared/bap: Update the remote PAC when reusing an ASE
bap: Release cached ASEs on ClearConfiguration of an endpoint
client/player: Add endpoint.clear command
doc/functional-bap: Document clearing a cached configuration
test: functional: Cover clearing a cached configuration
client/player.c | 57 +++++++++++++++++++++++++++++++++++
doc/bluetoothctl-endpoint.rst | 20 ++++++++++++
doc/functional-bap.rst | 24 +++++++++++++++
profiles/audio/bap.c | 53 ++++++++++++++++++++++++++++++--
src/shared/bap.c | 32 ++++++++++++++++++++
src/shared/bap.h | 8 +++++
test/functional/test_bap.py | 23 ++++++++++++++
7 files changed, 214 insertions(+), 3 deletions(-)
--
2.56.0
next prev parent reply other threads:[~2026-11-11 16:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 16:25 [PATCH BlueZ v2 0/4] shared/bap: Don't disconnect a CIS still used by another ASE Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 1/4] shared/bap: Don't disconnect a CIS still configured for a link Luiz Augusto von Dentz
2026-11-11 19:38 ` shared/bap: Don't disconnect a CIS still used by another ASE bluez.test.bot
2026-11-11 16:25 ` [PATCH BlueZ v2 2/4] unit/test-bap: Add tests for a CIS shared by two ASEs Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 3/4] doc/functional-bap: Document switching the direction of a CIS Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 4/4] test: functional: Cover " Luiz Augusto von Dentz
2026-11-11 16:25 ` Luiz Augusto von Dentz [this message]
2026-11-11 16:25 ` [PATCH BlueZ v2 1/6] shared/bap: Add bt_bap_foreach_stream and bt_bap_stream_get_rpac Luiz Augusto von Dentz
2026-11-11 19:27 ` bap: Release cached ASEs on ClearConfiguration bluez.test.bot
2026-11-11 16:25 ` [PATCH BlueZ v2 2/6] shared/bap: Update the remote PAC when reusing an ASE Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 3/6] bap: Release cached ASEs on ClearConfiguration of an endpoint Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 4/6] client/player: Add endpoint.clear command Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 5/6] doc/functional-bap: Document clearing a cached configuration Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 6/6] test: functional: Cover " Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 0/8] transport: Hand the owner over to a link still streaming Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 1/8] " Luiz Augusto von Dentz
2026-11-11 19:49 ` [BlueZ,v2,1/8] " bluez.test.bot
2026-11-11 16:25 ` [PATCH BlueZ v2 2/8] unit/test-bap: Add test for disabling one ASE of a shared CIS Luiz Augusto von Dentz
2026-11-11 18:09 ` [BlueZ,v2,2/8] " bluez.test.bot
2026-11-11 16:25 ` [PATCH BlueZ v2 3/8] transport: Clear the owner of desynchronized links when removing it Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 4/8] transport: Don't hand the owner over while releasing Luiz Augusto von Dentz
2026-11-11 18:09 ` [BlueZ,v2,4/8] " bluez.test.bot
2026-11-11 16:25 ` [PATCH BlueZ v2 5/8] doc/functional-bap: Document disabling one ASE of a shared owner Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 6/8] test: functional: Cover " Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 7/8] doc/functional-bap: Document releasing " Luiz Augusto von Dentz
2026-11-11 16:25 ` [PATCH BlueZ v2 8/8] test: functional: Cover " 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=cover.1794413813.git.luiz.von.dentz@intel.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