Linux bluetooth development
 help / color / mirror / Atom feed
From: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
To: linux-bluetooth@vger.kernel.org
Cc: Silviu Florian Barbulescu <silviu.barbulescu@nxp.com>
Subject: [PATCH v4 0/4] Add initial support for BAP broadcast source
Date: Wed,  7 Jun 2023 11:22:56 +0300	[thread overview]
Message-ID: <20230607082300.4970-1-silviu.barbulescu@nxp.com> (raw)

This patch adds initial support for BAP broadcast source.

The current implementation allows BAP source endpoint registration,
media transport creation, transport acquiring and sending broadcast ISO data.

Currently, one BIG containing one BIS is supported.

To test the current implementation use bluetoothctl with the commands:
endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x06
endpoint.config <created endpoint> <local endpoint> 16_2_1
transport.acquire <created transport>
transport.send <created transport> <file.wav>

The curent implementation checks that ISO_BROADCASTER is suported on the board so
"Check for ISO support in controller" patch is required
(https://patchwork.kernel.org/project/bluetooth/patch/20230510134557.11486-2-claudia.rosu@nxp.com/)

Silviu Florian Barbulescu (4):
  Split bt_bap_qos structure into unicast and broadcast structures
  Update bluetoothctl with support for broadcast source
  This adds the initial code for BAP broadcast source
  Update BAP plugin with broadcast source support

 client/player.c            | 226 +++++++++++++--
 profiles/audio/bap.c       | 551 +++++++++++++++++++++++++++++++++----
 profiles/audio/media.c     | 115 +++++---
 profiles/audio/media.h     |   2 +
 profiles/audio/transport.c |  84 ++++--
 src/shared/bap.c           | 329 ++++++++++++++++------
 src/shared/bap.h           |  51 +++-
 unit/test-bap.c            |  75 ++---
 8 files changed, 1171 insertions(+), 262 deletions(-)


base-commit: 52477e80fc892bdd2ac250e932ceacda59f90b1c
-- 
2.34.1


             reply	other threads:[~2023-06-07  8:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-07  8:22 Silviu Florian Barbulescu [this message]
2023-06-07  8:22 ` [PATCH v4 1/4] Split bt_bap_qos structure into unicast and broadcast structures Silviu Florian Barbulescu
2023-06-07 10:05   ` Add initial support for BAP broadcast source bluez.test.bot
2023-06-07  8:22 ` [PATCH v4 2/4] Update bluetoothctl with support for " Silviu Florian Barbulescu
2023-06-07  8:22 ` [PATCH v4 3/4] This adds the initial code for BAP " Silviu Florian Barbulescu
2023-06-07  8:23 ` [PATCH v4 4/4] Update BAP plugin with broadcast source support Silviu Florian Barbulescu
2023-06-08  0:00 ` [PATCH v4 0/4] Add initial support for BAP broadcast source patchwork-bot+bluetooth

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=20230607082300.4970-1-silviu.barbulescu@nxp.com \
    --to=silviu.barbulescu@nxp.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