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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 --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;
-- 
2.39.2





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux