tests: bluetooth: controller: Unit test for SDU interval consideration

-- Unit test to check that the correct payload number is selected based
   on the SDU packet number and the time stamp when fragmenting SDUs
   into PDUs.
-- Ran clang-format on isoal_test_tx and isoal_test_rx

Signed-off-by: Nirosharn Amarasinghe <niag@demant.com>
This commit is contained in:
Nirosharn Amarasinghe 2023-02-13 16:49:11 +01:00 committed by Carles Cufí
parent 11ce28f8f7
commit dc21de3acd
3 changed files with 6060 additions and 4207 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -112,7 +112,7 @@ static isoal_status_t test_sink_sdu_emit(const struct isoal_sink *si
const struct isoal_emitted_sdu *sdu)
{
printk("Vendor sink SDU fragment size %u / %u, seq_num %u, ts %u\n",
sdu_frag->sdu_frag_size, sdu->total_sdu_size, sdu_frag->sdu.seqn,
sdu_frag->sdu_frag_size, sdu->total_sdu_size, sdu_frag->sdu.sn,
sdu_frag->sdu.timestamp);
is_iso_vs_emitted = true;