[bluez/bluez] 41340a: test-bap: Keep streams queue in test_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 41340a74bf83b16304cf6ed388bf6341f41c7ed1
      https://github.com/bluez/bluez/commit/41340a74bf83b16304cf6ed388bf6341f41c7ed1
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M unit/test-bap.c

  Log Message:
  -----------
  test-bap: Keep streams queue in test_data

Some BAP test configurations require multiple streams to be created
(for example, 4.14.4 Broadcast Sink Receives Audio Data Over Multiple
BISes).

This replaces the stream pointer inside test_data with a queue of
streams, where each created stream is pushed.

Unicast callbacks where the created stream needs to be accessed
already pass the stream reference as parameter, so there is no need
to access it from test_data.


  Commit: 25eaeeb7e1bc9a35091a1bb21c0fb20581fcbe8a
      https://github.com/bluez/bluez/commit/25eaeeb7e1bc9a35091a1bb21c0fb20581fcbe8a
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M unit/test-bap.c

  Log Message:
  -----------
  test-bap: Add support for multiple bcast streams

This adds support for implementing Broadcast tests that require multiple
streams to be configured (for example, 4.14.4 Broadcast Sink Receives
Audio Data Over Multiple BISes).

The number of required streams is added inside the test_config struct.
The bsnk_pac_added and the bsnk_state_str callbacks have been updated
to support multiple streams.


  Commit: c41943fe392dec833ce7c0b5e37de40d07c51b61
      https://github.com/bluez/bluez/commit/c41943fe392dec833ce7c0b5e37de40d07c51b61
  Author: Iulia Tanasescu <iulia.tanasescu@xxxxxxx>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M unit/test-bap.c

  Log Message:
  -----------
  test-bap: Add Broadcast Sink STR MBIS tests

4.14.4 Broadcast Sink Receives Audio Data Over Multiple BISes (page 193):

    Test Purpose:
    Verify that a Broadcast Sink IUT can receive audio data over
    multiple BISes from a Broadcast Source. The verification is
    performed for each set of parameters in turn.

    Test Case Configuration:
    BAP/BSNK/STR/BV-18-C [BSNK, Multiple BISes, LC3 8_1]
    BAP/BSNK/STR/BV-19-C [BSNK, Multiple BISes, LC3 8_2]
    BAP/BSNK/STR/BV-20-C [BSNK, Multiple BISes, LC3 16_1]
    BAP/BSNK/STR/BV-21-C [BSNK, Multiple BISes, LC3 16_2]
    BAP/BSNK/STR/BV-22-C [BSNK, Multiple BISes, LC3 24_1]
    BAP/BSNK/STR/BV-23-C [BSNK, Multiple BISes, LC3 24_2]
    BAP/BSNK/STR/BV-24-C [BSNK, Multiple BISes, LC3 32_1]
    BAP/BSNK/STR/BV-25-C [BSNK, Multiple BISes, LC3 32_2]
    BAP/BSNK/STR/BV-26-C [BSNK, Multiple BISes, LC3 44.1_1]
    BAP/BSNK/STR/BV-27-C [BSNK, Multiple BISes, LC3 44.1_2]
    BAP/BSNK/STR/BV-28-C [BSNK, Multiple BISes, LC3 48_1]
    BAP/BSNK/STR/BV-29-C [BSNK, Multiple BISes, LC3 48_2]
    BAP/BSNK/STR/BV-30-C [BSNK, Multiple BISes, LC3 48_3]
    BAP/BSNK/STR/BV-31-C [BSNK, Multiple BISes, LC3 48_4]
    BAP/BSNK/STR/BV-32-C [BSNK, Multiple BISes, LC3 48_5]
    BAP/BSNK/STR/BV-33-C [BSNK, Multiple BISes, LC3 48_6]
    BAP/BSNK/STR/BV-34-C [BSNK, Multiple BISes, VS]

    Pass verdict:
    The IUT synchronizes to the Lower Tester (the Link Layer
    receives a BIS Data PDU). The host on the IUT receives an
    LE BIG Sync Established event.

    If the Codec ID is LC3, the IUT receives encoded LC3 audio
    data in BIS Data PDUs on each synchronized BIS. The audio
    data is formatted using the LC3 Media Packet format.

    If the Codec ID is a vendor-specific Codec ID, the IUT receives
    BIS Data PDUs on each synchronized BIS. The parameters included
    in the Codec_Specific_Configuration data are as defined in
    TSPX_VS_Codec_Specific_Configuration.

    If the Codec ID is LC3, each parameter included in
    Codec_Specific_Configuration data is formatted in an LTV structure
    with the length, type, and value specified in Table 4.85.

Test Summary
------------
BAP/BSNK/STR/BV-18-C [BSNK, Multiple BISes, LC3 8_1]    Passed
BAP/BSNK/STR/BV-19-C [BSNK, Multiple BISes, LC3 8_2]    Passed
BAP/BSNK/STR/BV-20-C [BSNK, Multiple BISes, LC3 16_1]   Passed
BAP/BSNK/STR/BV-21-C [BSNK, Multiple BISes, LC3 16_2]   Passed
BAP/BSNK/STR/BV-22-C [BSNK, Multiple BISes, LC3 24_1]   Passed
BAP/BSNK/STR/BV-23-C [BSNK, Multiple BISes, LC3 24_2]   Passed
BAP/BSNK/STR/BV-24-C [BSNK, Multiple BISes, LC3 32_1]   Passed
BAP/BSNK/STR/BV-25-C [BSNK, Multiple BISes, LC3 32_2]   Passed
BAP/BSNK/STR/BV-26-C [BSNK, Multiple BISes, LC3 44.1_1] Passed
BAP/BSNK/STR/BV-27-C [BSNK, Multiple BISes, LC3 44.1_2] Passed
BAP/BSNK/STR/BV-28-C [BSNK, Multiple BISes, LC3 48_1]   Passed
BAP/BSNK/STR/BV-29-C [BSNK, Multiple BISes, LC3 48_2]   Passed
BAP/BSNK/STR/BV-30-C [BSNK, Multiple BISes, LC3 48_3]   Passed
BAP/BSNK/STR/BV-31-C [BSNK, Multiple BISes, LC3 48_4]   Passed
BAP/BSNK/STR/BV-32-C [BSNK, Multiple BISes, LC3 48_5]   Passed
BAP/BSNK/STR/BV-33-C [BSNK, Multiple BISes, LC3 48_6]   Passed
BAP/BSNK/STR/BV-34-C [BSNK, Multiple BISes, VS]         Passed


  Commit: 6e51acb0e846a141e3a1ccd0f243b7fe9de7c111
      https://github.com/bluez/bluez/commit/6e51acb0e846a141e3a1ccd0f243b7fe9de7c111
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M unit/test-bap.c

  Log Message:
  -----------
  test-bap: Rename num_str to streams

This renames test_config.num_str to test_config.streams just be clearer
on what is the intent of the field.


Compare: https://github.com/bluez/bluez/compare/a2438e46f812...6e51acb0e846

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux