summaryrefslogtreecommitdiffstats
path: root/library/GSM_RR_Types.ttcn
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-28 16:03:55 +0200
committerHarald Welte <laforge@gnumonks.org>2018-10-03 21:39:10 +0000
commit0aad596264b85e7a51b8ef62b05334b3cfdb0f3a (patch)
treea8e3b951ac31242a7c0ff5f48693ecf75ef2a2b6 /library/GSM_RR_Types.ttcn
parent98e03158784ceb4363dc3106f450bdf48b4d5b81 (diff)
L1CTL_Types: Add support to set L1 Header params during SACCH tx
Diffstat (limited to 'library/GSM_RR_Types.ttcn')
-rw-r--r--library/GSM_RR_Types.ttcn15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index ef209e4..675271f 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -158,6 +158,21 @@ module GSM_RR_Types {
message_type := msg_type
}
+ /* TS 44.004 7.2.1 */
+ type record SacchL1Header {
+ uint2_t reserved,
+ boolean fpc,
+ uint5_t ms_power_lvl,
+ uint8_t actual_ta
+ } with { variant "FIELDORDER(msb)" };
+
+ template (value) SacchL1Header ts_SacchL1Header(uint5_t ms_power_lvl, boolean fpc, uint8_t actual_ta) := {
+ reserved := 0,
+ fpc := fpc,
+ ms_power_lvl := ms_power_lvl,
+ actual_ta := actual_ta
+ };
+
type record MaioHsn {
} with { variant "" };