Home
last modified time | relevance | path

Searched refs:stop_param (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_broadcast_reception.c40 struct bt_cap_commander_broadcast_reception_stop_param stop_param; member
157 fixture->stop_param.type = BT_CAP_SET_TYPE_AD_HOC; in test_stop_param_init()
158 fixture->stop_param.param = fixture->stop_member_params; in test_stop_param_init()
159 fixture->stop_param.count = ARRAY_SIZE(fixture->stop_member_params); in test_stop_param_init()
184 test_broadcast_reception_stop(struct bt_cap_commander_broadcast_reception_stop_param *stop_param) in test_broadcast_reception_stop() argument
188 err = bt_cap_commander_broadcast_reception_stop(stop_param); in test_broadcast_reception_stop()
458 fixture->stop_param.param[i].src_id = src_id[i]; in ZTEST_F()
461 test_broadcast_reception_stop(&fixture->stop_param); in ZTEST_F()
475 fixture->stop_param.param[i].num_subgroups = 1; in ZTEST_F()
476 fixture->stop_param.param[i].src_id = src_id[i]; in ZTEST_F()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dcap_commander.c407 struct cap_broadcast_reception_stop *stop_param) in copy_broadcast_reception_stop_param() argument
409 mod_src_param->src_id = stop_param->src_id; in copy_broadcast_reception_stop_param()
412 mod_src_param->num_subgroups = stop_param->num_subgroups; in copy_broadcast_reception_stop_param()
414 mod_src_param->subgroups = stop_param->subgroups; in copy_broadcast_reception_stop_param()
556 const struct bt_cap_commander_broadcast_reception_stop_member_param *stop_param = in valid_broadcast_reception_stop_param() local
572 CHECKIF(stop_param->num_subgroups == 0) { in valid_broadcast_reception_stop_param()
577 CHECKIF(stop_param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_broadcast_reception_stop_param()
578 LOG_DBG("Too many subgroups %u/%u", stop_param->num_subgroups, in valid_broadcast_reception_stop_param()
587 if (other == member && stop_param->src_id == other_src_id) { in valid_broadcast_reception_stop_param()
590 j, other_src_id, other, i, stop_param->src_id, member); in valid_broadcast_reception_stop_param()