Commit fe702e46 authored by Elena Lukashova's avatar Elena Lukashova
Browse files

Minor change in dlsch_demod

parent 17029141
......@@ -452,7 +452,8 @@ int rx_pdsch(PHY_VARS_UE *phy_vars_ue,
else
// to avoid tails in SNR/BLER curves
avg[0] = log2_approx(avg[0]) - 13 + interf_unaw_shift;
lte_ue_pdsch_vars[eNB_id]->log2_maxh = cmax(avg[0],0);
lte_ue_pdsch_vars[eNB_id]->log2_maxh0 = cmax(avg[0],0);
lte_ue_pdsch_vars[eNB_id]->log2_maxh1 = cmax(avg[0],0);
printf("TM4 I-UA shift = %d\n",interf_unaw_shift);
//lte_ue_pdsch_vars[eNB_id]->log2_maxh0 = (log2_approx(avg[0])/2) +interf_unaw_shift_tm4_mcs[dlsch0_harq->mcs];
//lte_ue_pdsch_vars[eNB_id]->log2_maxh1 = (log2_approx(avg[0])/2) +interf_unaw_shift_tm4_mcs[dlsch1_harq->mcs];
......
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