Lines Matching refs:start_param
107 struct cap_broadcast_reception_start *start_param) in copy_broadcast_reception_start_param() argument
109 bt_addr_le_copy(&add_src_param->addr, &start_param->addr); in copy_broadcast_reception_start_param()
110 add_src_param->adv_sid = start_param->adv_sid; in copy_broadcast_reception_start_param()
111 add_src_param->broadcast_id = start_param->broadcast_id; in copy_broadcast_reception_start_param()
113 add_src_param->pa_interval = start_param->pa_interval; in copy_broadcast_reception_start_param()
114 add_src_param->num_subgroups = start_param->num_subgroups; in copy_broadcast_reception_start_param()
115 add_src_param->subgroups = start_param->subgroups; in copy_broadcast_reception_start_param()
216 const struct bt_cap_commander_broadcast_reception_start_member_param *start_param = in valid_broadcast_reception_start_param() local
232 CHECKIF(start_param->addr.type > BT_ADDR_LE_RANDOM) { in valid_broadcast_reception_start_param()
233 LOG_DBG("Invalid address type %u", start_param->addr.type); in valid_broadcast_reception_start_param()
237 CHECKIF(start_param->adv_sid > BT_GAP_SID_MAX) { in valid_broadcast_reception_start_param()
242 CHECKIF(!IN_RANGE(start_param->pa_interval, BT_GAP_PER_ADV_MIN_INTERVAL, in valid_broadcast_reception_start_param()
248 CHECKIF(start_param->broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in valid_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()
266 CHECKIF(start_param->subgroups == NULL) { in valid_broadcast_reception_start_param()
272 for (size_t j = 0U; j < start_param->num_subgroups; j++) { in valid_broadcast_reception_start_param()
274 &start_param->subgroups[j]; in valid_broadcast_reception_start_param()