Correction for first OFDM symbol estimation and compensation
- Direct multiply with the conjugate of the estimation for compensation
This commit is contained in:
@@ -605,12 +605,6 @@ void nr_pusch_ptrs_processing(PHY_VARS_gNB *gNB,
|
|||||||
gNB->nr_gold_pusch_dmrs[rel15_ul->scid][nr_tti_rx][symbol],
|
gNB->nr_gold_pusch_dmrs[rel15_ul->scid][nr_tti_rx][symbol],
|
||||||
&phase_per_symbol[2* symbol],
|
&phase_per_symbol[2* symbol],
|
||||||
ptrs_re_symbol);
|
ptrs_re_symbol);
|
||||||
/* if very first symbol is PTRS then we need to undo conjugate done in estimation */
|
|
||||||
/* The PTRS estimation before DMRS symbol is pure error, shall be used as it is*/
|
|
||||||
if(symbol == *startSymbIndex)
|
|
||||||
{
|
|
||||||
phase_per_symbol[(2* symbol)+1] = (-1) * phase_per_symbol[(2* symbol)+1];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* For last OFDM symbol at each antenna perform interpolation and compensation for the slot*/
|
/* For last OFDM symbol at each antenna perform interpolation and compensation for the slot*/
|
||||||
if(symbol == (symbInSlot -1))
|
if(symbol == (symbInSlot -1))
|
||||||
|
|||||||
@@ -1072,12 +1072,6 @@ void nr_pdsch_ptrs_processing(PHY_VARS_NR_UE *ue,
|
|||||||
ue->nr_gold_pdsch[eNB_id][nr_tti_rx][symbol],
|
ue->nr_gold_pdsch[eNB_id][nr_tti_rx][symbol],
|
||||||
&phase_per_symbol[2* symbol],
|
&phase_per_symbol[2* symbol],
|
||||||
&ptrs_re_symbol[symbol]);
|
&ptrs_re_symbol[symbol]);
|
||||||
/* if very first symbol is PTRS then we need to undo conjugate done in estimation */
|
|
||||||
/* The PTRS estimation before DMRS symbol is pure error, shall be used as it is*/
|
|
||||||
if(symbol == *startSymbIndex)
|
|
||||||
{
|
|
||||||
phase_per_symbol[(2* symbol)+1] = (-1) * phase_per_symbol[(2* symbol)+1];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}// HARQ 0
|
}// HARQ 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user