/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/ |
D | bap_broadcast_assistant.c | 29 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/ |
D | bap_scan_delegator.c | 138 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 …]
|
D | bap_internal.h | 65 uint8_t num_subgroups; member 74 uint8_t num_subgroups; member
|
D | bap_broadcast_assistant.c | 258 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 …]
|
D | cap_commander.c | 114 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 …]
|
D | cap_internal.h | 104 uint8_t num_subgroups; member 110 uint8_t num_subgroups; member
|
D | bap_broadcast_sink.c | 115 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/ |
D | test_broadcast_reception.c | 144 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/ |
D | btp_bap.h | 146 uint8_t num_subgroups; member 162 uint8_t num_subgroups; member 264 uint8_t num_subgroups; member
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | cap_commander_test.c | 475 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()
|
D | bap_broadcast_assistant_test.c | 150 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()
|
D | bap_scan_delegator_test.c | 500 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()
|
D | cap_acceptor_test.c | 384 for (int i = 0; i < recv_state->num_subgroups; i++) { in bis_sync_req_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_broadcast_assistant.c | 153 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 = ¶m->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()
|
D | bap_scan_delegator.c | 683 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()
|
D | cap_commander.c | 660 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/ |
D | bap.h | 584 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
|
D | cap.h | 951 size_t num_subgroups; member 986 size_t num_subgroups; member
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 871 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/ |
D | main.c | 902 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/ |
D | main.c | 228 param->num_subgroups++; in add_pa_sync_base_subgroup_cb()
|