@@ -516,46 +516,46 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
elseif(pusch_pdu->dmrs_config_type==pusch_dmrs_type1){// this is case without frequency-domain linear interpolation, just take average of LS channel estimates of 6 DMRS REs and use a common value for the whole PRB
else{// this is case without frequency-domain linear interpolation, just take average of LS channel estimates of 4 DMRS REs and use a common value for the whole PRB
@@ -1101,12 +1099,12 @@ int nr_pdsch_channel_estimation(PHY_VARS_NR_UE *ue,
dl_ch,
8);
dl_ch+=12;
dl_ch+=12;
dl_ch[0+2*nushift]=ch[0];
dl_ch[1+2*nushift]=ch[1];
dl_ch[2+2*nushift]=ch[0];
dl_ch[3+2*nushift]=ch[1];
dl_ch+=4;
dl_ch+=4;
}
// Treat last 2 pilots specially (right edge)
...
...
@@ -1187,48 +1185,48 @@ int nr_pdsch_channel_estimation(PHY_VARS_NR_UE *ue,
}
}
}
elseif(config_type==pdsch_dmrs_type1){// this is case without frequency-domain linear interpolation, just take average of LS channel estimates of 6 DMRS REs and use a common value for the whole PRB
elseif(config_type==pdsch_dmrs_type1){// this is case without frequency-domain linear interpolation, just take average of LS channel estimates of 6 DMRS REs and use a common value for the whole PRB
else{// this is case without frequency-domain linear interpolation, just take average of LS channel estimates of 4 DMRS REs and use a common value for the whole PRB