Commit: 662aee4357f8975763280fec0e6cd35b2082200d
Parent: bbcf4891cd46f53e35761db808155dc0fb89b175
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-07-18 21:20:52
Tree: be4887ffd070adbdecdc7270490b1952cf83809f

shared/bap: Allow checking bis caps against peer caps A BAP Broadcast Assistant needs to match stream capabilities with capabilities discovered in the Sink PAC characteristic on the peer. This updates bt_bap_verify_bis to check the provided stream capabilities against local or remote capabilities, depending on the bap structure provided: If the device is acting as a BAP Broadcast Sink and the bap session was created after scanning a Broadcast Source, the stream caps will be matched with the local broadcast sink PAC. If the device is acting as a Broadcast Assistant and the bap session is a client session with a BAP Scan Delegator, the stream caps will be matched with the PAC records populated in the rdb at service discovery.

Diffstat

M src/shared/bap.c | 26 ++++++++++++++++++++- - - - - -

1 files changed, 20 insertions(+), 6 deletions(-)

View Full Diff | Patch