Searched refs:seg_hdr (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/sub_sets/ |
D | isoal_test_tx.c | 3959 struct pdu_iso_sdu_sh seg_hdr[2]; in ZTEST() local 3999 (void)memset(&seg_hdr, 0, sizeof(seg_hdr)); in ZTEST() 4049 seg_hdr[0].sc = 0; in ZTEST() 4050 seg_hdr[0].cmplt = 0; in ZTEST() 4051 seg_hdr[0].timeoffset = ref_point - sdu_timestamp; in ZTEST() 4052 seg_hdr[0].len = PDU_ISO_SEG_TIMEOFFSET_SIZE; in ZTEST() 4062 &seg_hdr[0], in ZTEST() 4071 seg_hdr[1] = seg_hdr[0]; in ZTEST() 4072 seg_hdr[1].cmplt = 1; in ZTEST() 4073 seg_hdr[1].len += (pdu_write_size - pdu_write_loc); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/ |
D | isoal_test_common.c | 115 uint8_t seg_hdr[PDU_ISO_SEG_HDR_SIZE + PDU_ISO_SEG_TIMEOFFSET_SIZE]; in isoal_test_insert_segment() local 123 memset(&seg_hdr, 0, sizeof(seg_hdr)); in isoal_test_insert_segment() 129 WRITE_BIT(seg_hdr[0], 0, sc); /* sc */ in isoal_test_insert_segment() 130 WRITE_BIT(seg_hdr[0], 1, cmplt); /* cmplt */ in isoal_test_insert_segment() 131 seg_hdr[1] = length + (sc ? 0 : PDU_ISO_SEG_TIMEOFFSET_SIZE); in isoal_test_insert_segment() 134 sys_put_le24(time_offset, &seg_hdr[PDU_ISO_SEG_HDR_SIZE]); in isoal_test_insert_segment() 137 memcpy(&pdu_meta->pdu->payload[pdu_meta->pdu->len], &seg_hdr, hdr_write_size); in isoal_test_insert_segment()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | isoal.c | 967 static isoal_sdu_status_t isoal_check_seg_header(struct pdu_iso_sdu_sh *seg_hdr, in isoal_check_seg_header() argument 970 if (!seg_hdr) { in isoal_check_seg_header() 976 pdu_size_remaining >= PDU_ISO_SEG_HDR_SIZE + seg_hdr->len) { in isoal_check_seg_header() 1103 struct pdu_iso_sdu_sh *seg_hdr; in isoal_rx_framed_consume() local 1137 seg_hdr = (pdu_err || seq_err || pdu_padding) ? NULL : in isoal_rx_framed_consume() 1141 if (seg_hdr && isoal_check_seg_header(seg_hdr, pdu_meta->pdu->len) == in isoal_rx_framed_consume() 1144 seg_hdr = NULL; in isoal_rx_framed_consume() 1162 while (seg_hdr) { in isoal_rx_framed_consume() 1164 const uint8_t sc = seg_hdr->sc; in isoal_rx_framed_consume() 1165 const uint8_t cmplt = seg_hdr->cmplt; in isoal_rx_framed_consume() [all …]
|