5050#include "mme_app_sgs_fsm.h"
5151#include "s1ap_messages_types.h"
5252#include "sgs_messages_types.h"
53- #include "emm_proc.h"
5453
5554/**
5655 * 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(
457456 OAILOG_DEBUG (LOG_MME_APP , "SGS Detach type = ( %d )\n" , detach_type );
458457 if (sgs_fsm_get_status (evnt .ue_id , evnt .ctx ) != SGS_NULL ) {
459458 switch (detach_type ) {
460- /*
461- * Handle Ue initiated EPS detach towards SGS
462- */
459+ // Handle Ue initiated EPS detach towards SGS
463460 case EMM_SGS_UE_INITIATED_EPS_DETACH : {
464461 ue_context_p -> sgs_detach_type = SGS_UE_INITIATED_IMSI_DETACH_FROM_EPS ;
465462 mme_app_send_sgs_eps_detach_indication (
466463 ue_context_p , ue_context_p -> sgs_detach_type );
467464 evnt .primitive = _SGS_EPS_DETACH_IND ;
468465 } break ;
469- /*
470- * Handle Ue initiated IMSI detach towards SGS
471- */
466+ // Handle Ue initiated IMSI detach towards SGS
472467 case EMM_SGS_UE_INITIATED_EXPLICIT_NONEPS_DETACH : {
473468 ue_context_p -> sgs_detach_type =
474469 SGS_EXPLICIT_UE_INITIATED_IMSI_DETACH_FROM_NONEPS ;
475470 mme_app_send_sgs_imsi_detach_indication (
476471 ue_context_p , ue_context_p -> sgs_detach_type );
477472 evnt .primitive = _SGS_IMSI_DETACH_IND ;
478473 } break ;
479- /*
480- * Handle Ue initiated Combined EPS/IMSI detach towards SGS
481- */
474+ // Handle Ue initiated Combined EPS/IMSI detach towards SGS
482475 case EMM_SGS_UE_INITIATED_COMBINED_DETACH : {
483476 ue_context_p -> sgs_detach_type =
484477 SGS_COMBINED_UE_INITIATED_IMSI_DETACH_FROM_EPS_N_NONEPS ;
485478 mme_app_send_sgs_imsi_detach_indication (
486479 ue_context_p , ue_context_p -> sgs_detach_type );
487480 evnt .primitive = _SGS_IMSI_DETACH_IND ;
488481 } break ;
489- /*
490- * Handle Network initiated EPS detach towards SGS
491- */
482+ // Handle Network initiated EPS detach towards SGS
492483 case EMM_SGS_NW_INITIATED_EPS_DETACH : {
493484 ue_context_p -> sgs_detach_type = SGS_NW_INITIATED_IMSI_DETACH_FROM_EPS ;
494485 mme_app_send_sgs_eps_detach_indication (
495486 ue_context_p , ue_context_p -> sgs_detach_type );
496487 evnt .primitive = _SGS_EPS_DETACH_IND ;
497488 } break ;
498- /*
499- * Handle Network initiated Implicit IMSI detach towards SGS
500- */
489+ // Handle Network initiated Implicit IMSI detach towards SGS
501490 case EMM_SGS_NW_INITIATED_IMPLICIT_NONEPS_DETACH : {
502491 ue_context_p -> sgs_detach_type =
503492 SGS_IMPLICIT_NW_INITIATED_IMSI_DETACH_FROM_EPS_N_NONEPS ;
@@ -514,9 +503,8 @@ void mme_app_handle_sgs_detach_req(
514503 break ;
515504 }
516505 /*
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
520508 */
521509 sgs_fsm_process (& evnt );
522510 }
0 commit comments