Home
last modified time | relevance | path

Searched refs:num_subgroups (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Dbap_broadcast_assistant.c29 uint8_t num_subgroups; member
99 inst->num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_add_src()
102 state.num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_add_src()
103 for (size_t i = 0; i < param->num_subgroups; i++) { in bt_bap_broadcast_assistant_add_src()
140 state.num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_mod_src()
141 inst->num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_mod_src()
142 for (size_t i = 0; i < param->num_subgroups; i++) { in bt_bap_broadcast_assistant_mod_src()
168 for (int i = 0; i < inst->num_subgroups; i++) { in bt_bap_broadcast_assistant_rem_src()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_scan_delegator.c138 state->num_subgroups); in bt_debug_dump_recv_state()
140 for (uint8_t i = 0U; i < state->num_subgroups; i++) { in bt_debug_dump_recv_state()
209 (void)net_buf_simple_add_u8(&read_buf, state->num_subgroups); in net_buf_put_recv_state()
210 for (int i = 0; i < state->num_subgroups; i++) { in net_buf_put_recv_state()
549 state->num_subgroups = net_buf_simple_pull_u8(buf); in scan_delegator_add_source()
550 if (state->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in scan_delegator_add_source()
551 LOG_WRN("Too many subgroups %u/%u", state->num_subgroups, in scan_delegator_add_source()
557 for (int i = 0; i < state->num_subgroups; i++) { in scan_delegator_add_source()
673 uint8_t num_subgroups; in scan_delegator_mod_src() local
707 num_subgroups = net_buf_simple_pull_u8(buf); in scan_delegator_mod_src()
[all …]
Dbap_internal.h65 uint8_t num_subgroups; member
74 uint8_t num_subgroups; member
Dbap_broadcast_assistant.c258 sizeof(recv_state->num_subgroups); in parse_recv_state()
271 recv_state->num_subgroups = net_buf_simple_pull_u8(&buf); in parse_recv_state()
272 if (recv_state->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in parse_recv_state()
273 LOG_DBG("Cannot parse %u subgroups (max %d)", recv_state->num_subgroups, in parse_recv_state()
279 for (int i = 0; i < recv_state->num_subgroups; i++) { in parse_recv_state()
1256 uint8_t num_subgroups) in valid_subgroup_params() argument
1260 for (uint8_t i = 0U; i < num_subgroups; i++) { in valid_subgroup_params()
1325 CHECKIF(param->num_subgroups != 0 && param->subgroups == NULL) { in valid_add_src_param()
1326 LOG_DBG("Subgroups are NULL when num_subgroups = %u", param->num_subgroups); in valid_add_src_param()
1330 CHECKIF(param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_add_src_param()
[all …]
Dcap_commander.c114 add_src_param->num_subgroups = start_param->num_subgroups; in copy_broadcast_reception_start_param()
254 CHECKIF(start_param->num_subgroups == 0) { in valid_broadcast_reception_start_param()
259 CHECKIF(start_param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_broadcast_reception_start_param()
260 LOG_DBG("Too many subgroups %u/%u", start_param->num_subgroups, in valid_broadcast_reception_start_param()
272 for (size_t j = 0U; j < start_param->num_subgroups; j++) { in valid_broadcast_reception_start_param()
381 stored_param->broadcast_reception_start.num_subgroups = member_param->num_subgroups; in bt_cap_commander_broadcast_reception_start()
383 sizeof(struct bt_bap_bass_subgroup) * member_param->num_subgroups); in bt_cap_commander_broadcast_reception_start()
412 mod_src_param->num_subgroups = stop_param->num_subgroups; in copy_broadcast_reception_stop_param()
433 for (uint8_t i = 0; i < state->num_subgroups; i++) { in cap_commander_broadcast_assistant_recv_state_cb()
572 CHECKIF(stop_param->num_subgroups == 0) { in valid_broadcast_reception_stop_param()
[all …]
Dcap_internal.h104 uint8_t num_subgroups; member
110 uint8_t num_subgroups; member
Dbap_broadcast_sink.c115 mod_src_param.num_subgroups = sink->subgroup_count; in update_recv_state_big_synced()
169 for (uint8_t i = 0U; i < recv_state->num_subgroups; i++) { in update_recv_state_big_cleared()
177 mod_src_param.num_subgroups = recv_state->num_subgroups; in update_recv_state_big_cleared()
472 add_src_param.num_subgroups = 0U; in broadcast_sink_add_src()
497 subgroup_param = &mod_src_param->subgroups[mod_src_param->num_subgroups++]; in base_subgroup_meta_cb()
542 mod_src_param.num_subgroups = sink->subgroup_count; in update_recv_state_base()
902 mod_src_param.num_subgroups = recv_state->num_subgroups; in update_recv_state_encryption()
905 sizeof(recv_state->num_subgroups)); in update_recv_state_encryption()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_broadcast_reception.c144 fixture->start_member_params[i].num_subgroups = CONFIG_BT_BAP_BASS_MAX_SUBGROUPS; in test_start_param_init()
164 fixture->stop_member_params[i].num_subgroups = CONFIG_BT_BAP_BASS_MAX_SUBGROUPS; in test_stop_param_init()
223 fixture->start_param.param[i].num_subgroups = 1; in ZTEST_F()
393 fixture->start_param.param[0].num_subgroups = 0; in ZTEST_F()
406 fixture->start_param.param[0].num_subgroups = CONFIG_BT_BAP_BASS_MAX_SUBGROUPS + 1; in ZTEST_F()
475 fixture->stop_param.param[i].num_subgroups = 1; in ZTEST_F()
594 fixture->stop_param.param[0].num_subgroups = 0; in ZTEST_F()
607 fixture->stop_param.param[0].num_subgroups = CONFIG_BT_BAP_BASS_MAX_SUBGROUPS + 1; in ZTEST_F()
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_bap.h146 uint8_t num_subgroups; member
162 uint8_t num_subgroups; member
264 uint8_t num_subgroups; member
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_commander_test.c475 for (uint8_t i = 0; i < state->num_subgroups; i++) { in bap_broadcast_assistant_recv_state_cb()
1000 size_t num_subgroups; in test_broadcast_reception_start() local
1007 num_subgroups = in test_broadcast_reception_start()
1016 reception_start_param.param[i].num_subgroups = num_subgroups; in test_broadcast_reception_start()
1017 for (size_t j = 0; j < num_subgroups; j++) { in test_broadcast_reception_start()
1043 uint8_t num_subgroups; in test_broadcast_reception_stop() local
1048 num_subgroups = in test_broadcast_reception_stop()
1050 reception_stop_param.param[i].num_subgroups = num_subgroups; in test_broadcast_reception_stop()
Dbap_broadcast_assistant_test.c150 for (uint8_t i = 0; i < state->num_subgroups; i++) { in bap_broadcast_assistant_recv_state_cb()
161 for (uint8_t i = 0; i < state->num_subgroups; i++) { in bap_broadcast_assistant_recv_state_cb()
441 add_src_param.num_subgroups = 1; in test_bass_add_source()
469 mod_src_param.num_subgroups = 1; in test_bass_mod_source()
499 mod_src_param.num_subgroups = 1; in test_bass_mod_source_long_meta()
Dbap_scan_delegator_test.c500 param.num_subgroups = 1U; in add_source()
502 for (uint8_t i = 0U; i < param.num_subgroups; i++) { in add_source()
559 param.num_subgroups = 1U; in mod_source()
561 for (uint8_t i = 0U; i < param.num_subgroups; i++) { in mod_source()
Dcap_acceptor_test.c384 for (int i = 0; i < recv_state->num_subgroups; i++) { in bis_sync_req_cb()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c153 for (int i = 0; i < state->num_subgroups; i++) { in bap_broadcast_assistant_recv_state_cb()
467 param.num_subgroups = 1; in cmd_bap_broadcast_assistant_add_src()
573 param.num_subgroups = 1; in scan_recv_cb()
864 param.num_subgroups = 1; in cmd_bap_broadcast_assistant_mod_src()
893 if (param->num_subgroups == CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in add_pa_sync_base_subgroup_cb()
905 subgroup_param = &param->subgroups[param->num_subgroups]; in add_pa_sync_base_subgroup_cb()
920 param->num_subgroups++; in add_pa_sync_base_subgroup_cb()
1011 for (size_t j = 0U; j < param.num_subgroups; j++) { in cmd_bap_broadcast_assistant_add_pa_sync()
Dbap_scan_delegator.c683 param.num_subgroups = 1U; in cmd_bap_scan_delegator_add_src()
788 param.num_subgroups = 1U; in cmd_bap_scan_delegator_add_src_by_pa_sync()
892 param.num_subgroups = 1U; in cmd_bap_scan_delegator_mod_src()
Dcap_commander.c660 member_param->num_subgroups = 1; in cmd_cap_commander_broadcast_reception_start()
748 member_params[i].num_subgroups = 1; in cmd_cap_commander_broadcast_reception_stop()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h584 uint8_t num_subgroups; member
2468 uint8_t num_subgroups; member
2501 uint8_t num_subgroups; member
2792 uint8_t num_subgroups; member
2834 uint8_t num_subgroups; member
Dcap.h951 size_t num_subgroups; member
986 size_t num_subgroups; member
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c871 ev->num_subgroups = state->num_subgroups; in btp_send_broadcast_receive_state_ev()
874 for (uint8_t i = 0; i < ev->num_subgroups; i++) { in btp_send_broadcast_receive_state_ev()
1432 param.num_subgroups = MIN(cp->num_subgroups, CONFIG_BT_BAP_BASS_MAX_SUBGROUPS); in btp_bap_broadcast_assistant_add_src()
1436 for (uint8_t i = 0; i < param.num_subgroups; i++) { in btp_bap_broadcast_assistant_add_src()
1503 param.num_subgroups = MIN(cp->num_subgroups, CONFIG_BT_BAP_BASS_MAX_SUBGROUPS); in btp_bap_broadcast_assistant_modify_src()
1507 for (uint8_t i = 0; i < param.num_subgroups; i++) { in btp_bap_broadcast_assistant_modify_src()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c902 for (uint8_t i = 0; i < recv_state->num_subgroups; i++) { in recv_state_updated_cb()
959 for (uint8_t i = 0; i < recv_state->num_subgroups; i++) { in pa_sync_term_req_cb()
998 for (uint8_t subgroup = 0; subgroup < recv_state->num_subgroups; subgroup++) { in bis_sync_req_cb()
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/
Dmain.c228 param->num_subgroups++; in add_pa_sync_base_subgroup_cb()