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 /* Minimum vendor specific Rx payload buffer allocation */ 14 #define LL_VND_OCTETS_RX_MIN 27 15 16 /* Presence of vendor Data PDU struct octet3 */ 17 struct pdu_data_vnd_octet3 { 18 union { 19 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 20 21 #if !defined(CONFIG_BT_CTLR_DATA_LENGTH_CLEAR) 22 struct pdu_cte_info cte_info; /* BT 5.1 Core spec. CTEInfo storage */ 23 #endif /* !CONFIG_BT_CTLR_DATA_LENGTH_CLEAR */ 24 } __packed; 25 } __packed; 26 27 /* Presence of vendor BIS PDU struct octet3 */ 28 struct pdu_bis_vnd_octet3 { 29 union { 30 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 31 } __packed; 32 } __packed; 33 34 /* Presence of vendor CIS PDU struct octet3 */ 35 struct pdu_cis_vnd_octet3 { 36 union { 37 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 38 } __packed; 39 } __packed; 40 41 /* Presence of ISOAL helper vendor ISO PDU struct octet3 */ 42 struct pdu_iso_vnd_octet3 { 43 union { 44 uint8_t resv[OCTET3_LEN]; /* nRF specific octet3 required for NRF_CCM use */ 45 } __packed; 46 } __packed; 47