Lines Matching refs:num_bis
2745 static int big_init_bis(struct bt_iso_big *big, struct bt_iso_chan **bis_channels, uint8_t num_bis, in big_init_bis() argument
2748 for (uint8_t i = 0; i < num_bis; i++) { in big_init_bis()
2818 req->num_bis = big->num_bis; in hci_le_create_big()
2835 big->handle, padv->handle, big->num_bis, param->interval, qos->sdu, param->latency, in hci_le_create_big()
2878 req->num_bis = big->num_bis; in hci_le_create_big_test()
2900 req->big_handle, req->adv_handle, req->num_bis, param->interval, in hci_le_create_big_test()
2924 for (uint8_t i = 0U; i < param->num_bis; i++) { in is_advanced_big_param()
2951 CHECKIF(!param->num_bis) { in valid_big_param()
2952 LOG_DBG("Invalid number of BIS %u", param->num_bis); in valid_big_param()
2957 for (uint8_t i = 0; i < param->num_bis; i++) { in valid_big_param()
3000 CHECKIF(param->num_bis > BT_ISO_MAX_GROUP_ISO_COUNT || in valid_big_param()
3001 param->num_bis > CONFIG_BT_ISO_MAX_CHAN) { in valid_big_param()
3002 LOG_DBG("num_bis (%u) shall be lower than: %u", param->num_bis, in valid_big_param()
3089 err = big_init_bis(big, param->bis_channels, param->num_bis, true); in bt_iso_big_create()
3095 big->num_bis = param->num_bis; in bt_iso_big_create()
3162 if (evt->status || evt->num_bis != big->num_bis) { in hci_le_big_complete()
3163 if (evt->status == BT_HCI_ERR_SUCCESS && evt->num_bis != big->num_bis) { in hci_le_big_complete()
3164 LOG_ERR("Invalid number of BIS created, was %u expected %u", evt->num_bis, in hci_le_big_complete()
3165 big->num_bis); in hci_le_big_complete()
3269 if (!atomic_test_bit(big->flags, BT_BIG_INITIALIZED) || !big->num_bis) { in bt_iso_big_terminate()
3352 if (evt->status || evt->num_bis != big->num_bis) { in hci_le_big_sync_established()
3353 if (evt->status == BT_HCI_ERR_SUCCESS && evt->num_bis != big->num_bis) { in hci_le_big_sync_established()
3354 LOG_ERR("Invalid number of BIS synced, was %u expected %u", evt->num_bis, in hci_le_big_sync_established()
3355 big->num_bis); in hci_le_big_sync_established()
3410 buf = bt_hci_cmd_create(BT_HCI_OP_LE_BIG_CREATE_SYNC, sizeof(*req) + big->num_bis); in hci_le_big_create_sync()
3415 req = net_buf_add(buf, sizeof(*req) + big->num_bis); in hci_le_big_create_sync()
3426 req->num_bis = big->num_bis; in hci_le_big_create_sync()
3430 if (bit_idx == big->num_bis) { in hci_le_big_create_sync()
3438 if (bit_idx != big->num_bis) { in hci_le_big_create_sync()
3440 big->num_bis); in hci_le_big_create_sync()
3498 CHECKIF(!param->num_bis) { in bt_iso_big_sync()
3499 LOG_DBG("Invalid number of BIS %u", param->num_bis); in bt_iso_big_sync()
3503 for (uint8_t i = 0; i < param->num_bis; i++) { in bt_iso_big_sync()
3533 err = big_init_bis(big, param->bis_channels, param->num_bis, false); in bt_iso_big_sync()
3539 big->num_bis = param->num_bis; in bt_iso_big_sync()