/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_stream_rx.c | 21 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in log_stream_rx() local 24 test_stream->rx_cnt, stream, buf->len, info->flags, info->seq_num, info->ts); in log_stream_rx() 30 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in bap_stream_rx_recv_cb() local 32 if ((test_stream->rx_cnt % 50U) == 0U) { in bap_stream_rx_recv_cb() 36 if (test_stream->rx_cnt > 0U && info->ts == test_stream->last_info.ts) { in bap_stream_rx_recv_cb() 38 FAIL("Duplicated timestamp received: %u\n", test_stream->last_info.ts); in bap_stream_rx_recv_cb() 42 if (test_stream->rx_cnt > 0U && info->seq_num == test_stream->last_info.seq_num) { in bap_stream_rx_recv_cb() 44 FAIL("Duplicated PSN received: %u\n", test_stream->last_info.seq_num); in bap_stream_rx_recv_cb() 65 test_stream->rx_cnt++; in bap_stream_rx_recv_cb() 67 if (test_stream->rx_cnt >= MIN_SEND_COUNT) { in bap_stream_rx_recv_cb()
|
D | common.h | 168 cap_stream_from_audio_test_stream(struct audio_test_stream *test_stream) in cap_stream_from_audio_test_stream() argument 170 return &test_stream->stream; in cap_stream_from_audio_test_stream() 174 bap_stream_from_audio_test_stream(struct audio_test_stream *test_stream) in bap_stream_from_audio_test_stream() argument 176 return bap_stream_from_cap_stream(cap_stream_from_audio_test_stream(test_stream)); in bap_stream_from_audio_test_stream()
|
D | bap_stream_tx.c | 204 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in bap_stream_tx_sent_cb() local 206 if ((test_stream->tx_cnt % 100U) == 0U) { in bap_stream_tx_sent_cb() 207 LOG_INF("Stream %p sent %zu SDUs", stream, test_stream->tx_cnt); in bap_stream_tx_sent_cb() 210 test_stream->tx_cnt++; in bap_stream_tx_sent_cb()
|
D | pbp_public_broadcast_sink_test.c | 98 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in started_cb() local 100 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in started_cb() 101 test_stream->rx_cnt = 0U; in started_cb()
|
D | bap_broadcast_source_test.c | 170 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 174 test_stream->seq_num = 0U; in stream_started_cb() 175 test_stream->tx_cnt = 0U; in stream_started_cb() 307 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in setup_broadcast_source() local 309 test_stream->tx_sdu_size = preset_16_1_1.qos.sdu; in setup_broadcast_source() 439 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_broadcast_source_reconfig() local 441 test_stream->tx_sdu_size = preset_16_1_1.qos.sdu; in test_broadcast_source_reconfig()
|
D | cap_initiator_broadcast_test.c | 113 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in broadcast_stream_started_cb() local 116 test_stream->seq_num = 0U; in broadcast_stream_started_cb() 117 test_stream->tx_cnt = 0U; in broadcast_stream_started_cb() 422 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_broadcast_audio_create() local 424 test_stream->tx_sdu_size = create_param.qos->sdu; in test_broadcast_audio_create() 756 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_cap_initiator_ac() local 758 test_stream->tx_sdu_size = create_param.qos->sdu; in test_cap_initiator_ac()
|
D | pbp_public_broadcast_source_test.c | 66 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in started_cb() local 69 test_stream->seq_num = 0U; in started_cb() 70 test_stream->tx_cnt = 0U; in started_cb()
|
D | bap_unicast_server_test.c | 153 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in lc3_qos() local 159 test_stream->tx_sdu_size = qos->sdu; in lc3_qos() 342 struct audio_test_stream *test_stream = in transceive_test_streams() local 346 while (test_stream->tx_cnt < MIN_SEND_COUNT) { in transceive_test_streams()
|
D | cap_acceptor_test.c | 290 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in started_cb() local 292 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in started_cb() 293 test_stream->rx_cnt = 0U; in started_cb() 294 test_stream->seq_num = 0U; in started_cb() 295 test_stream->tx_cnt = 0U; in started_cb()
|
D | bap_broadcast_sink_test.c | 551 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 555 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in stream_started_cb() 556 test_stream->rx_cnt = 0U; in stream_started_cb()
|
D | bap_unicast_client_test.c | 85 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_qos_set() local 89 test_stream->tx_sdu_size = stream->qos->sdu; in stream_qos_set() 827 struct audio_test_stream *test_stream = in transceive_streams() local 831 while (test_stream->tx_cnt < MIN_SEND_COUNT) { in transceive_streams()
|
D | gmap_ugg_test.c | 1210 struct audio_test_stream *test_stream = &broadcast_streams[i]; in test_gmap_ugg_broadcast_ac() local 1212 test_stream->tx_sdu_size = create_param.qos->sdu; in test_gmap_ugg_broadcast_ac()
|
/Zephyr-latest/tests/bluetooth/audio/ascs/src/ |
D | test_ase_control_params.c | 369 static struct bt_bap_stream test_stream; variable 380 *stream = &test_stream; in unicast_server_cb_config_custom_fake()
|