Use RRC establishment cause mo-signalling for NAS Attach procedure

master
Daniel Willmann 5 years ago committed by Andre Puschmann
parent 3a804e23fa
commit b7e11b7bda

@ -180,7 +180,7 @@ bool ue_stack_lte::switch_on()
{
if (running) {
pending_tasks.try_push(ue_queue_id,
[this]() { nas.start_attach_request(nullptr, srslte::establishment_cause_t::mo_data); });
[this]() { nas.start_attach_request(nullptr, srslte::establishment_cause_t::mo_sig); });
// schedule airplane mode on command
if (args.sim.airplane_t_on_ms > 0) {
@ -189,7 +189,6 @@ bool ue_stack_lte::switch_on()
disable_data();
});
}
return true;
}
return false;

@ -124,7 +124,7 @@ proc_outcome_t nas::plmn_search_proc::react(const plmn_search_complete_t& t)
nas_ptr->rrc->plmn_select(nas_ptr->current_plmn);
state = state_t::rrc_connect;
if (not nas_ptr->rrc_connector.launch(srslte::establishment_cause_t::mo_data, nullptr)) {
if (not nas_ptr->rrc_connector.launch(srslte::establishment_cause_t::mo_sig, nullptr)) {
ProcError("Unable to initiate RRC connection.\n");
return proc_outcome_t::error;
}

Loading…
Cancel
Save