From 39cbecd273b16d72dd7b4aa8b307e5d4bc643474 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 3 Feb 2017 22:16:05 +0100 Subject: 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 --- include/osmocom/sgsn/gprs_sgsn.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index 9753ea211..336155c9b 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; -- cgit v1.2.3