summaryrefslogtreecommitdiffstats
path: root/library/GSM_RR_Types.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-09 12:50:02 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-12 15:50:03 +0100
commitb669ee029eb10743ffa17829c63a0f47402de503 (patch)
tree366c47a0449a4dde88ce59f722c2ad6e164a59a8 /library/GSM_RR_Types.ttcn
parent0cae455d2c36fa0278afe33944a0980e033ee75e (diff)
pcu: First DL TBF hack
Diffstat (limited to 'library/GSM_RR_Types.ttcn')
-rw-r--r--library/GSM_RR_Types.ttcn51
1 files changed, 51 insertions, 0 deletions
diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 75be6f8..b1e6809 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -706,6 +706,57 @@ module GSM_RR_Types {
}
};
+ template ImmediateAssignment t_IMM_ASS_TBF_DL(template GprsTlli tlli) := {
+ ded_or_tbf := {
+ spare := ?,
+ tma := ?,
+ downlink := ?,
+ tbf := true
+ },
+ page_mode := ?,
+ chan_desc := omit,
+ pkt_chan_desc := {
+ channel_Type_spare := ?,
+ tn := ?,
+ tsc := ?,
+ presence := ?,
+ zero := *,
+ one := omit
+ },
+ req_ref := ?,
+ timing_advance := ?,
+ mobile_allocation := ?,
+ rest_octets := {
+ presence := '11'B,
+ ll := omit,
+ lh := omit,
+ hl := omit,
+ hh := {
+ presence := '01'B,
+ ul := omit,
+ dl := {
+ tlli := tlli,
+ group1_present := ?,
+ group1 := *,
+ ta_index_present := ?,
+ ta_index := *,
+ tbf_starting_time_present := ?,
+ tbf_starting_time := *,
+ p0_present := ?,
+ p0 := *,
+ pr_mode := *
+ }
+ }
+ }
+ };
+
+ template GsmRrMessage t_RR_IMM_ASS_TBF_DL(template GprsTlli tlli) := {
+ header := t_RrHeader(IMMEDIATE_ASSIGNMENT, ?),
+ payload := {
+ imm_ass := t_IMM_ASS_TBF_DL(tlli)
+ }
+ };
+
} with { encode "RAW" ; variant "FIELDORDER(msb)" }