aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-05 22:53:24 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2016-02-09 23:09:59 +0100
commitcd527dc445fef28200655d9debf719b5dc778937 (patch)
treeb7773eab9c2382f565bdb82fbb1f05dad87fd304 /src/tbf.h
parentf6dda6ce98c5ab7e4921e080b314875e207f6190 (diff)
tbf: Start timer when sending an immediate assigment (TODO)
Currently a timer is only started, when the confirmation is received. Start a timer, when the assignment is sent. The timer is named T3141 (see TS 44.108, 3.5.2.1.3.1) but this might not be the correct timer name, since TS 44.018 says, that T3141 is started, when the IMM.ASS is sent to the MS. Here it is assumed, that this is the time the request is passed to the BTS. The values are 10s for PCH and 5s for AGCH. TODO: - check the timeouts, sthey should be above the maximum BTS queuing time. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 41a7e20a..dbb29783 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -38,6 +38,14 @@ class GprsMs;
* TBF instance
*/
+/*
+ * TODO: T3141 might not be the correct timer name, since TS 44.018 says, that
+ * T3141 is started, when the IMM.ASS is sent to the MS. Here it is assumed,
+ * that this is the time the request is passed to the BTS. Make these values
+ * configurable.
+ */
+#define T3141_pch 10,0 /* waiting after queuing IMM.ASS to PCH */
+#define T3141_agch 5,0 /* waiting after queuing IMM.ASS to AGCH */
#define Tassign_agch 0,200000 /* waiting after IMM.ASS confirm */
#define Tassign_pacch 2,0 /* timeout for pacch assigment */