summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-10-22 18:06:07 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-10-26 17:46:44 +0100
commitbfd69f61335ff327cdc9705e1a3f44bef29cfc7e (patch)
tree80a99b6504fdcb4c5f3551a87c75b33e2aae37ea /library
parentb88f21cc8442d948eaaca0c96afea086ba0fdd09 (diff)
pcu: Introduce test TC_multitrx_multims_alloc
Diffstat (limited to 'library')
-rw-r--r--library/GSM_Types.ttcn9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index ee6635b..bcf2794 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -46,6 +46,15 @@ function f_gprs_blocksize(GprsCodingScheme cs) return integer {
}
}
+const GprsTlli TLLI_UNUSED := 'FFFFFFFF'O;
+function f_gen_tlli() return GprsTlli {
+ var GprsTlli tlli := f_rnd_octstring(4);
+ if (tlli == TLLI_UNUSED) {
+ tlli := 'EEEEEEEE'O;
+ }
+ return tlli;
+}
+
/* 10.5.2.8 */
type enumerated ChannelNeeded {
CHAN_NEED_ANY (0),