From 625a15b8fdcdb9fdd6ae7a0c02e12c8ea466a5b3 Mon Sep 17 00:00:00 2001 From: Angelo Athanassopoulos Date: Thu, 11 Aug 2022 14:31:29 +0200 Subject: [PATCH] Multiple DRBs - RRC - Creation of DRB control files --- CMakeLists.txt | 1 + openair2/RRC/NR/rrc_gNB.c | 1 + openair2/RRC/NR/rrc_gNB_drbs.c | 22 ++++++++++++++++++++++ openair2/RRC/NR/rrc_gNB_drbs.h | 24 ++++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 openair2/RRC/NR/rrc_gNB_drbs.c create mode 100644 openair2/RRC/NR/rrc_gNB_drbs.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 53cdcc72bc..23a06aa382 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1906,6 +1906,7 @@ set(L2_NR_SRC ${NR_RRC_DIR}/rrc_gNB_reconfig.c ${NR_RRC_DIR}/rrc_gNB_UE_context.c ${NR_RRC_DIR}/rrc_gNB_NGAP.c + ${NR_RRC_DIR}/rrc_gNB_drbs.c ) set(L2_SRC_UE diff --git a/openair2/RRC/NR/rrc_gNB.c b/openair2/RRC/NR/rrc_gNB.c index ef55b458c5..8e1591ac1e 100755 --- a/openair2/RRC/NR/rrc_gNB.c +++ b/openair2/RRC/NR/rrc_gNB.c @@ -40,6 +40,7 @@ #include "assertions.h" #include "common/ran_context.h" #include "asn1_conversions.h" +#include "rrc_gNB_drbs.h" #include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h" #include "LAYER2/RLC/rlc.h" diff --git a/openair2/RRC/NR/rrc_gNB_drbs.c b/openair2/RRC/NR/rrc_gNB_drbs.c new file mode 100644 index 0000000000..702216f0a7 --- /dev/null +++ b/openair2/RRC/NR/rrc_gNB_drbs.c @@ -0,0 +1,22 @@ +/* + * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The OpenAirInterface Software Alliance licenses this file to You under + * the OAI Public License, Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.openairinterface.org/?page_id=698 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *------------------------------------------------------------------------------- + * For more information about the OpenAirInterface (OAI) Software Alliance: + * contact@openairinterface.org + */ + +#include "rrc_gNB_drbs.h" \ No newline at end of file diff --git a/openair2/RRC/NR/rrc_gNB_drbs.h b/openair2/RRC/NR/rrc_gNB_drbs.h new file mode 100644 index 0000000000..16a1276be0 --- /dev/null +++ b/openair2/RRC/NR/rrc_gNB_drbs.h @@ -0,0 +1,24 @@ +/* + * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The OpenAirInterface Software Alliance licenses this file to You under + * the OAI Public License, Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.openairinterface.org/?page_id=698 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *------------------------------------------------------------------------------- + * For more information about the OpenAirInterface (OAI) Software Alliance: + * contact@openairinterface.org + */ + +#include "nr_rrc_defs.h" +#include "NR_SDAP-Config.h" +#include "NR_DRB-ToAddMod.h" \ No newline at end of file