diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-30 16:14:22 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-02 11:44:58 +0200 |
commit | 02514bc592923b9c082942d64fcf06db2e4bfd44 (patch) | |
tree | 61a5ca23eec7da520d6876873939b5720c4ace4b /include/osmocom/sgsn/gprs_sgsn.h | |
parent | 9119d50849b8c4efa7a2074ff004c3a671e8c13f (diff) |
Introduce FSM mm_state_gb_fsm
Implement TS 23.060 6.1.1 Mobility Management States (A/Gb mode) using
osmocom FSM and drop old implementation.
Most of the logic on each state is still kept in gprs_gmm.c, will be
inserted into the FSM later.
Change-Id: I04004423e993107374d5a3549b8a93ac169251dd
Diffstat (limited to 'include/osmocom/sgsn/gprs_sgsn.h')
-rw-r--r-- | include/osmocom/sgsn/gprs_sgsn.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index f64e07b18..382019c2d 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -32,12 +32,6 @@ enum gprs_gmm_state { GMM_DEREGISTERED_INIT, /* 4.1.3.3.1.4 */ }; -/* TS 23.060 6.1.1 Mobility Management States (A/Gb mode) */ -enum gprs_mm_state_gb { - MM_IDLE, - MM_READY, - MM_STANDBY -}; /* TS 23.060 6.1.2 Mobility Management States (Iu mode) */ enum gprs_mm_state_iu { PMM_DETACHED, @@ -161,10 +155,7 @@ struct sgsn_mm_ctx { uint32_t tlli_new; /* TS 23.060 6.1.1 Mobility Management States (A/Gb mode) */ - enum gprs_mm_state_gb mm_state; - /* timer for mm state. state=READY: T3314 (aka TS 23.060 "READY timer") */ - struct osmo_timer_list state_timer; - unsigned int state_T; /* Txxxx number but only used for mm_state */ + struct osmo_fsm_inst *mm_state_fsm; } gb; struct { int new_key; |