Skip to content

Update Sink BASE management

Andrei Istodorescu linux-bluetooth 5 versions – Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 1 replyApplied
  2. v42 patches 4 repliesSuperseded
  3. v34 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches5 repliesSuperseded
v13 patches4 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/6shared/util: Add push LTV utilitary functionsrc/shared/util.c src/shared/util.h+13 -21 reply
2/6shared/bap: Allow reading endpoint metadata and datasrc/shared/bap.c src/shared/bap.h+15 -10 replies
3/6shared/bap: Update local PACS for broadcast sink alsosrc/shared/bap.c+7 -00 replies
4/6shared/bap: Do stream configuration in bap_bcast_configsrc/shared/bap.c+2 -90 replies
5/6shared/bap: Add API to add an observed BISsrc/shared/bap.c src/shared/bap.h+268 -50 replies
6/6bap: Do PA Sync for each BAP Broadcast source discoveredprofiles/audio/bap.c+410 -2460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH BlueZ v5 0/6] Update Sink BASE management

This patch refactors the flow for the BAP Broadcast Sink. After discovering a new Broadcast Source a short PA Sync will be tried. Depending on the BASE information present in the PA and the local PACS capabilities of the Sink, one remote media endpoint will be created for each compatible BIS.
Configuring one of these endpoints results in creating a stream and a media transport for the corresponding BIS.

Idle timer.
This patch introduces an idle timer, responsible for processing PA Sync requests. One request is possible at a time. When a broadcast source is discovered a new request for short PA sync is enqueued. Also, when a SetConfiguration is requested for an existing BAP broadcast source endpoint another request is enqueued.
The timer runs periodically and peeks for requests. In case there is no request in progress the timer marks the already peeked request to pending and starts processing it. When the request is completed, it is removed from the timer's queue, so that the next request can be processed.

Andrei Istodorescu (6):
shared/util: Add push LTV utilitary function shared/bap: Allow reading endpoint metadata and data shared/bap: Update local PACS for broadcast sink also shared/bap: Do stream configuration in bap_bcast_config shared/bap: Add API to add an observed BIS
bap: Do PA Sync for each BAP Broadcast source discovered

 profiles/audio/bap.c | 656 +++++++++++++++++++++++++++----------------
 src/shared/bap.c     | 294 ++++++++++++++++++-
 src/shared/bap.h     |  13 +-
 src/shared/util.c    |  11 +-
 src/shared/util.h    |   4 +-
 5 files changed, 715 insertions(+), 263 deletions(-)

base-commit: 44d3f67277f83983e1e9697eda7b9aeb40ca231d

Signature · 1 line
2.40.1