/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_scan_delegator.c | 584 struct bt_bap_bass_subgroup *subgroup_param; in cmd_bap_scan_delegator_add_src() local 640 subgroup_param = ¶m.subgroups[0]; in cmd_bap_scan_delegator_add_src() 657 subgroup_param->bis_sync = 0U; in cmd_bap_scan_delegator_add_src() 661 subgroup_param->metadata_len = in cmd_bap_scan_delegator_add_src() 662 hex2bin(argv[4], strlen(argv[7]), subgroup_param->metadata, in cmd_bap_scan_delegator_add_src() 663 sizeof(subgroup_param->metadata)); in cmd_bap_scan_delegator_add_src() 665 if (subgroup_param->metadata_len == 0U) { in cmd_bap_scan_delegator_add_src() 671 subgroup_param->metadata_len = 0U; in cmd_bap_scan_delegator_add_src() 702 struct bt_bap_bass_subgroup *subgroup_param; in cmd_bap_scan_delegator_add_src_by_pa_sync() local 745 subgroup_param = ¶m.subgroups[0]; in cmd_bap_scan_delegator_add_src_by_pa_sync() [all …]
|
D | bap_broadcast_assistant.c | 878 struct bt_bap_bass_subgroup *subgroup_param = user_data; in add_pa_sync_base_subgroup_bis_cb() local 880 subgroup_param->bis_sync |= BT_ISO_BIS_INDEX_BIT(bis->index); in add_pa_sync_base_subgroup_bis_cb() 889 struct bt_bap_bass_subgroup *subgroup_param; in add_pa_sync_base_subgroup_cb() local 905 subgroup_param = ¶m->subgroups[param->num_subgroups]; in add_pa_sync_base_subgroup_cb() 907 if (ret > ARRAY_SIZE(subgroup_param->metadata)) { in add_pa_sync_base_subgroup_cb() 909 ARRAY_SIZE(subgroup_param->metadata)); in add_pa_sync_base_subgroup_cb() 914 subgroup_param); in add_pa_sync_base_subgroup_cb()
|
D | cap_initiator.c | 1244 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param = {0}; in cap_ac_broadcast() local 1278 subgroup_param.stream_count = param->stream_cnt; in cap_ac_broadcast() 1279 subgroup_param.stream_params = stream_params; in cap_ac_broadcast() 1280 subgroup_param.codec_cfg = &default_source.codec_cfg; in cap_ac_broadcast() 1282 create_param.subgroup_params = &subgroup_param; in cap_ac_broadcast()
|
D | bap.c | 3276 struct bt_bap_broadcast_source_subgroup_param subgroup_param; in cmd_create_broadcast() local 3344 subgroup_param.params_count = ARRAY_SIZE(stream_params); in cmd_create_broadcast() 3345 subgroup_param.params = stream_params; in cmd_create_broadcast() 3346 subgroup_param.codec_cfg = &default_source.codec_cfg; in cmd_create_broadcast() 3348 create_param.params = &subgroup_param; in cmd_create_broadcast()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 525 const struct bt_bap_broadcast_source_subgroup_param *subgroup_param; in valid_broadcast_source_param() local 527 subgroup_param = ¶m->params[i]; in valid_broadcast_source_param() 529 CHECKIF(subgroup_param->params == NULL) { in valid_broadcast_source_param() 534 CHECKIF(!IN_RANGE(subgroup_param->params_count, 1U, in valid_broadcast_source_param() 537 subgroup_param->params_count); in valid_broadcast_source_param() 541 CHECKIF(!bt_audio_valid_codec_cfg(subgroup_param->codec_cfg)) { in valid_broadcast_source_param() 546 for (size_t j = 0U; j < subgroup_param->params_count; j++) { in valid_broadcast_source_param() 549 stream_param = &subgroup_param->params[j]; in valid_broadcast_source_param() 582 subgroup_param->codec_cfg->id == BT_HCI_CODING_FORMAT_LC3 && in valid_broadcast_source_param() 726 const struct bt_bap_broadcast_source_subgroup_param *subgroup_param; in bt_bap_broadcast_source_create() local [all …]
|
D | bap_broadcast_sink.c | 117 struct bt_bap_bass_subgroup *subgroup_param = &mod_src_param.subgroups[i]; in update_recv_state_big_synced() local 121 subgroup_param->bis_sync = sink_subgroup->bis_indexes & sink->indexes_bitfield; in update_recv_state_big_synced() 488 struct bt_bap_bass_subgroup *subgroup_param; in base_subgroup_meta_cb() local 497 subgroup_param = &mod_src_param->subgroups[mod_src_param->num_subgroups++]; in base_subgroup_meta_cb() 498 subgroup_param->metadata_len = (uint8_t)ret; in base_subgroup_meta_cb() 499 memcpy(subgroup_param->metadata, meta, subgroup_param->metadata_len); in base_subgroup_meta_cb() 544 struct bt_bap_bass_subgroup *subgroup_param = &mod_src_param.subgroups[i]; in update_recv_state_base() local 547 subgroup_param->bis_sync = recv_state->subgroups[i].bis_sync; in update_recv_state_base()
|
D | cap_initiator.c | 146 const struct bt_cap_initiator_broadcast_subgroup_param *subgroup_param; in cap_initiator_broadcast_audio_start_valid_param() local 150 subgroup_param = ¶m->subgroup_params[i]; in cap_initiator_broadcast_audio_start_valid_param() 151 codec_cfg = subgroup_param->codec_cfg; in cap_initiator_broadcast_audio_start_valid_param()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | cap_initiator_broadcast_test.c | 331 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param; in test_broadcast_audio_create_inval() local 346 subgroup_param.stream_count = ARRAY_SIZE(broadcast_streams); in test_broadcast_audio_create_inval() 347 subgroup_param.stream_params = stream_params; in test_broadcast_audio_create_inval() 348 subgroup_param.codec_cfg = &broadcast_preset_16_2_1.codec_cfg; in test_broadcast_audio_create_inval() 351 create_param.subgroup_params = &subgroup_param; in test_broadcast_audio_create_inval() 372 subgroup_param.codec_cfg = &invalid_codec; in test_broadcast_audio_create_inval() 391 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param; in test_broadcast_audio_create() local 402 subgroup_param.stream_count = ARRAY_SIZE(broadcast_streams); in test_broadcast_audio_create() 403 subgroup_param.stream_params = stream_params; in test_broadcast_audio_create() 404 subgroup_param.codec_cfg = &broadcast_preset_16_2_1.codec_cfg; in test_broadcast_audio_create() [all …]
|
D | pbp_public_broadcast_source_test.c | 51 static struct bt_cap_initiator_broadcast_subgroup_param subgroup_param; variable 280 subgroup_param.stream_count = 1U; in test_main() 281 subgroup_param.stream_params = &stream_params; in test_main() 282 subgroup_param.codec_cfg = &broadcast_preset_48_2_1.codec_cfg; in test_main() 285 create_param.subgroup_params = &subgroup_param; in test_main()
|
D | bap_scan_delegator_test.c | 503 struct bt_bap_bass_subgroup *subgroup_param = ¶m.subgroups[i]; in add_source() local 505 subgroup_param->bis_sync = BT_BAP_BIS_SYNC_NO_PREF; in add_source() 506 subgroup_param->metadata_len = 0U; in add_source() 507 (void)memset(subgroup_param->metadata, 0, sizeof(subgroup_param->metadata)); in add_source() 562 struct bt_bap_bass_subgroup *subgroup_param = ¶m.subgroups[i]; in mod_source() local 564 subgroup_param->bis_sync = 0U; in mod_source() 565 subgroup_param->metadata_len = sizeof(pref_context_metadata); in mod_source() 566 (void)memcpy(subgroup_param->metadata, pref_context_metadata, in mod_source() 567 subgroup_param->metadata_len); in mod_source()
|
D | gmap_ugg_test.c | 1164 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param = {0}; in test_gmap_ugg_broadcast_ac() local 1193 subgroup_param.stream_count = param->stream_cnt; in test_gmap_ugg_broadcast_ac() 1194 subgroup_param.stream_params = stream_params; in test_gmap_ugg_broadcast_ac() 1195 subgroup_param.codec_cfg = &codec_cfg; in test_gmap_ugg_broadcast_ac() 1197 create_param.subgroup_params = &subgroup_param; in test_gmap_ugg_broadcast_ac()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 393 subgroup_param[CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT]; in setup_broadcast_source() local 395 const size_t streams_per_subgroup = ARRAY_SIZE(stream_params) / ARRAY_SIZE(subgroup_param); in setup_broadcast_source() 402 for (size_t i = 0U; i < ARRAY_SIZE(subgroup_param); i++) { in setup_broadcast_source() 403 subgroup_param[i].params_count = streams_per_subgroup; in setup_broadcast_source() 404 subgroup_param[i].params = stream_params + i * streams_per_subgroup; in setup_broadcast_source() 405 subgroup_param[i].codec_cfg = &preset_active.codec_cfg; in setup_broadcast_source() 415 create_param.params_count = ARRAY_SIZE(subgroup_param); in setup_broadcast_source() 416 create_param.params = subgroup_param; in setup_broadcast_source() 427 ARRAY_SIZE(subgroup_param), ARRAY_SIZE(subgroup_param) * streams_per_subgroup); in setup_broadcast_source()
|
/Zephyr-latest/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 52 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param; variable 289 subgroup_param.stream_count = 1U; in cap_initiator_setup() 290 subgroup_param.stream_params = &stream_params; in cap_initiator_setup() 291 subgroup_param.codec_cfg = &broadcast_preset_48_2_1.codec_cfg; in cap_initiator_setup() 294 create_param.subgroup_params = &subgroup_param; in cap_initiator_setup()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/ |
D | main.c | 68 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param; variable 348 subgroup_param.stream_count = 1U; in cap_initiator_setup() 349 subgroup_param.stream_params = &stream_params; in cap_initiator_setup() 350 subgroup_param.codec_cfg = &broadcast_preset_48_2_1.codec_cfg; in cap_initiator_setup() 353 create_param.subgroup_params = &subgroup_param; in cap_initiator_setup()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/ |
D | main.c | 194 struct bt_bap_bass_subgroup *subgroup_param = user_data; in add_pa_sync_base_subgroup_bis_cb() local 196 subgroup_param->bis_sync |= BT_ISO_BIS_INDEX_BIT(bis->index); in add_pa_sync_base_subgroup_bis_cb() 205 struct bt_bap_bass_subgroup *subgroup_param; in add_pa_sync_base_subgroup_cb() local 214 subgroup_param = param->subgroups; in add_pa_sync_base_subgroup_cb() 216 if (ret > ARRAY_SIZE(subgroup_param->metadata)) { in add_pa_sync_base_subgroup_cb() 218 ARRAY_SIZE(subgroup_param->metadata)); in add_pa_sync_base_subgroup_cb() 223 subgroup_param); in add_pa_sync_base_subgroup_cb()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_broadcast.c | 102 struct bt_cap_initiator_broadcast_subgroup_param subgroup_param = { in broadcast_create() local 109 .subgroup_params = &subgroup_param, in broadcast_create()
|
/Zephyr-latest/tests/bluetooth/audio/bap_broadcast_source/src/ |
D | main.c | 67 struct bt_bap_broadcast_source_subgroup_param *subgroup_param; in bap_broadcast_source_test_suite_fixture_init() local 83 subgroup_param = malloc(sizeof(struct bt_bap_broadcast_source_subgroup_param) * in bap_broadcast_source_test_suite_fixture_init() 85 zassert_not_null(subgroup_param); in bap_broadcast_source_test_suite_fixture_init() 100 memset(subgroup_param, 0, in bap_broadcast_source_test_suite_fixture_init() 118 subgroup_param[i].params_count = streams_per_subgroup; in bap_broadcast_source_test_suite_fixture_init() 119 subgroup_param[i].params = stream_params + i * streams_per_subgroup; in bap_broadcast_source_test_suite_fixture_init() 120 subgroup_param[i].codec_cfg = codec_cfg; in bap_broadcast_source_test_suite_fixture_init() 131 fixture->param->params = subgroup_param; in bap_broadcast_source_test_suite_fixture_init()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 248 subgroup_param[CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT]; in setup_broadcast_source() local 262 subgroup_param[i].params_count = streams_per_subgroup; in setup_broadcast_source() 263 subgroup_param[i].params = stream_params + i * streams_per_subgroup; in setup_broadcast_source() 264 subgroup_param[i].codec_cfg = &source->streams[0].codec_cfg; in setup_broadcast_source() 280 create_param.params = subgroup_param; in setup_broadcast_source()
|
D | btp_cap.c | 618 struct bt_cap_initiator_broadcast_subgroup_param *subgroup_param; in btp_cap_broadcast_source_setup() local 626 subgroup_param = &cap_subgroup_params[stream->subgroup_id]; in btp_cap_broadcast_source_setup() 627 bis_id = subgroup_param->stream_count++; in btp_cap_broadcast_source_setup()
|