passing the file name on top of the path for uecap

This commit is contained in:
francescomani
2022-01-04 14:11:21 +01:00
parent 562013fa32
commit a54c1f239e
6 changed files with 19 additions and 29 deletions
+2 -2
View File
@@ -757,14 +757,14 @@ void *UE_thread(void *arg) {
}
void init_NR_UE(int nb_inst,
char* uecap_path,
char* uecap_file,
char* rrc_config_path) {
int inst;
NR_UE_MAC_INST_t *mac_inst;
NR_UE_RRC_INST_t* rrc_inst;
for (inst=0; inst < nb_inst; inst++) {
AssertFatal((rrc_inst = nr_l3_init_ue(uecap_path,rrc_config_path)) != NULL, "can not initialize RRC module\n");
AssertFatal((rrc_inst = nr_l3_init_ue(uecap_file,rrc_config_path)) != NULL, "can not initialize RRC module\n");
AssertFatal((mac_inst = nr_l2_init_ue(rrc_inst)) != NULL, "can not initialize L2 module\n");
AssertFatal((mac_inst->if_module = nr_ue_if_module_init(inst)) != NULL, "can not initialize IF module\n");
}