1 /* @file
2  * @brief Internal APIs for PACS handling
3  *
4  * Copyright (c) 2020 Intel Corporation
5  * Copyright (c) 2022 Nordic Semiconductor ASA
6  *
7  * SPDX-License-Identifier: Apache-2.0
8  */
9 
10 #include <stdint.h>
11 
12 #include <zephyr/sys/util_macro.h>
13 
14 #define BT_AUDIO_LOCATION_MASK BIT_MASK(28)
15 
16 struct bt_pac_codec {
17 	uint8_t  id;			/* Codec ID */
18 	uint16_t cid;			/* Company ID */
19 	uint16_t vid;			/* Vendor specific Codec ID */
20 } __packed;
21 
22 struct bt_pac_ltv {
23 	uint8_t  len;
24 	uint8_t  type;
25 	uint8_t  value[0];
26 } __packed;
27 
28 struct bt_pac_ltv_data {
29 	uint8_t  len;
30 	struct bt_pac_ltv data[0];
31 } __packed;
32 
33 struct bt_pacs_read_rsp {
34 	uint8_t  num_pac;		/* Number of PAC Records*/
35 } __packed;
36 
37 struct bt_pacs_context {
38 	uint16_t  snk;
39 	uint16_t  src;
40 } __packed;
41