From ef3991d46113b64fa9937699923f15d0b03d0902 Mon Sep 17 00:00:00 2001
From: lukashov <elena.lukashova@eurecom.fr>
Date: Mon, 4 Jan 2016 16:58:32 +0100
Subject: [PATCH] Minor change in dlsch_demod.

---
 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 57bb26f0a49..ff6df07b4b5 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]) + 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