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 following commands: # endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x06 # transport.acquire /org/bluez/hci0/dev_00_00_00_00_00_00/pac_broadcast0/fd0 # transport.send /org/bluez/hci0/dev_00_00_00_00_00_00/pac_broadcast0/fd0 <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 | 223 +++++++++++++++-- profiles/audio/bap.c | 478 ++++++++++++++++++++++++++++++++----- profiles/audio/media.c | 142 +++++++++-- profiles/audio/transport.c | 57 +++-- src/shared/bap.c | 370 ++++++++++++++++++++++------ src/shared/bap.h | 80 +++++-- unit/test-bap.c | 75 +++--- 7 files changed, 1168 insertions(+), 257 deletions(-) base-commit: 7002ecc8914ab1f22e36bd98c4d46eb760edf767 -- 2.34.1