From 79cd1891600426beb0c67c2cacd918999847facf Mon Sep 17 00:00:00 2001 From: francescomani Date: Tue, 3 Oct 2023 18:58:16 +0200 Subject: [PATCH] fix sim compilation --- openair1/SIMULATION/NR_PHY/nr_dummy_functions.c | 2 ++ openair2/LAYER2/NR_MAC_UE/main_ue_nr.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openair1/SIMULATION/NR_PHY/nr_dummy_functions.c b/openair1/SIMULATION/NR_PHY/nr_dummy_functions.c index 6d3948974d..bf1a60faf8 100644 --- a/openair1/SIMULATION/NR_PHY/nr_dummy_functions.c +++ b/openair1/SIMULATION/NR_PHY/nr_dummy_functions.c @@ -32,6 +32,8 @@ void nr_mac_rrc_sync_ind(const module_id_t module_id, const frame_t frame, const bool in_sync) {} +void nr_mac_rrc_msg3_ind(const module_id_t mod_id, int rnti) {} + void nr_mac_rrc_ra_ind(const module_id_t mod_id, int frame, bool success) {} void rrc_data_ind(const protocol_ctxt_t *const ctxt_pP, diff --git a/openair2/LAYER2/NR_MAC_UE/main_ue_nr.c b/openair2/LAYER2/NR_MAC_UE/main_ue_nr.c index 3f565a1b17..b4ec1cb9eb 100644 --- a/openair2/LAYER2/NR_MAC_UE/main_ue_nr.c +++ b/openair2/LAYER2/NR_MAC_UE/main_ue_nr.c @@ -88,7 +88,6 @@ NR_UE_MAC_INST_t * nr_l2_init_ue(NR_UE_RRC_INST_t* rrc_inst) { nr_rrc_mac_config_req_scg(0, 0, rrc_inst->scell_group_config); int rc = rlc_module_init(0); AssertFatal(rc == 0, "%s: Could not initialize RLC layer\n", __FUNCTION__); - /* convention: RNTI for SRB0 is 0, as it changes all the time */ nr_rlc_activate_srb0(nr_ue_mac_inst->crnti, NULL, send_srb0_rrc); if (IS_SOFTMODEM_NOS1){ // get default noS1 configuration