linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v5 0/6] Update Sink BASE management
@ 2024-03-01 15:00 Andrei Istodorescu
  2024-03-01 15:00 ` [PATCH BlueZ v5 1/6] shared/util: Add push LTV utilitary function Andrei Istodorescu
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Andrei Istodorescu @ 2024-03-01 15:00 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, iulia.tanasescu, Andrei Istodorescu

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
-- 
2.40.1


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

end of thread, other threads:[~2024-03-01 20:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 15:00 [PATCH BlueZ v5 0/6] Update Sink BASE management Andrei Istodorescu
2024-03-01 15:00 ` [PATCH BlueZ v5 1/6] shared/util: Add push LTV utilitary function Andrei Istodorescu
2024-03-01 17:02   ` Update Sink BASE management bluez.test.bot
2024-03-01 15:00 ` [PATCH BlueZ v5 2/6] shared/bap: Allow reading endpoint metadata and data Andrei Istodorescu
2024-03-01 15:00 ` [PATCH BlueZ v5 3/6] shared/bap: Update local PACS for broadcast sink also Andrei Istodorescu
2024-03-01 15:00 ` [PATCH BlueZ v5 4/6] shared/bap: Do stream configuration in bap_bcast_config Andrei Istodorescu
2024-03-01 15:00 ` [PATCH BlueZ v5 5/6] shared/bap: Add API to add an observed BIS Andrei Istodorescu
2024-03-01 15:00 ` [PATCH BlueZ v5 6/6] bap: Do PA Sync for each BAP Broadcast source discovered Andrei Istodorescu
2024-03-01 20:50 ` [PATCH BlueZ v5 0/6] Update Sink BASE management patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).