From 260a4c132468e713b379f9b840d609bd7a8de32d Mon Sep 17 00:00:00 2001 From: Guy De Souza Date: Mon, 27 Aug 2018 13:57:11 +0200 Subject: [PATCH] Array size bug fix --- openair1/PHY/INIT/nr_init.c | 2 +- openair1/PHY/NR_TRANSPORT/nr_dci_tools.c | 1 - openair1/PHY/defs_gNB.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openair1/PHY/INIT/nr_init.c b/openair1/PHY/INIT/nr_init.c index 29e10410be..e736f356db 100644 --- a/openair1/PHY/INIT/nr_init.c +++ b/openair1/PHY/INIT/nr_init.c @@ -120,7 +120,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB, nr_init_pbch_dmrs(gNB); // Polar encoder init for PBCH nr_polar_init(&gNB->nrPolar_params, - NR_POLAR_PBCH_MESSAGE_TYPE, + NR_POLAR_PBCH_MESSAGE_TYPE, NR_POLAR_PBCH_PAYLOAD_BITS, NR_POLAR_PBCH_AGGREGATION_LEVEL); diff --git a/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c b/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c index 8d87d2ed95..39a0370cb1 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c +++ b/openair1/PHY/NR_TRANSPORT/nr_dci_tools.c @@ -226,5 +226,4 @@ void nr_fill_dci_and_dlsch(PHY_VARS_gNB *gNB, AssertFatal(1==0, "[nr_fill_dci_and_dlsch] Incorrect DCI Format(%d)",rel15->dci_format); }*/ - return; } diff --git a/openair1/PHY/defs_gNB.h b/openair1/PHY/defs_gNB.h index d622536042..116e940c71 100644 --- a/openair1/PHY/defs_gNB.h +++ b/openair1/PHY/defs_gNB.h @@ -61,7 +61,7 @@ typedef struct { typedef struct { uint8_t num_dci; - NR_gNB_DCI_ALLOC_t dci_alloc[32]; + NR_gNB_DCI_ALLOC_t dci_alloc[256]; } NR_gNB_PDCCH; typedef struct {