feature-59-tm4: fixing dci_tools.c tmpi0 all channels all mod orders works
This commit is contained in:
@@ -4765,6 +4765,13 @@ int generate_ue_dlsch_params_from_dci(int frame,
|
||||
dlsch0_harq->rvidx = rv1;
|
||||
dlsch1_harq->rvidx = rv2;
|
||||
|
||||
// assume both TBs are active
|
||||
dlsch0_harq->Nl = 1;
|
||||
dlsch1_harq->Nl = 1;
|
||||
dlsch0->active = 1;
|
||||
dlsch1->active = 1;
|
||||
|
||||
|
||||
// check if either TB is disabled (see 36-213 V8.6 p. 26)
|
||||
|
||||
if ((dlsch0_harq->rvidx == 1) && (dlsch0_harq->mcs == 0)) {
|
||||
|
||||
@@ -410,7 +410,7 @@ int main(int argc, char **argv)
|
||||
|
||||
case 'M':
|
||||
mcs2 = atoi(optarg);
|
||||
i_mod = get_Qm(mcs2); /// think here again!!!
|
||||
//i_mod = get_Qm(mcs2); /// think here again!!!
|
||||
break;
|
||||
|
||||
case 't':
|
||||
@@ -2747,9 +2747,9 @@ n(tikz_fname,"w");
|
||||
k,cw,rate,rate*get_Qm(PHY_vars_eNB->dlsch_eNB[k][cw]->harq_processes[0]->mcs),
|
||||
coded_bits_per_codeword,
|
||||
tbs,
|
||||
get_Qm(PHY_vars_eNB->dlsch_eNB[k][cw]->harq_processes[0]->mcs), //changed dlsch_eNB[k][0]
|
||||
get_Qm(PHY_vars_eNB->dlsch_eNB[k][cw]->harq_processes[0]->mcs),
|
||||
num_pdcch_symbols,
|
||||
PHY_vars_eNB->dlsch_eNB[k][cw]->harq_processes[0]->round);//changed dlsch_eNB[k][0]
|
||||
PHY_vars_eNB->dlsch_eNB[k][cw]->harq_processes[0]->round);
|
||||
|
||||
// use the PMI from previous trial
|
||||
if (DLSCH_alloc_pdu2_1E[0].tpmi == 5) {
|
||||
@@ -3521,7 +3521,7 @@ n(tikz_fname,"w");
|
||||
num_pdcch_symbols,
|
||||
0,subframe);
|
||||
PHY_vars_UE->dlsch_ue[0][cw]->harq_processes[PHY_vars_UE->dlsch_ue[0][cw]->current_harq_pid]->G = coded_bits_per_codeword;
|
||||
|
||||
PHY_vars_UE->dlsch_ue[0][cw]->harq_processes[PHY_vars_UE->dlsch_ue[0][cw]->current_harq_pid]->Qm = get_Qm(PHY_vars_eNB->dlsch_eNB[0][cw]->harq_processes[0]->mcs);
|
||||
if (n_frames==1) {
|
||||
printf("Kmimo=%d, cw=%d, G=%d, TBS=%d\n",Kmimo,cw,coded_bits_per_codeword,
|
||||
PHY_vars_UE->dlsch_ue[0][cw]->harq_processes[PHY_vars_UE->dlsch_ue[0][cw]->current_harq_pid]->TBS);
|
||||
|
||||
Reference in New Issue
Block a user