Commit 4b6b0e81 authored by wf's avatar wf

add dl amp

parent e0ec9c65
......@@ -533,6 +533,12 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
codeword_TB0,
codeword_TB1,
layer_llr);
if ((pilots == 0) && (dlsch[0].rnti_type == _SI_RNTI_))
{
uint pdsch_amp;
pdsch_amp = cal_amp((int16_t *)&rxdataF_ext[0][symbol *nb_rb_pdsch * 12 ], nb_rb_pdsch * 12);
LOG_I(PHY, "frame %d %d, SIB symbol %d pdsch_amp %d, rb %d\n", frame, nr_slot_rx, symbol, pdsch_amp, nb_rb_pdsch);
}
for (int i=0; i<NR_MAX_NB_LAYERS; i++)
free(layer_llr[i]);
......
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