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@xxxxxxx/) 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