Commit 2e36b896 authored by wf's avatar wf

add log

parent 4b6b0e81
......@@ -2129,7 +2129,8 @@ void nr_rx_pusch(PHY_VARS_gNB *gNB,
uint pusch_amp;
if (symbol == (rel15_ul->start_symbol_index + rel15_ul->nr_of_symbols - 1)) {
static int cnt = 0;
if (((cnt & 0x1F) == 0) && (cnt < 0x100))
//if (((cnt & 0x1F) == 0) && (cnt < 0x100))
if ( (cnt < 0x100))
{
pusch_amp = cal_amp(&gNB->pusch_vars[ulsch_id]->rxdataF_ext[0][symbol * nb_re_pusch], nb_re_pusch);
//LOG_I(PHY, "UL AMP frame %d %d, symbol %d, rbs %d, res %d, time %d, freq %d \n", frame, slot, symbol, nb_re_pusch/12, nb_re_pusch, g_ul_time_amp[symbol], g_ul_freq_amp[symbol], pusch_amp);
......
......@@ -533,7 +533,8 @@ int nr_rx_pdsch(PHY_VARS_NR_UE *ue,
codeword_TB0,
codeword_TB1,
layer_llr);
if ((pilots == 0) && (dlsch[0].rnti_type == _SI_RNTI_))
//if ((pilots == 0) && (dlsch[0].rnti_type == _SI_RNTI_))
if ((pilots == 0))
{
uint pdsch_amp;
pdsch_amp = cal_amp((int16_t *)&rxdataF_ext[0][symbol *nb_rb_pdsch * 12 ], nb_rb_pdsch * 12);
......
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