aboutsummaryrefslogtreecommitdiffstats
path: root/library/Osmocom_Types.ttcn
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-05-05 00:19:50 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-05-06 02:26:03 +0700
commit12cf3d908aefd7953fc7ec6b4fca8023c3072d9e (patch)
treedc70a183f778883b29b06715764ebe377bff92ef /library/Osmocom_Types.ttcn
parent0217b05050c5e193cd5dda07488d80c5defc95d4 (diff)
BTS: manually compose Rest Octets for SI Type 3 and 4
Finally, we can get rid of hard-coded octetstrings and control every field of the Rest Octets we're sending to the IUT. Note that template 'ts_SI4_default' did not contain any Rest Octets at all, thus the GPRS indicator was (and still is) absent. This will be fixed in a follow up change. Change-Id: I0a95b34b495267edf1f48692e24fcd5ede8ccdd1 Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
Diffstat (limited to 'library/Osmocom_Types.ttcn')
-rw-r--r--library/Osmocom_Types.ttcn4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/Osmocom_Types.ttcn b/library/Osmocom_Types.ttcn
index 3b2ca174..16395df0 100644
--- a/library/Osmocom_Types.ttcn
+++ b/library/Osmocom_Types.ttcn
@@ -40,6 +40,10 @@ module Osmocom_Types {
const uint16_t c_UINT16_MAX := 65535;
const uint32_t c_UINT32_MAX := 4294967295;
+ /* CSN.1 L/H placeholders */
+ const BIT1 CSN1_L := '0'B;
+ const BIT1 CSN1_H := '1'B;
+
type record Arfcn {
boolean pcs,
uint15_t arfcn