File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
subsys/bluetooth/controller/ll_sw Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ struct pdu_adv_ext_hdr {
224224#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
225225 uint8_t adv_addr :1 ;
226226 uint8_t tgt_addr :1 ;
227- uint8_t rfu0 :1 ;
227+ uint8_t cte_info :1 ;
228228 uint8_t adi :1 ;
229229 uint8_t aux_ptr :1 ;
230230 uint8_t sync_info :1 ;
@@ -236,7 +236,7 @@ struct pdu_adv_ext_hdr {
236236 uint8_t sync_info :1 ;
237237 uint8_t aux_ptr :1 ;
238238 uint8_t adi :1 ;
239- uint8_t rfu0 :1 ;
239+ uint8_t cte_info :1 ;
240240 uint8_t tgt_addr :1 ;
241241 uint8_t adv_addr :1 ;
242242#else
@@ -313,6 +313,20 @@ enum pdu_adv_aux_phy {
313313 EXT_ADV_AUX_PHY_LE_COD = 0x02 ,
314314};
315315
316+ struct pdu_cte_info {
317+ #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
318+ uint8_t time :5 ;
319+ uint8_t rfu :1 ;
320+ uint8_t type :2 ;
321+ #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
322+ uint8_t type :2 ;
323+ uint8_t rfu :1 ;
324+ uint8_t time :5 ;
325+ #else
326+ #error "Unsupported endianness"
327+ #endif
328+ };
329+
316330struct pdu_adv_sync_info {
317331#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
318332 uint16_t offs :13 ;
You can’t perform that action at this time.
0 commit comments