In demod removing -13 to play with absolute value of shift

This commit is contained in:
lukashov
2016-01-04 15:30:02 +01:00
parent eeaf2c1596
commit 404814f706
@@ -451,7 +451,7 @@ 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;
avg[0] = log2_approx(avg[0]) + interf_unaw_shift;
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);