path: root/include
diff options
authorAlexander Couzens <lynxis@fe80.eu>2017-02-03 22:16:05 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-20 17:48:47 +0200
commit39cbecd273b16d72dd7b4aa8b307e5d4bc643474 (patch)
treec9329192f33f3833f73d2664d909ad5c1750565b /include
parent5ed3f67f96ce29a1afcd9db89b45752c1d69ac8c (diff)
gprs/gprs_gmm: implement T3314. Timeout to reset MM state READY->STANDBY
When a MS MM state is READY its exact location is known (PCU). On Gb, T3314 (aka TS 23.060 "READY timer") sets the MM state from READY to STANDBY, where only the RA is known. Introduce a second set of timer variables, because state timer can run while another packet state timer is timing out. Related: OS#1941 Change-Id: I4ce23ebe50d141076c20c9c56990b7103cd25e55
Diffstat (limited to 'include')
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index 9753ea21..336155c9 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -156,6 +156,10 @@ struct sgsn_mm_ctx {
struct gprs_llc_llme *llme;
uint32_t tlli;
uint32_t tlli_new;
+ /* 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 pmm_states */
} gb;
struct {
int new_key;