Skip to content
Snippets Groups Projects
Commit 25bd60a9 authored by Francesco Mani's avatar Francesco Mani
Browse files

fixes in case of no uecap file found

parent fcfcc605
No related branches found
No related tags found
5 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1402integration_2022_wk03_b,!1400integration_2022_wk03,!1371NR UE capabilities
...@@ -161,6 +161,8 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_ ...@@ -161,6 +161,8 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_
xer_fprint(stdout,&asn_DEF_NR_UE_NR_Capability,(void *)UE_Capability_nr); xer_fprint(stdout,&asn_DEF_NR_UE_NR_Capability,(void *)UE_Capability_nr);
} }
} }
else
LOG_E(NR_RRC,"Could not open UE Capabilities input file. Not handling OAI UE Capabilities.\n");
ue_context_p->ue_context.UE_Capability_nr = UE_Capability_nr; ue_context_p->ue_context.UE_Capability_nr = UE_Capability_nr;
} }
......
...@@ -2656,6 +2656,7 @@ nr_rrc_ue_process_ueCapabilityEnquiry( ...@@ -2656,6 +2656,7 @@ nr_rrc_ue_process_ueCapabilityEnquiry(
assert(dec_rval.code == RC_OK); assert(dec_rval.code == RC_OK);
} }
else { else {
UE_Capability_nr = CALLOC(1,sizeof(NR_UE_NR_Capability_t));
NR_BandNR_t *nr_bandnr; NR_BandNR_t *nr_bandnr;
nr_bandnr = CALLOC(1,sizeof(NR_BandNR_t)); nr_bandnr = CALLOC(1,sizeof(NR_BandNR_t));
nr_bandnr->bandNR = 1; nr_bandnr->bandNR = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment