zephyr/samples/bluetooth/bap_unicast_client/src
Emil Gydesen 778a9afae3 tests: Bluetooth: Audio: Remove uses of K_FOREVER in syswg for TX
Several tests were using K_FOREVER when allocating the
buffer for TX in the system workqueue, which is illegal behavior.

The solution chosen was to create a TX thread to handle TX,
similar to the solution used in the audio shell and some
sample applications.

This way we can continue to use K_FOREVER when allocting buffers
and it will always be done in a round-robin fashion while
TXing as much as possible, by always enqueuing all the buffers
with mock data.

Since this works for all streams (both broadcast and unicast),
it was obvious to use the same implementation for all tests,
and thus cleaning up the tests a bit and more them more similar.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-12-10 16:23:10 +01:00
..
main.c tests: Bluetooth: Audio: Remove uses of K_FOREVER in syswg for TX 2024-12-10 16:23:10 +01:00
stream_lc3.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
stream_lc3.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
stream_tx.c samples: Bluetooth: BAP: Add missing return in stream_is_streaming 2024-11-06 10:10:06 -08:00
stream_tx.h samples: Bluetooth: Audio: Add/fix API includes and references 2024-09-24 09:21:40 -04:00