From 21af7c7266a69e539efb9fcbf220e64cc2ead60d Mon Sep 17 00:00:00 2001
From: Raymond Knopp <raymond.knopp@eurecom.fr>
Date: Mon, 8 Dec 2014 21:37:39 +0000
Subject: [PATCH] git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6193
 818b1a75-f10b-46b9-bf7c-635c3b92a50f

---
 openair1/PHY/LTE_TRANSPORT/dci_tools.c                         | 3 ++-
 openair2/RRC/LITE/rrc_eNB_S1AP.c                               | 2 +-
 .../PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf  | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/openair1/PHY/LTE_TRANSPORT/dci_tools.c b/openair1/PHY/LTE_TRANSPORT/dci_tools.c
index f8f51daaa2..d6b938baee 100644
--- a/openair1/PHY/LTE_TRANSPORT/dci_tools.c
+++ b/openair1/PHY/LTE_TRANSPORT/dci_tools.c
@@ -692,6 +692,7 @@ int generate_eNB_dlsch_params_from_dci(uint8_t subframe,
 	//      printf("FDD 1A: mcs %d, rballoc %x,rv %d, NPRB %d\n",mcs,rballoc,rv,NPRB);
       }
 
+      dlsch0_harq = dlsch[0]->harq_processes[harq_pid];
       if (vrb_type == 0) {
 	dlsch0_harq->rb_alloc[0]                       = localRIV2alloc_LUT100_0[rballoc];
 	dlsch0_harq->rb_alloc[1]                       = localRIV2alloc_LUT100_1[rballoc];
@@ -6261,7 +6262,7 @@ int generate_eNB_ulsch_params_from_dci(void *dci_pdu,
       ulsch->harq_processes[harq_pid]->first_rb                              = RIV2first_rb_LUT100[rballoc];
       ulsch->harq_processes[harq_pid]->nb_rb                                 = RIV2nb_rb_LUT100[rballoc];
 
-      printf("eNB: rb_alloc (20 MHz dci) %d\n",rballoc);
+      //printf("eNB: rb_alloc (20 MHz dci) %d\n",rballoc);
       break;
 
     default:
diff --git a/openair2/RRC/LITE/rrc_eNB_S1AP.c b/openair2/RRC/LITE/rrc_eNB_S1AP.c
index 44900bd57f..49e83e6052 100644
--- a/openair2/RRC/LITE/rrc_eNB_S1AP.c
+++ b/openair2/RRC/LITE/rrc_eNB_S1AP.c
@@ -832,7 +832,7 @@ int rrc_eNB_process_S1AP_UE_CONTEXT_RELEASE_COMMAND (MessageDef *msg_p, const ch
     return (-1);
   }
   else {
-    //rrc_eNB_generate_RRCConnectionRelease(instance, 0 /*frame*/, ue_index);
+    rrc_eNB_generate_RRCConnectionRelease(instance, 0 /*frame*/, ue_index);
       LOG_W(RRC,
               "[eNB %d] In S1AP_UE_CONTEXT_RELEASE_COMMAND: TODO call rrc_eNB_connection_release for eNB %d\n",
               instance,
diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
index 50077ec06b..dcfb512360 100644
--- a/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
+++ b/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf
@@ -33,7 +33,7 @@ eNBs =
                            downlink_frequency      			      = 2660000000L;
                            uplink_frequency_offset 			      = -120000000;
   			   Nid_cell					      = 0;
-                           N_RB_DL                 			      = 50;
+                           N_RB_DL                 			      = 6;
                            Nid_cell_mbsfn          			      = 0;
                            nb_antennas_tx          			      = 1;
                            nb_antennas_rx          			      = 1; 
-- 
GitLab