From cd938bd5c451309571b6d44353f5dd7d9d9867a1 Mon Sep 17 00:00:00 2001
From: Florian Kaltenberger <florian.kaltenberger@eurecom.fr>
Date: Tue, 30 Aug 2016 15:31:02 +0200
Subject: [PATCH] pdcch is now filled with dummy data (like it used to be) to
 enable better estimation of signal energy (also in unitary sims and oaisim)

---
 openair1/PHY/LTE_TRANSPORT/dci.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openair1/PHY/LTE_TRANSPORT/dci.c b/openair1/PHY/LTE_TRANSPORT/dci.c
index 2180e575cf0..523dfd4d036 100644
--- a/openair1/PHY/LTE_TRANSPORT/dci.c
+++ b/openair1/PHY/LTE_TRANSPORT/dci.c
@@ -2092,10 +2092,10 @@ uint8_t generate_dci_top(uint8_t num_ue_spec_dci,
   y[1] = &yseq1[0];
 
   // reset all bits to <NIL>, here we set <NIL> elements as 2
-  memset(e, 2, DCI_BITS_MAX);
-  //  // here we interpret NIL as a random QPSK sequence. That makes power estimation easier.
-  //  for (i=0; i<DCI_BITS_MAX; i++)
-  //    e[i]=2;//taus()&1;
+  // memset(e, 2, DCI_BITS_MAX);
+  // here we interpret NIL as a random QPSK sequence. That makes power estimation easier.
+  for (i=0; i<DCI_BITS_MAX; i++)
+    e[i]=taus()&1;
 
   e_ptr = e;
 
-- 
GitLab