adding --rrc_config_path command line option to UE

This commit is contained in:
Florian Kaltenberger
2020-01-03 21:40:27 +01:00
parent 2efa277990
commit 5ef27f4c21
7 changed files with 25 additions and 12 deletions
+2 -2
View File
@@ -809,7 +809,7 @@ if (slot_nr==18)
return NULL;
}
void init_NR_UE(int nb_inst) {
void init_NR_UE(int nb_inst, char* rrc_config_path) {
int inst;
NR_UE_MAC_INST_t *mac_inst;
pthread_t threads[nb_inst];
@@ -817,7 +817,7 @@ void init_NR_UE(int nb_inst) {
for (inst=0; inst < nb_inst; inst++) {
PHY_VARS_NR_UE *UE = PHY_vars_UE_g[inst][0];
AssertFatal((UE->if_inst = nr_ue_if_module_init(inst)) != NULL, "can not initial IF module\n");
nr_l3_init_ue();
nr_l3_init_ue(rrc_config_path);
nr_l2_init_ue();
mac_inst = get_mac_inst(inst);
mac_inst->if_module = UE->if_inst;