1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #if defined(CONFIG_BT_CTLR_DATA_LENGTH_CLEAR) 8 #define OCTET3_LEN 0U 9 #else /* !CONFIG_BT_CTLR_DATA_LENGTH_CLEAR */ 10 #define OCTET3_LEN 1U 11 #endif /* !CONFIG_BT_CTLR_DATA_LENGTH_CLEAR */ 12 13 /* Presence of vendor Data PDU struct octet3 */ 14 struct pdu_data_vnd_octet3 { 15 union { 16 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 17 18 #if !defined(CONFIG_BT_CTLR_DATA_LENGTH_CLEAR) 19 struct pdu_cte_info cte_info; /* BT 5.1 Core spec. CTEInfo storage */ 20 #endif /* !CONFIG_BT_CTLR_DATA_LENGTH_CLEAR */ 21 } __packed; 22 } __packed; 23 24 /* Presence of vendor BIS PDU struct octet3 */ 25 struct pdu_bis_vnd_octet3 { 26 union { 27 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 28 } __packed; 29 } __packed; 30 31 /* Presence of vendor CIS PDU struct octet3 */ 32 struct pdu_cis_vnd_octet3 { 33 union { 34 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 35 } __packed; 36 } __packed; 37 38 /* Presence of ISOAL helper vendor ISO PDU struct octet3 */ 39 struct pdu_iso_vnd_octet3 { 40 union { 41 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 42 } __packed; 43 } __packed; 44