zephyr/subsys/bluetooth/controller/ll_sw/pdu_df.h
Vinayak Kariappa Chettimada 4d3f8697a3 Bluetooth: Controller: Make PDU octet3 vendor specific
Make Data, ISO, BIS and CIS PDU structure's octet 3 vendor
specific.

This will allow vendors not supporting the octet 3 or
CTEInfo (8 bits) to save 1 octet in their PDU structures.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2023-01-26 13:25:11 +01:00

18 lines
305 B
C

/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
struct pdu_cte_info {
#ifdef CONFIG_LITTLE_ENDIAN
uint8_t time:5;
uint8_t rfu:1;
uint8_t type:2;
#else
uint8_t type:2;
uint8_t rfu:1;
uint8_t time:5;
#endif /* CONFIG_LITTLE_ENDIAN */
} __packed;