Commit: 4bc20f9df4056956d059750635be3faaabd88c05
Parent: f5c0fe68539fbfa7eefcc6088c5bbcc9f369a0e8
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-10-15 17:55:21
Tree: 3e6c5f0525824b53187a51496a5dddb52632ce17

bass: Add support to request bcode This adds support for a Scan Delegator to request the Broadcast Code from peer Broadcast Assistants and to update a BAP stream QoS with the value. A BASS API is added to update the BIG encryption status of a Broadcast Receive State characteristic and to notify peers. When a peer provides the Code using the BASS "Set Broadcast Code" operation, the BAP stream QoS is updated. The driver calling this API will pass a callback as parameter, which will be called to signal that the Broadcast Code has been received and stored in the stream QoS. A timeout is set to wait for Broadcast Assistants to provide the Code. If the timeout expires, the callback will be code with the appropriate error status.

Diffstat

M profiles/audio/bass.c | 141 ++++++++++++++++++++++++++++++++++++++++
M profiles/audio/bass.h | 6 ++++++

2 files changed, 147 insertions(+), 0 deletions(-)

View Full Diff | Patch