From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v4 0/6] bap: Release cached ASEs on ClearConfiguration
Date: Thu, 12 Nov 2026 13:14:25 -0500 [thread overview]
Message-ID: <cover.1794504552.git.luiz.von.dentz@intel.com> (raw)
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).
v4: Complete every pending release of a stream once it is idle, including
the ones left behind by a failed release.
v3: Reply to ClearConfiguration once the cached ASEs are idle, and
report a failed release as an error.
v2: Wait for the release of the cached ASEs before replying, 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 | 158 ++++++++++++++++++++++++++++++++--
src/shared/bap.c | 32 +++++++
src/shared/bap.h | 8 ++
test/functional/test_bap.py | 23 +++++
7 files changed, 313 insertions(+), 9 deletions(-)
--
2.56.0
next reply other threads:[~2026-11-12 18:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 18:14 Luiz Augusto von Dentz [this message]
2026-11-12 18:14 ` [PATCH BlueZ v4 1/6] shared/bap: Add bt_bap_foreach_stream and bt_bap_stream_get_rpac Luiz Augusto von Dentz
2026-11-12 18:14 ` [PATCH BlueZ v4 2/6] shared/bap: Update the remote PAC when reusing an ASE Luiz Augusto von Dentz
2026-11-12 18:14 ` [PATCH BlueZ v4 3/6] bap: Release cached ASEs on ClearConfiguration of an endpoint Luiz Augusto von Dentz
2026-11-12 18:14 ` [PATCH BlueZ v4 4/6] client/player: Add endpoint.clear command Luiz Augusto von Dentz
2026-11-12 18:14 ` [PATCH BlueZ v4 5/6] doc/functional-bap: Document clearing a cached configuration Luiz Augusto von Dentz
2026-11-12 18:14 ` [PATCH BlueZ v4 6/6] 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.1794504552.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