From 7f4c22f851f5cf04bd2cfadbd2e3decc5f832461 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Thu, 25 Feb 2016 12:01:31 +0100 Subject: [PATCH 1/2] bugfix in allocate_CCEs --- openair2/LAYER2/MAC/eNB_scheduler_primitives.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openair2/LAYER2/MAC/eNB_scheduler_primitives.c b/openair2/LAYER2/MAC/eNB_scheduler_primitives.c index 7162501f89..d709dcdfda 100644 --- a/openair2/LAYER2/MAC/eNB_scheduler_primitives.c +++ b/openair2/LAYER2/MAC/eNB_scheduler_primitives.c @@ -991,13 +991,11 @@ int allocate_CCEs(int module_idP, int allocation_is_feasible = 1; DCI_ALLOC_t *dci_alloc; - LOG_D(MAC,"Allocate CCEs subframe %d, test %d : (common %d,uspec %d)\n",subframeP,test_onlyP,DCI_pdu->Num_common_dci,DCI_pdu->Num_ue_spec_dci); - init_CCE_table(module_idP,CC_idP); - DCI_pdu->nCCE=0; - while (allocation_is_feasible == 1) { + init_CCE_table(module_idP,CC_idP); + DCI_pdu->nCCE=0; for (i=0;iNum_common_dci + DCI_pdu->Num_ue_spec_dci;i++) { dci_alloc = &DCI_pdu->dci_alloc[i]; From f6beede730f3f3ea41fa4c07b5966eb52b01bb0b Mon Sep 17 00:00:00 2001 From: Raymond Knopp Date: Thu, 25 Feb 2016 09:30:44 -0800 Subject: [PATCH 2/2] fixed bug in generate_RIVtables for 20 MHz distributed VRB allocations (openair1/PHY/LTE_TRANSPORT/dci_tools.c) --- openair1/PHY/LTE_TRANSPORT/dci_tools.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openair1/PHY/LTE_TRANSPORT/dci_tools.c b/openair1/PHY/LTE_TRANSPORT/dci_tools.c index c9d68cd0aa..f2d22e5231 100644 --- a/openair1/PHY/LTE_TRANSPORT/dci_tools.c +++ b/openair1/PHY/LTE_TRANSPORT/dci_tools.c @@ -734,11 +734,11 @@ void generate_RIV_tables() if (nVRB<32) alloc0 |= (1<