Try to fix the UE infinite attach (#568)

If both Delete-Session-Request/Response and
UEContextReleaseCommand/UEContextReleaseComplete are failed at the same time,
UE cannot attach to the EPC infinitely.

So, I've add the protection code
if timer expires when MME does not receive Delete-Session-Response.
This commit is contained in:
Sukchan Lee 2021-03-09 14:28:07 +09:00
parent 56c0987ad2
commit fc5c9b2af0
20 changed files with 1313 additions and 118 deletions

View file

@ -240,6 +240,7 @@ static void test1_func(abts_case *tc, void *data)
/* Send TAU Request */
memset(&test_ue->tau_request_param, 0, sizeof(test_ue->tau_request_param));
test_ue->tau_request_param.integrity_protected = 1;
test_ue->tau_request_param.ciphered = 1;
test_ue->tau_request_param.ue_network_capability = 1;
test_ue->tau_request_param.last_visited_registered_tai = 1;
@ -287,6 +288,7 @@ static void test1_func(abts_case *tc, void *data)
/* Send TAU Request */
memset(&test_ue->tau_request_param, 0, sizeof(test_ue->tau_request_param));
test_ue->tau_request_param.integrity_protected = 1;
test_ue->tau_request_param.ciphered = 1;
test_ue->tau_request_param.ue_network_capability = 1;
test_ue->tau_request_param.last_visited_registered_tai = 1;
@ -529,6 +531,7 @@ static void test2_func(abts_case *tc, void *data)
/* Send TAU Request */
memset(&test_ue->tau_request_param, 0, sizeof(test_ue->tau_request_param));
test_ue->tau_request_param.integrity_protected = 1;
test_ue->tau_request_param.ciphered = 1;
test_ue->tau_request_param.ue_network_capability = 1;
test_ue->tau_request_param.last_visited_registered_tai = 1;