Remove nr_rrc_common.c: declared functions are not used
This commit is contained in:
@@ -1260,7 +1260,6 @@ set(L2_NR_SRC
|
|||||||
${NR_PDCP_SRC}
|
${NR_PDCP_SRC}
|
||||||
${NR_SDAP_SRC}
|
${NR_SDAP_SRC}
|
||||||
${NR_RRC_DIR}/rrc_gNB.c
|
${NR_RRC_DIR}/rrc_gNB.c
|
||||||
${NR_RRC_DIR}/nr_rrc_common.c
|
|
||||||
${NR_RRC_DIR}/mac_rrc_dl_direct.c
|
${NR_RRC_DIR}/mac_rrc_dl_direct.c
|
||||||
${NR_RRC_DIR}/mac_rrc_dl_f1ap.c
|
${NR_RRC_DIR}/mac_rrc_dl_f1ap.c
|
||||||
${NR_RRC_DIR}/nr_rrc_config.c
|
${NR_RRC_DIR}/nr_rrc_config.c
|
||||||
|
|||||||
@@ -1886,13 +1886,11 @@ INPUT = \
|
|||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_radio_bearers.c \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_radio_bearers.c \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_NGAP.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_NGAP.h \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_proto.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_proto.h \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_common.h \
|
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_UE_context.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_UE_context.h \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/MESSAGES/asn1_msg.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/MESSAGES/asn1_msg.h \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/MESSAGES/asn1_msg.c \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/MESSAGES/asn1_msg.c \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_UE_context.c \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_UE_context.c \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/cucp_cuup_e1ap.c \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/cucp_cuup_e1ap.c \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_common.c \
|
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB.c \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB.c \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_config.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/nr_rrc_config.h \
|
||||||
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_radio_bearers.h \
|
@CMAKE_CURRENT_SOURCE_DIR@/../openair2/RRC/NR/rrc_gNB_radio_bearers.h \
|
||||||
|
|||||||
@@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! \file nr_rrc_common.c
|
|
||||||
* \brief rrc common procedures for gNB
|
|
||||||
* \author Navid Nikaein and Raymond Knopp, WEI-TAI CHEN
|
|
||||||
* \date 2011 - 2014, 2018
|
|
||||||
* \version 1.0
|
|
||||||
* \company Eurecom, NTUST
|
|
||||||
* \email: navid.nikaein@eurecom.fr and raymond.knopp@eurecom.fr, kroempa@gmail.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "nr_rrc_extern.h"
|
|
||||||
#include "LAYER2/NR_MAC_COMMON/nr_mac_extern.h"
|
|
||||||
#include "COMMON/openair_defs.h"
|
|
||||||
#include "common/platform_types.h"
|
|
||||||
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
|
|
||||||
#include "LAYER2/RLC/rlc.h"
|
|
||||||
#include "COMMON/mac_rrc_primitives.h"
|
|
||||||
#include "common/utils/LOG/log.h"
|
|
||||||
#include "asn1_msg.h"
|
|
||||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
|
||||||
#include "common/ran_context.h"
|
|
||||||
|
|
||||||
#define DEBUG_NR_RRC 1
|
|
||||||
|
|
||||||
extern RAN_CONTEXT_t RC;
|
|
||||||
extern UE_MAC_INST *UE_mac_inst;
|
|
||||||
extern mui_t rrc_gNB_mui;
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
void rrc_init_nr_srb_param(NR_LCHAN_DESC *chan)
|
|
||||||
{
|
|
||||||
chan->transport_block_size = 4;
|
|
||||||
chan->max_transport_blocks = 16;
|
|
||||||
chan->Delay_class = 1;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
@@ -59,6 +59,4 @@ typedef struct SRB_INFO_TABLE_ENTRY_NR_s {
|
|||||||
uint8_t status;
|
uint8_t status;
|
||||||
} NR_SRB_INFO_TABLE_ENTRY;
|
} NR_SRB_INFO_TABLE_ENTRY;
|
||||||
|
|
||||||
void rrc_init_nr_srb_param(NR_LCHAN_DESC *chan);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -45,8 +45,6 @@
|
|||||||
#include "NR_CellGroupConfig.h"
|
#include "NR_CellGroupConfig.h"
|
||||||
|
|
||||||
#define NR_MAX_SUPPORTED_DL_LAYERS 4
|
#define NR_MAX_SUPPORTED_DL_LAYERS 4
|
||||||
void rrc_init_nr_srb_param(NR_LCHAN_DESC *chan);
|
|
||||||
|
|
||||||
|
|
||||||
void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
|
void rrc_gNB_generate_SgNBAdditionRequestAcknowledge(
|
||||||
const protocol_ctxt_t *const ctxt_pP,
|
const protocol_ctxt_t *const ctxt_pP,
|
||||||
|
|||||||
Reference in New Issue
Block a user