Lines Matching refs:num_subgroups
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()
1331 LOG_DBG("Too many subgroups %u/%u", param->num_subgroups, in valid_add_src_param()
1339 param->num_subgroups)) { in valid_add_src_param()
1407 cp->num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_add_src()
1408 for (int i = 0; i < param->num_subgroups; i++) { in bt_bap_broadcast_assistant_add_src()
1458 CHECKIF(param->num_subgroups != 0 && param->subgroups == NULL) { in valid_add_mod_param()
1459 LOG_DBG("Subgroups are NULL when num_subgroups = %u", param->num_subgroups); in valid_add_mod_param()
1463 CHECKIF(param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_add_mod_param()
1464 LOG_DBG("Too many subgroups %u/%u", param->num_subgroups, in valid_add_mod_param()
1472 param->num_subgroups)) { in valid_add_mod_param()
1550 cp->num_subgroups = param->num_subgroups; in bt_bap_broadcast_assistant_mod_src()
1551 for (int i = 0; i < param->num_subgroups; i++) { in bt_bap_broadcast_assistant_mod_src()