mbox series

[BlueZ,0/3] bap: Update bt_bap user data handling

Message ID 20250220085811.5033-1-iulia.tanasescu@nxp.com (mailing list archive)
Headers show
Series bap: Update bt_bap user data handling | expand

Message

Iulia Tanasescu Feb. 20, 2025, 8:58 a.m. UTC
For the BAP Broadcast Assistant/Scan Delegator implementation
(BASS Client/Server), BAP sessions with Broadcasters are notified
in the bap_attached/bap_detached callbacks registered by BASS.
The associated btd_service must be available in the bt_bap
user data, to match the session with the Broadcaster device.

This patch updates the way bt_bap user data is handled, to ensure
the above.

Iulia Tanasescu (3):
  bap: Do not clear user_data before detaching bt_bap
  bap: Do not set adapter as bt_bap user_data
  bass: Add checks for bap user data

 profiles/audio/bap.c  |  5 +----
 profiles/audio/bass.c | 23 ++++++++++++++++++-----
 2 files changed, 19 insertions(+), 9 deletions(-)


base-commit: 264bf951f2d687f520898fa3e182291f1261e3a7

Comments

patchwork-bot+bluetooth@kernel.org Feb. 21, 2025, 4:50 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Thu, 20 Feb 2025 10:58:08 +0200 you wrote:
> For the BAP Broadcast Assistant/Scan Delegator implementation
> (BASS Client/Server), BAP sessions with Broadcasters are notified
> in the bap_attached/bap_detached callbacks registered by BASS.
> The associated btd_service must be available in the bt_bap
> user data, to match the session with the Broadcaster device.
> 
> This patch updates the way bt_bap user data is handled, to ensure
> the above.
> 
> [...]

Here is the summary with links:
  - [BlueZ,1/3] bap: Do not clear user_data before detaching bt_bap
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=790a0c5d75ec
  - [BlueZ,2/3] bap: Do not set adapter as bt_bap user_data
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=cfb233b4c6b3
  - [BlueZ,3/3] bass: Add checks for bap user data
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fefeb495dd22

You are awesome, thank you!