diff mbox series

[BlueZ,v2,3/4] shared/lc3: Add macro for Channel Allocation LTV len

Message ID 20240130154412.3157-4-iulia.tanasescu@nxp.com
State New
Headers show
Series Update bcast ep register and config props | expand

Commit Message

Iulia Tanasescu Jan. 30, 2024, 3:44 p.m. UTC
This adds a macro for the Audio_Channel_Allocation LTV len.
---
 src/shared/lc3.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/shared/lc3.h b/src/shared/lc3.h
index e6b043699..4ca3c6898 100644
--- a/src/shared/lc3.h
+++ b/src/shared/lc3.h
@@ -4,6 +4,7 @@ 
  *  BlueZ - Bluetooth protocol stack for Linux
  *
  *  Copyright (C) 2022  Intel Corporation. All rights reserved.
+ *  Copyright 2024 NXP
  *
  */
 
@@ -75,7 +76,8 @@ 
 #define LC3_CONFIG_DURATION_7_5	0x00
 #define LC3_CONFIG_DURATION_10	0x01
 
-#define LC3_CONFIG_CHAN_ALLOC	(LC3_CONFIG_BASE + 2)
+#define LC3_CONFIG_CHAN_ALLOC		(LC3_CONFIG_BASE + 2)
+#define LC3_CONFIG_CHAN_ALLOC_LEN	0x05
 
 #define LC3_CONFIG_FRAME_LEN	(LC3_CONFIG_BASE + 3)