summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-17 15:48:47 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-18 20:11:12 +0700
commit79da4ce0fbe7751ddc4603b2a3e80061e32772d8 (patch)
treea536a6b30e8baa529fb8a8078fbbf91de60af037 /library
parentdd82be3c53e9b6c9598d9657e4679463cd7d4141 (diff)
library/GSM_RR_Types: declare {enc,dec}_SacchL1Header()
Diffstat (limited to 'library')
-rw-r--r--library/GSM_RR_Types.ttcn5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index b7e02ec..b4aff10 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -193,6 +193,11 @@ module GSM_RR_Types {
uint8_t actual_ta
} with { variant "FIELDORDER(msb)" };
+ external function enc_SacchL1Header(in SacchL1Header hdr) return octetstring
+ with { extension "prototype(convert) encode(RAW)" };
+ external function dec_SacchL1Header(in octetstring stream) return SacchL1Header
+ with { extension "prototype(convert) decode(RAW)" };
+
template (value) SacchL1Header ts_SacchL1Header(uint5_t ms_power_lvl, boolean fpc, uint8_t actual_ta) := {
reserved := 0,
fpc := fpc,