pre-integration fix: minor improvement

we can compute CCE_max_used_index out of the loop.
This commit is contained in:
Cedric Roux
2017-05-19 16:29:07 +02:00
parent 685464c204
commit 9cf288f6f3
+1 -3
View File
@@ -2003,10 +2003,8 @@ uint8_t get_num_pdcch_symbols(uint8_t num_dci,
firstCCE_max = dci_alloc[i].firstCCE; firstCCE_max = dci_alloc[i].firstCCE;
L = dci_alloc[i].L; L = dci_alloc[i].L;
} }
if(i == (num_dci - 1)) { }
CCE_max_used_index = firstCCE_max + (1<<L) - 1; CCE_max_used_index = firstCCE_max + (1<<L) - 1;
}
}
//if ((9*numCCE) <= (frame_parms->N_RB_DL*2)) //if ((9*numCCE) <= (frame_parms->N_RB_DL*2))
if (CCE_max_used_index < get_nCCE(1, frame_parms, get_mi(frame_parms, subframe))) if (CCE_max_used_index < get_nCCE(1, frame_parms, get_mi(frame_parms, subframe)))