diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-30 17:19:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-30 17:19:41 +0200 |
commit | 88849c61b2b67d1fef214f6ec8607e0781f7c5bd (patch) | |
tree | 46e94561494fc84182bd943525bbd50899919521 /library/L1CTL_Types.ttcn | |
parent | b3c226ebdefb3e8a140a99b9fa761fe5a4c183e1 (diff) |
L1CTL_Types: Split t_IMM_ASS() off t_RR_IMM_ASS()
It's useful to have a separat template only for the IM_ASS part, without
RR header.
Diffstat (limited to 'library/L1CTL_Types.ttcn')
-rw-r--r-- | library/L1CTL_Types.ttcn | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn index 4b68c613..f687c952 100644 --- a/library/L1CTL_Types.ttcn +++ b/library/L1CTL_Types.ttcn @@ -501,18 +501,21 @@ module L1CTL_Types { } }; - template GsmRrMessage t_RR_IMM_ASS(uint8_t ra, uint8_t fn) := { + template ImmediateAssignment t_IMM_ASS(uint8_t ra, GsmFrameNumber fn) := { + ded_or_tbf := ?, + page_mode := ?, + chan_desc := *, + pkt_chan_desc := *, + req_ref := f_compute_ReqRef(ra, fn), + timing_advance := ?, + mobile_allocation := ?, + rest_octets:= ? + }; + + template GsmRrMessage t_RR_IMM_ASS(uint8_t ra, GsmFrameNumber fn) := { header := t_RrHeader(IMMEDIATE_ASSIGNMENT, ?), payload := { - imm_ass := { - ded_or_tbf := ?, - page_mode := ?, - chan_desc := *, - pkt_chan_desc := *, - req_ref := f_compute_ReqRef(ra, fn), - timing_advance := ?, - mobile_allocation := ? - } + imm_ass := t_IMM_ASS(ra, fn) } }; |