diff mbox series

[BlueZ,5/7] shared/bass: Add additional defines

Message ID 20240805120429.67606-6-iulia.tanasescu@nxp.com (mailing list archive)
State Accepted
Commit 15811387144ca2f8274932204a54ff2fc6e36cff
Headers show
Series Implement the MediaAssistant "Push" command | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/IncrementalBuild success Incremental Build PASS

Commit Message

Iulia Tanasescu Aug. 5, 2024, 12:04 p.m. UTC
This adds BASS macros for Broadcast Source address types and for the
unknown PA interval value. These values are to be used as parameters
for the "Add Source" command.
---
 src/shared/bass.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/src/shared/bass.h b/src/shared/bass.h
index 01c1279bb..878bab51a 100644
--- a/src/shared/bass.h
+++ b/src/shared/bass.h
@@ -74,6 +74,9 @@  struct bt_bass_bcast_audio_scan_cp_hdr {
 
 #define BT_BASS_ADD_SRC					0x02
 
+#define BT_BASS_ADDR_PUBLIC				0x00
+#define BT_BASS_ADDR_RANDOM				0x01
+
 /* PA_Sync values */
 #define PA_SYNC_NO_SYNC					0x00
 #define PA_SYNC_PAST					0x01
@@ -82,6 +85,8 @@  struct bt_bass_bcast_audio_scan_cp_hdr {
 /* BIS_Sync no preference bitmask */
 #define BIS_SYNC_NO_PREF				0xFFFFFFFF
 
+#define PA_INTERVAL_UNKNOWN				0xFFFF
+
 struct bt_bass_add_src_params {
 	uint8_t addr_type;
 	bdaddr_t addr;