From 404814f706d55ed0d43269d1e0cf936ab01bb48d Mon Sep 17 00:00:00 2001
From: lukashov <elena.lukashova@eurecom.fr>
Date: Mon, 4 Jan 2016 15:30:02 +0100
Subject: [PATCH] In demod removing -13 to play with absolute value of shift

---
 openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
index 680b08919bf..57bb26f0a49 100644
--- a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+++ b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
@@ -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); 
-- 
GitLab