Commit b654e282 authored by rmagueta's avatar rmagueta

Minor code clean up

parent 1717c1c6
......@@ -182,19 +182,6 @@ void nr_generate_dci(PHY_VARS_gNB *gNB,
}
}
printf("\n");
for(int qq = 0; qq<pdcch_pdu_rel15->dci_pdu.AggregationLevel[d]; qq++ ) {
printf("gNB->cce_list[d][p2].reg_list[0].reg_idx = %i\n", gNB->cce_list[d][qq].reg_list[0].reg_idx);
}
printf("\n");
for(int qq = 0; qq<pdcch_pdu_rel15->dci_pdu.AggregationLevel[d]; qq++ ) {
printf("reg_list_order[qq] = %i\n", reg_list_order[qq]);
}
printf("\n");
getchar();
/*Mapping the encoded DCI along with the DMRS */
for (int cce_count = 0; cce_count < pdcch_pdu_rel15->dci_pdu.AggregationLevel[d]; cce_count ++) {
......
......@@ -158,7 +158,6 @@ void nr_pdcch_demapping_deinterleaving(uint32_t *llr,
if ((reg % reg_bundle_size_L) == 0) r++;
}
// Get cce_list indices by reg_idx in ascending order
int f_bundle_j_list_id = 0;
int f_bundle_j_list_ord[NR_MAX_PDCCH_AGG_LEVEL] = {};
......@@ -175,7 +174,6 @@ void nr_pdcch_demapping_deinterleaving(uint32_t *llr,
}
}
for(int reg=0; reg<((coreset_nbr_rb*coreset_time_dur)); reg++) {
f_reg = (f_bundle_j_list_ord[reg/6]*reg_bundle_size_L)+(reg%reg_bundle_size_L);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment