ue: set NAS-5G args in ue module using NAS-LTE arguments

master
Andre Puschmann 3 years ago
parent b5a39f9d9f
commit 9c9db176d5

@ -228,8 +228,6 @@ int ue_stack_lte::init(const stack_args_t& args_)
args.rrc_nr);
rrc.init(phy, &mac, &rlc, &pdcp, &nas, usim.get(), gw, &rrc_nr, args.rrc);
args.nas_5g.ia5g = "0,1,2,3";
args.nas_5g.ea5g = "0,1,2,3";
nas_5g.init(usim.get(), &rrc_nr, gw, args.nas_5g);
running = true;

@ -276,6 +276,11 @@ int ue::parse_args(const all_args_t& args_)
return SRSRAN_ERROR;
}
// Update NAS-5G args
args.stack.nas_5g.ia5g = args.stack.nas.eia;
args.stack.nas_5g.ea5g = args.stack.nas.eea;
args.stack.nas_5g.pdu_session_cfgs.push_back({args.stack.nas.apn_name});
return SRSRAN_SUCCESS;
}

Loading…
Cancel
Save