50
50
#include "mme_app_sgs_fsm.h"
51
51
#include "s1ap_messages_types.h"
52
52
#include "sgs_messages_types.h"
53
- #include "emm_proc.h"
54
53
55
54
/**
56
55
* Function to send a SGS EPS detach indication to SGSAP in either the initial case
@@ -457,47 +456,37 @@ void mme_app_handle_sgs_detach_req(
457
456
OAILOG_DEBUG (LOG_MME_APP , "SGS Detach type = ( %d )\n" , detach_type );
458
457
if (sgs_fsm_get_status (evnt .ue_id , evnt .ctx ) != SGS_NULL ) {
459
458
switch (detach_type ) {
460
- /*
461
- * Handle Ue initiated EPS detach towards SGS
462
- */
459
+ // Handle Ue initiated EPS detach towards SGS
463
460
case EMM_SGS_UE_INITIATED_EPS_DETACH : {
464
461
ue_context_p -> sgs_detach_type = SGS_UE_INITIATED_IMSI_DETACH_FROM_EPS ;
465
462
mme_app_send_sgs_eps_detach_indication (
466
463
ue_context_p , ue_context_p -> sgs_detach_type );
467
464
evnt .primitive = _SGS_EPS_DETACH_IND ;
468
465
} break ;
469
- /*
470
- * Handle Ue initiated IMSI detach towards SGS
471
- */
466
+ // Handle Ue initiated IMSI detach towards SGS
472
467
case EMM_SGS_UE_INITIATED_EXPLICIT_NONEPS_DETACH : {
473
468
ue_context_p -> sgs_detach_type =
474
469
SGS_EXPLICIT_UE_INITIATED_IMSI_DETACH_FROM_NONEPS ;
475
470
mme_app_send_sgs_imsi_detach_indication (
476
471
ue_context_p , ue_context_p -> sgs_detach_type );
477
472
evnt .primitive = _SGS_IMSI_DETACH_IND ;
478
473
} break ;
479
- /*
480
- * Handle Ue initiated Combined EPS/IMSI detach towards SGS
481
- */
474
+ // Handle Ue initiated Combined EPS/IMSI detach towards SGS
482
475
case EMM_SGS_UE_INITIATED_COMBINED_DETACH : {
483
476
ue_context_p -> sgs_detach_type =
484
477
SGS_COMBINED_UE_INITIATED_IMSI_DETACH_FROM_EPS_N_NONEPS ;
485
478
mme_app_send_sgs_imsi_detach_indication (
486
479
ue_context_p , ue_context_p -> sgs_detach_type );
487
480
evnt .primitive = _SGS_IMSI_DETACH_IND ;
488
481
} break ;
489
- /*
490
- * Handle Network initiated EPS detach towards SGS
491
- */
482
+ // Handle Network initiated EPS detach towards SGS
492
483
case EMM_SGS_NW_INITIATED_EPS_DETACH : {
493
484
ue_context_p -> sgs_detach_type = SGS_NW_INITIATED_IMSI_DETACH_FROM_EPS ;
494
485
mme_app_send_sgs_eps_detach_indication (
495
486
ue_context_p , ue_context_p -> sgs_detach_type );
496
487
evnt .primitive = _SGS_EPS_DETACH_IND ;
497
488
} break ;
498
- /*
499
- * Handle Network initiated Implicit IMSI detach towards SGS
500
- */
489
+ // Handle Network initiated Implicit IMSI detach towards SGS
501
490
case EMM_SGS_NW_INITIATED_IMPLICIT_NONEPS_DETACH : {
502
491
ue_context_p -> sgs_detach_type =
503
492
SGS_IMPLICIT_NW_INITIATED_IMSI_DETACH_FROM_EPS_N_NONEPS ;
@@ -514,9 +503,8 @@ void mme_app_handle_sgs_detach_req(
514
503
break ;
515
504
}
516
505
/*
517
- * Call the SGS FSM process function to
518
- * process the respective message in different state
519
- * and update the SGS State based on event
506
+ * Call the SGS FSM to process the respective message
507
+ * in different state and update the SGS State based on event
520
508
*/
521
509
sgs_fsm_process (& evnt );
522
510
}
0 commit comments