[AMF/MME] stop timer when radio failure (#1242)

This commit is contained in:
Sukchan Lee 2021-11-16 12:59:04 +09:00
parent bfa34be222
commit 6a6f214785
2 changed files with 13 additions and 1 deletions

View File

@ -1105,6 +1105,12 @@ void ngap_handle_initial_context_setup_failure(
*/
amf_ue = ran_ue->amf_ue;
if (amf_ue) {
/*
* if T3550 is running, Registration complete will be sent.
* So, we need to clear all the timer at this point.
*/
CLEAR_AMF_UE_ALL_TIMERS(amf_ue);
old_xact_count = amf_sess_xact_count(amf_ue);
amf_ue->deactivation.group = NGAP_Cause_PR_nas;

View File

@ -851,8 +851,14 @@ void s1ap_handle_initial_context_setup_failure(
mme_ue = enb_ue->mme_ue;
if (mme_ue)
if (mme_ue) {
/*
* if T3450 is running, Attach complete will be sent.
* So, we need to clear all the timer at this point.
*/
CLEAR_SERVICE_INDICATOR(mme_ue);
CLEAR_MME_UE_ALL_TIMERS(mme_ue);
}
/*
* 19.2.2.3 in Spec 36.300