|
|
@ -137,6 +137,7 @@ int main(int argc, char **argv) {
|
|
|
|
dci.mcs_idx = mcs;
|
|
|
|
dci.mcs_idx = mcs;
|
|
|
|
dci.rv_idx = rv_idx;
|
|
|
|
dci.rv_idx = rv_idx;
|
|
|
|
dci.type0_alloc.rbg_bitmask = 0xffffffff;
|
|
|
|
dci.type0_alloc.rbg_bitmask = 0xffffffff;
|
|
|
|
|
|
|
|
dci.tb_en[0] = true;
|
|
|
|
if (srslte_ra_dl_dci_to_grant(&dci, cell.nof_prb, rnti, &grant)) {
|
|
|
|
if (srslte_ra_dl_dci_to_grant(&dci, cell.nof_prb, rnti, &grant)) {
|
|
|
|
fprintf(stderr, "Error computing resource allocation\n");
|
|
|
|
fprintf(stderr, "Error computing resource allocation\n");
|
|
|
|
return ret;
|
|
|
|
return ret;
|
|
|
|