summaryrefslogtreecommitdiffstats
path: root/library/GSM_Types.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-28 13:30:24 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-28 13:30:24 +0200
commit484160bf217300452166ec2eda09fed06f93e5aa (patch)
tree52f6d57bad2d2e84d71952b6f155c0047aca50ce /library/GSM_Types.ttcn
parent9a8f503f9ab85c309de8fc348186ac3b6c58b1d1 (diff)
library: Initial work on GPRS RLC/MAC encoder/decoder
For Downlink and Uplink RLC/MAC Control blocks this is already working quite nicely. Data blocks is not working, as their encoding cannot be expressed in TTCN-3 RAW syntax, and a mixture of C++/native and RAW-generated coder will be required.
Diffstat (limited to 'library/GSM_Types.ttcn')
-rw-r--r--library/GSM_Types.ttcn19
1 files changed, 19 insertions, 0 deletions
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index c205140..7275101 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -16,6 +16,7 @@ module GSM_Types {
type integer GsmRxLev (0..63);
type integer GsmTsc (0..7) with { variant "FIELDLENGTH(8)" };
type uint32_t GsmTmsi;
+ type uint32_t GprsTlli;
/* Table 10.4.1 of Section 10.4 / 3GPP TS 44.018 */
type enumerated RrMessageType {
@@ -149,6 +150,9 @@ module GSM_Types {
type record MaioHsn {
} with { variant "" };
+ /* TS 24.008 10.5.1.1 */
+ type uint16_t CellIdentity;
+
/* TS 24.008 10.5.1.2 */
type uint4_t CipheringKeySeqNr (0..7);
@@ -335,6 +339,21 @@ module GSM_Types {
boolean ps_ir
} with { variant "" };
+ /* 24.008 10.5.5.6 */
+ type record DrxParameter {
+ uint8_t split_pg_cycle_code,
+ uint4_t drx_cycle_len_coeff,
+ boolean split_on_ccch,
+ uint3_t non_drx_timer
+ } with { variant "" };
+
+ /* 24.008 10.5.5.15 */
+ type record RoutingAreaIdentification {
+ LocationAreaIdentification lai,
+ uint8_t rac
+ } with { variant "" };
+
+
/* 9.1.18 */
type record ImmediateAssignment {