Merge remote-tracking branch 'origin/no-platform-const-asn-dep' into integration_2023_w10
This commit is contained in:
@@ -3,5 +3,5 @@ add_subdirectory(MESSAGES)
|
||||
add_library(e1ap e1ap.c e1ap_common.c e1ap_api.c)
|
||||
target_link_libraries(e1ap
|
||||
PUBLIC asn1_e1ap f1ap
|
||||
PRIVATE asn1_nr_rrc asn1_lte_rrc asn1_f1ap UTIL e1_pdcp_if e1_if)
|
||||
PRIVATE asn1_nr_rrc_hdrs asn1_lte_rrc_hdrs asn1_f1ap UTIL e1_pdcp_if e1_if)
|
||||
target_include_directories(e1ap PUBLIC ${CMAKE_CURRENT_DIR})
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "common/utils/LOG/log.h"
|
||||
#include "openair2/F1AP/f1ap_common.h"
|
||||
#include "e1ap_default_values.h"
|
||||
#include "gtp_itf.h"
|
||||
|
||||
#define E1AP_NUM_MSG_HANDLERS 14
|
||||
typedef int (*e1ap_message_processing_t)(e1ap_upcp_inst_t *inst, const E1AP_E1AP_PDU_t *message_p);
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "f1ap_cu_rrc_message_transfer.h"
|
||||
#include "common/ran_context.h"
|
||||
#include "openair3/UTILS/conversions.h"
|
||||
#include "pdcp.h"
|
||||
|
||||
/*
|
||||
Initial UL RRC Message Transfer
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "rrc_eNB_GTPV1U.h"
|
||||
#include "openair2/RRC/NR/rrc_gNB_NGAP.h"
|
||||
#include <openair3/ocp-gtpu/gtp_itf.h>
|
||||
#include "pdcp.h"
|
||||
|
||||
static void setQos(F1AP_NonDynamic5QIDescriptor_t *toFill) {
|
||||
asn1cCalloc(toFill, tmp);
|
||||
|
||||
@@ -50,10 +50,11 @@
|
||||
// #include "SystemInformationBlockType2.h"
|
||||
// #include "LAYER2/MAC/extern.h"
|
||||
// #include "LAYER2/MAC/proto.h"
|
||||
#include "PHY/INIT/phy_init.h"
|
||||
#include "PHY/INIT/nr_phy_init.h"
|
||||
#include "radio/ETHERNET/USERSPACE/LIB/ethernet_lib.h"
|
||||
#include "nfapi_vnf.h"
|
||||
#include "nfapi_pnf.h"
|
||||
#include "pdcp.h"
|
||||
|
||||
//#include "L1_paramdef.h"
|
||||
#include "prs_nr_paramdef.h"
|
||||
|
||||
@@ -162,6 +162,8 @@
|
||||
|
||||
#define U_PLANE_INACTIVITY_VALUE 0 /* defined 10ms order (zero means infinity) */
|
||||
|
||||
static const int cqi_to_mcs[16]= {0, 0, 1, 2, 4, 6, 8, 11, 13, 16, 18, 20, 23, 25, 27, 28};
|
||||
|
||||
/*
|
||||
* eNB part
|
||||
*/
|
||||
|
||||
@@ -806,6 +806,7 @@ void rr_ul_unset(void **data) {
|
||||
free(*data);
|
||||
*data = NULL;
|
||||
}
|
||||
#define MAX(a, b) (((a)>(b))?(a):(b))
|
||||
int rr_ul_run(module_id_t Mod_id,
|
||||
int CC_id,
|
||||
int frame,
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "LAYER2/NR_MAC_COMMON/nr_mac_common.h"
|
||||
#include "common/utils/nr/nr_common.h"
|
||||
#include "executables/softmodem-common.h"
|
||||
#include "SCHED_NR/phy_frame_config_nr.h"
|
||||
|
||||
void set_tdd_config_nr_ue(fapi_nr_config_request_t *cfg,
|
||||
int mu,
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
#include "NR_CellGroupConfig.h"
|
||||
#include "NR_ServingCellConfig.h"
|
||||
#include "NR_MeasConfig.h"
|
||||
#include "NR_ServingCellConfigCommonSIB.h"
|
||||
|
||||
|
||||
// ==========
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "openair2/LAYER2/nr_pdcp/nr_pdcp_entity.h"
|
||||
#include "executables/softmodem-common.h"
|
||||
#include "openair2/LAYER2/nr_pdcp/nr_pdcp.h"
|
||||
#include "openair2/LAYER2/PDCP_v10.1.0/pdcp.h"
|
||||
#include <pthread.h>
|
||||
|
||||
static NR_UE_MAC_INST_t *nr_ue_mac_inst;
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
/* exe */
|
||||
#include <common/utils/nr/nr_common.h>
|
||||
|
||||
/* PHY */
|
||||
#include "openair1/PHY/impl_defs_top.h"
|
||||
|
||||
/* MAC */
|
||||
#include "NR_MAC_COMMON/nr_mac.h"
|
||||
#include "NR_MAC_COMMON/nr_mac_common.h"
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
|
||||
#include "LAYER2/NR_MAC_gNB/nr_mac_gNB.h"
|
||||
#include "NR_TAG-Id.h"
|
||||
#include "common/ngran_types.h"
|
||||
#include "rrc_messages_types.h"
|
||||
|
||||
void set_cset_offset(uint16_t);
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "nr_mac_gNB.h"
|
||||
#include "intertask_interface.h"
|
||||
|
||||
#include "mac_rrc_ul.h"
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "nr_mac_gNB.h"
|
||||
#include "intertask_interface.h"
|
||||
|
||||
#include "mac_rrc_ul.h"
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "NR_MAC_gNB/mac_proto.h"
|
||||
#include "NR_MAC_COMMON/nr_mac_extern.h"
|
||||
#include "assertions.h"
|
||||
#include "pdcp.h"
|
||||
|
||||
#include "LAYER2/nr_pdcp/nr_pdcp_entity.h"
|
||||
#include "RRC/NR/nr_rrc_defs.h"
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
/* RRC */
|
||||
#include "NR_BCCH-BCH-Message.h"
|
||||
#include "NR_CellGroupConfig.h"
|
||||
#include "NR_BCCH-DL-SCH-Message.h"
|
||||
|
||||
/* PHY */
|
||||
#include "time_meas.h"
|
||||
@@ -63,6 +64,7 @@
|
||||
/* MAC */
|
||||
#include "LAYER2/NR_MAC_COMMON/nr_mac_extern.h"
|
||||
#include "LAYER2/NR_MAC_COMMON/nr_mac_common.h"
|
||||
#include "LAYER2/MAC/mac.h"
|
||||
#include "NR_TAG.h"
|
||||
|
||||
#include <openair3/UICC/usim_interface.h>
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
#include "intertask_interface.h"
|
||||
#include "openair3/S1AP/s1ap_eNB.h"
|
||||
#include <pthread.h>
|
||||
#include "pdcp.h"
|
||||
|
||||
# include "openair3/ocp-gtpu/gtp_itf.h"
|
||||
#include <openair3/ocp-gtpu/gtp_itf.h>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#ifndef __NR_IF_MODULE__H__
|
||||
#define __NR_IF_MODULE__H__
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdint.h>
|
||||
#include "nfapi_nr_interface.h"
|
||||
#include "nfapi_nr_interface_scf.h"
|
||||
|
||||
@@ -14,8 +14,23 @@ add_custom_command(OUTPUT ${lte_rrc_source} ${lte_rrc_headers}
|
||||
COMMENT "Generating LTE RRC source file from ${CMAKE_CURRENT_SOURCE_DIR}/${LTE_RRC_GRAMMAR}"
|
||||
)
|
||||
|
||||
# Many other targets include LTE RRC ASN.1 headers, without actually needing
|
||||
# the actual library (asn1_lte_rrc). Therefore, below we create the INTERFACE
|
||||
# library asn1_lte_rrc_hdrs that only contains these headers. To actually wait
|
||||
# that the headers are created in add_custom_command, we use an intermediary
|
||||
# add_custom_target which create a target that waits for the headers, and make
|
||||
# a dependency from asn1_lte_rrc_hdrs to gen_lte_rrc_hdrs, which is the
|
||||
# recommended way, see https://gitlab.kitware.com/cmake/cmake/-/issues/17366.
|
||||
# In newer cmake version (e.g., 3.20), it is also possible to have
|
||||
# ${lte_rrc_headers} directly in the add_library(asn1_lte_rrc_hdrs) statement,
|
||||
# without the need for asn1_lte_rrc_hdrs
|
||||
add_custom_target(gen_lte_rrc_hdrs DEPENDS ${lte_rrc_headers})
|
||||
add_library(asn1_lte_rrc_hdrs INTERFACE)
|
||||
add_dependencies(asn1_lte_rrc_hdrs gen_lte_rrc_hdrs)
|
||||
target_include_directories(asn1_lte_rrc_hdrs INTERFACE "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
add_library(asn1_lte_rrc ${lte_rrc_source})
|
||||
target_include_directories(asn1_lte_rrc PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
target_link_libraries(asn1_lte_rrc PUBLIC asn1_lte_rrc_hdrs)
|
||||
target_compile_options(asn1_lte_rrc
|
||||
PRIVATE -DASN_DISABLE_OER_SUPPORT -w
|
||||
PUBLIC -DLTE_RRC_VERSION=${LTE_RRC_RELEASE})
|
||||
|
||||
@@ -63,6 +63,10 @@
|
||||
#include "LTE_TDD-Config.h"
|
||||
#include "LTE_UECapabilityEnquiry.h"
|
||||
#include "LTE_UE-CapabilityRequest.h"
|
||||
|
||||
#include "NR_RAT-Type.h"
|
||||
#include "NR_UE-CapabilityRAT-Container.h"
|
||||
|
||||
#include "RRC/NAS/nas_config.h"
|
||||
#include "RRC/NAS/rb_config.h"
|
||||
#if ENABLE_RAL
|
||||
|
||||
@@ -65,6 +65,12 @@
|
||||
#include "LTE_SystemInformationBlockType1-MBMS-r14.h"
|
||||
#include "LTE_NonMBSFN-SubframeConfig-r14.h"
|
||||
|
||||
#include "NR_UE-CapabilityRAT-ContainerList.h"
|
||||
#include "NR_UE-CapabilityRAT-Container.h"
|
||||
#include "NR_CG-ConfigInfo.h"
|
||||
#include "NR_CG-Config.h"
|
||||
#include "NR_RadioBearerConfig.c"
|
||||
|
||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
||||
#include "x2ap_eNB.h"
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "oai_asn1.h"
|
||||
#include "intertask_interface.h"
|
||||
#include "pdcp.h"
|
||||
|
||||
|
||||
# include "common/ran_context.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#ifndef RRC_ENB_GTPV1U_H_
|
||||
#define RRC_ENB_GTPV1U_H_
|
||||
|
||||
#include "rrc_defs.h"
|
||||
|
||||
/*! \fn rrc_eNB_process_GTPV1U_CREATE_TUNNEL_RESP(const protocol_ctxt_t* const ctxt_pP, const gtpv1u_enb_create_tunnel_resp_t * const create_tunnel_resp_pP)
|
||||
*\brief Process GTPV1U_ENB_CREATE_TUNNEL_RESP message received from GTPV1U, retrieve the enb teid created.
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
# include "oai_asn1.h"
|
||||
# include "intertask_interface.h"
|
||||
# include "common/ran_context.h"
|
||||
#include "pdcp.h"
|
||||
|
||||
extern RAN_CONTEXT_t RC;
|
||||
|
||||
|
||||
@@ -14,8 +14,23 @@ add_custom_command(OUTPUT ${nr_rrc_source} ${nr_rrc_headers}
|
||||
COMMENT "Generating NR RRC source file from ${CMAKE_CURRENT_SOURCE_DIR}/${NR_RRC_GRAMMAR}"
|
||||
)
|
||||
|
||||
# Many other targets include NR RRC ASN.1 headers, without actually needing the
|
||||
# actual library (asn1_nr_rrc). Therefore, below we create the INTERFACE
|
||||
# library asn1_nr_rrc_hdrs that only contains these headers. To actually wait
|
||||
# that the headers are created in add_custom_command, we use an intermediary
|
||||
# add_custom_target which create a target that waits for the headers, and make
|
||||
# a dependency from asn1_nr_rrc_hdrs to gen_nr_rrc_hdrs, which is the
|
||||
# recommended way, see https://gitlab.kitware.com/cmake/cmake/-/issues/17366.
|
||||
# In newer cmake version (e.g., 3.20), it is also possible to have
|
||||
# ${nr_rrc_headers} directly in the add_library(asn1_nr_rrc_hdrs) statement,
|
||||
# without the need for asn1_lte_rrc_hdrs
|
||||
add_custom_target(gen_nr_rrc_hdrs DEPENDS ${nr_rrc_headers})
|
||||
add_library(asn1_nr_rrc_hdrs INTERFACE)
|
||||
add_dependencies(asn1_nr_rrc_hdrs gen_nr_rrc_hdrs)
|
||||
target_include_directories(asn1_nr_rrc_hdrs INTERFACE "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
add_library(asn1_nr_rrc ${nr_rrc_source})
|
||||
target_include_directories(asn1_nr_rrc PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
target_link_libraries(asn1_nr_rrc PUBLIC asn1_nr_rrc_hdrs)
|
||||
target_compile_options(asn1_nr_rrc
|
||||
PRIVATE -DASN_DISABLE_OER_SUPPORT -w
|
||||
PUBLIC -DNR_RRC_VERSION=${NR_RRC_RELEASE})
|
||||
|
||||
@@ -478,7 +478,7 @@ uint16_t do_SIB1_NR(rrc_gNB_carrier_data_t *carrier,
|
||||
UL->initialUplinkBWP.genericParameters = configuration->scc->uplinkConfigCommon->initialUplinkBWP->genericParameters;
|
||||
UL->initialUplinkBWP.rach_ConfigCommon = configuration->scc->uplinkConfigCommon->initialUplinkBWP->rach_ConfigCommon;
|
||||
UL->initialUplinkBWP.pusch_ConfigCommon = configuration->scc->uplinkConfigCommon->initialUplinkBWP->pusch_ConfigCommon;
|
||||
UL->initialUplinkBWP.pusch_ConfigCommon->choice.setup->groupHoppingEnabledTransformPrecoding = null;
|
||||
UL->initialUplinkBWP.pusch_ConfigCommon->choice.setup->groupHoppingEnabledTransformPrecoding = NULL;
|
||||
|
||||
UL->initialUplinkBWP.pucch_ConfigCommon = configuration->scc->uplinkConfigCommon->initialUplinkBWP->pucch_ConfigCommon;
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <openair3/ocp-gtpu/gtp_itf.h>
|
||||
#include "UTIL/OSA/osa_defs.h"
|
||||
#include <openair2/RRC/NR/nr_rrc_proto.h>
|
||||
#include "pdcp.h"
|
||||
|
||||
void rrc_parse_ue_capabilities(gNB_RRC_INST *rrc, NR_UE_CapabilityRAT_ContainerList_t *UE_CapabilityRAT_ContainerList, x2ap_ENDC_sgnb_addition_req_t *m, NR_CG_ConfigInfo_IEs_t *cg_config_info) {
|
||||
struct rrc_gNB_ue_context_s *ue_context_p = NULL;
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "tree.h"
|
||||
|
||||
#include "sctp_eNB_defs.h"
|
||||
#include "s1ap_messages_types.h"
|
||||
#include "x2ap_messages_types.h"
|
||||
|
||||
#include "x2ap_ids.h"
|
||||
#include "x2ap_timers.h"
|
||||
|
||||
Reference in New Issue
Block a user