| /tests/bsim/bluetooth/audio/src/ |
| A D | bap_stream_rx.c | 26 test_stream->valid_rx_cnt, test_stream->rx_cnt, stream, buf->len, info->flags, in log_stream_rx() 35 test_stream->rx_cnt++; in bap_stream_rx_recv_cb() 38 test_stream->valid_rx_cnt++; in bap_stream_rx_recv_cb() 40 if (test_stream->valid_rx_cnt >= MIN_SEND_COUNT) { in bap_stream_rx_recv_cb() 50 if ((test_stream->rx_cnt % 50U) == 0U) { in bap_stream_rx_recv_cb() 54 if (info->ts == test_stream->last_info.ts) { in bap_stream_rx_recv_cb() 56 if (test_stream->valid_rx_cnt > 1U) { in bap_stream_rx_recv_cb() 61 if (info->seq_num == test_stream->last_info.seq_num) { in bap_stream_rx_recv_cb() 63 if (test_stream->valid_rx_cnt > 1U) { in bap_stream_rx_recv_cb() 64 FAIL("Duplicated PSN received: %u\n", test_stream->last_info.seq_num); in bap_stream_rx_recv_cb() [all …]
|
| A D | common.h | 198 cap_stream_from_audio_test_stream(struct audio_test_stream *test_stream) in cap_stream_from_audio_test_stream() argument 200 return &test_stream->stream; in cap_stream_from_audio_test_stream() 204 bap_stream_from_audio_test_stream(struct audio_test_stream *test_stream) in bap_stream_from_audio_test_stream() argument 206 return bap_stream_from_cap_stream(cap_stream_from_audio_test_stream(test_stream)); in bap_stream_from_audio_test_stream()
|
| A 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()
|
| A D | gmap_ugt_test.c | 86 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in unicast_stream_started_cb() local 88 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in unicast_stream_started_cb() 89 test_stream->rx_cnt = 0U; in unicast_stream_started_cb() 90 test_stream->valid_rx_cnt = 0U; in unicast_stream_started_cb() 91 test_stream->seq_num = 0U; in unicast_stream_started_cb() 92 test_stream->tx_cnt = 0U; in unicast_stream_started_cb()
|
| A 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() 102 test_stream->valid_rx_cnt = 0U; in started_cb()
|
| A D | cap_acceptor_test.c | 278 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in started_cb() local 280 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in started_cb() 281 test_stream->rx_cnt = 0U; in started_cb() 282 test_stream->valid_rx_cnt = 0U; in started_cb() 283 test_stream->seq_num = 0U; in started_cb() 284 test_stream->tx_cnt = 0U; in started_cb() 331 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in unicast_stream_started() 332 test_stream->rx_cnt = 0U; in unicast_stream_started() 333 test_stream->valid_rx_cnt = 0U; in unicast_stream_started() 334 test_stream->seq_num = 0U; in unicast_stream_started() [all …]
|
| A D | cap_handover_peripheral_test.c | 234 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 236 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in stream_started_cb() 237 test_stream->rx_cnt = 0U; in stream_started_cb() 238 test_stream->valid_rx_cnt = 0U; in stream_started_cb() 239 test_stream->seq_num = 0U; in stream_started_cb() 240 test_stream->tx_cnt = 0U; in stream_started_cb()
|
| A D | pbp_public_broadcast_source_test.c | 67 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in started_cb() local 70 test_stream->seq_num = 0U; in started_cb() 71 test_stream->tx_cnt = 0U; in started_cb()
|
| A D | cap_handover_central_test.c | 292 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 294 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in stream_started_cb() 295 test_stream->rx_cnt = 0U; in stream_started_cb() 296 test_stream->valid_rx_cnt = 0U; in stream_started_cb() 297 test_stream->seq_num = 0U; in stream_started_cb() 298 test_stream->tx_cnt = 0U; in stream_started_cb()
|
| A D | bap_broadcast_source_test.c | 179 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 183 test_stream->seq_num = 0U; in stream_started_cb() 184 test_stream->tx_cnt = 0U; in stream_started_cb() 316 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in setup_broadcast_source() local 318 test_stream->tx_sdu_size = preset_16_1_1.qos.sdu; in setup_broadcast_source() 424 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_broadcast_source_reconfig() local 426 test_stream->tx_sdu_size = preset_16_1_1.qos.sdu; in test_broadcast_source_reconfig()
|
| A D | cap_initiator_broadcast_test.c | 101 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in broadcast_stream_started_cb() local 104 test_stream->seq_num = 0U; in broadcast_stream_started_cb() 105 test_stream->tx_cnt = 0U; in broadcast_stream_started_cb() 404 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_broadcast_audio_create() local 406 test_stream->tx_sdu_size = create_param.qos->sdu; in test_broadcast_audio_create() 825 struct audio_test_stream *test_stream = &broadcast_source_streams[i]; in test_cap_initiator_ac() local 827 test_stream->tx_sdu_size = create_param.qos->sdu; in test_cap_initiator_ac()
|
| A D | bap_unicast_server_test.c | 140 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in lc3_qos() local 146 test_stream->tx_sdu_size = qos->sdu; in lc3_qos() 329 struct audio_test_stream *test_stream = in transceive_test_streams() local 333 while (test_stream->tx_cnt < MIN_SEND_COUNT) { in transceive_test_streams()
|
| A D | gmap_ugg_test.c | 183 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 185 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in stream_started_cb() 186 test_stream->rx_cnt = 0U; in stream_started_cb() 187 test_stream->valid_rx_cnt = 0U; in stream_started_cb() 188 test_stream->seq_num = 0U; in stream_started_cb() 189 test_stream->tx_cnt = 0U; in stream_started_cb() 1199 struct audio_test_stream *test_stream = &broadcast_streams[i]; in test_gmap_ugg_broadcast_ac() local 1201 test_stream->tx_sdu_size = create_param.qos->sdu; in test_gmap_ugg_broadcast_ac()
|
| A D | bap_broadcast_sink_test.c | 566 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_started_cb() local 570 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in stream_started_cb() 571 test_stream->rx_cnt = 0U; in stream_started_cb() 572 test_stream->valid_rx_cnt = 0U; in stream_started_cb()
|
| A D | cap_initiator_unicast_test.c | 169 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in unicast_stream_started() local 171 memset(&test_stream->last_info, 0, sizeof(test_stream->last_info)); in unicast_stream_started() 172 test_stream->rx_cnt = 0U; in unicast_stream_started() 173 test_stream->valid_rx_cnt = 0U; in unicast_stream_started() 174 test_stream->seq_num = 0U; in unicast_stream_started() 175 test_stream->tx_cnt = 0U; in unicast_stream_started()
|
| A D | bap_unicast_client_test.c | 83 struct audio_test_stream *test_stream = audio_test_stream_from_bap_stream(stream); in stream_qos_set() local 87 test_stream->tx_sdu_size = stream->qos->sdu; in stream_qos_set() 825 struct audio_test_stream *test_stream = in transceive_streams() local 829 while (test_stream->tx_cnt < MIN_SEND_COUNT) { in transceive_streams()
|
| /tests/bluetooth/audio/ascs/src/ |
| A D | test_ase_control_params.c | 374 static struct bt_bap_stream test_stream; variable 385 *stream = &test_stream; in unicast_server_cb_config_custom_fake()
|