mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-01 21:00:19 +00:00
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:
parent
56c0987ad2
commit
fc5c9b2af0
20 changed files with 1313 additions and 118 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue