2017-03-24 09:47:05 +00:00
|
|
|
#ifndef __MME_SM_H__
|
|
|
|
#define __MME_SM_H__
|
2017-02-13 00:58:55 +00:00
|
|
|
|
|
|
|
#include "core_param.h"
|
|
|
|
#include "core_fsm.h"
|
2017-03-26 06:34:34 +00:00
|
|
|
#include "core_event.h"
|
2017-02-13 00:58:55 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-04-11 00:32:34 +00:00
|
|
|
void mme_state_initial(fsm_t *s, event_t *e);
|
|
|
|
void mme_state_final(fsm_t *s, event_t *e);
|
|
|
|
void mme_state_operational(fsm_t *s, event_t *e);
|
|
|
|
void mme_state_exception(fsm_t *s, event_t *e);
|
|
|
|
|
|
|
|
void s1ap_state_initial(fsm_t *s, event_t *e);
|
|
|
|
void s1ap_state_final(fsm_t *s, event_t *e);
|
|
|
|
void s1ap_state_operational(fsm_t *s, event_t *e);
|
|
|
|
void s1ap_state_exception(fsm_t *s, event_t *e);
|
|
|
|
|
|
|
|
void emm_state_initial(fsm_t *s, event_t *e);
|
|
|
|
void emm_state_final(fsm_t *s, event_t *e);
|
2018-01-23 08:18:18 +00:00
|
|
|
void emm_state_de_registered(fsm_t *s, event_t *e);
|
2017-09-04 04:04:35 +00:00
|
|
|
void emm_state_authentication(fsm_t *s, event_t *e);
|
|
|
|
void emm_state_security_mode(fsm_t *s, event_t *e);
|
2018-01-16 13:14:59 +00:00
|
|
|
void emm_state_initial_context_setup(fsm_t *s, event_t *e);
|
2018-01-23 08:18:18 +00:00
|
|
|
void emm_state_registered(fsm_t *s, event_t *e);
|
2017-04-11 00:32:34 +00:00
|
|
|
void emm_state_exception(fsm_t *s, event_t *e);
|
|
|
|
|
|
|
|
void esm_state_initial(fsm_t *s, event_t *e);
|
|
|
|
void esm_state_final(fsm_t *s, event_t *e);
|
2017-09-05 03:37:27 +00:00
|
|
|
void esm_state_inactive(fsm_t *s, event_t *e);
|
|
|
|
void esm_state_active(fsm_t *s, event_t *e);
|
2018-01-16 13:14:59 +00:00
|
|
|
void esm_state_pdn_will_disconnect(fsm_t *s, event_t *e);
|
|
|
|
void esm_state_pdn_did_disconnect(fsm_t *s, event_t *e);
|
|
|
|
void esm_state_bearer_deactivated(fsm_t *s, event_t *e);
|
|
|
|
void esm_state_exception(fsm_t *s, event_t *e);
|
2017-03-27 10:32:24 +00:00
|
|
|
|
2017-03-24 09:47:05 +00:00
|
|
|
#define mme_sm_print(__pe) \
|
|
|
|
d_print("%s(): %s\n", __func__, mme_event_get_name(__pe))
|
2017-02-13 00:58:55 +00:00
|
|
|
|
2017-03-24 09:47:05 +00:00
|
|
|
#define mme_sm_trace(__l, __pe) \
|
|
|
|
d_trace(__l, "%s(): %s\n", __func__, mme_event_get_name(__pe))
|
2017-02-13 00:58:55 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2017-03-24 09:47:05 +00:00
|
|
|
#endif /* !__MME_SM_H__ */
|