From 07d161060225f77ae39f02fb79dfe3660136d2b4 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Fri, 3 Aug 2018 15:01:49 +0200
Subject: [PATCH] quick hack to avoid a DLSCH regression

One of the optimized RE allocation function does not work properly
and generates some decoding errors with a COTS UE. Let's use the
generic function for the moment, while analyzing what is wrong.
---
 openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
index 456abe7315..ea92dbb560 100644
--- a/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+++ b/openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
@@ -2419,6 +2419,11 @@ int dlsch_modulation(PHY_VARS_eNB* phy_vars_eNB,
           allocate_REs_in_RB_no_pilots_64QAM_siso :
           allocate_REs_in_RB;
       }
+      /* TODO: this is a quick hack to be removed. There is a problem
+       * with above code that needs to be analyzed and fixed. In the
+       * meantime, let's use the generic function.
+       */
+      allocate_REs = allocate_REs_in_RB;
       break;
 
     }
-- 
GitLab