library/GSM_RR_Types: declare {enc,dec}_SacchL1Header()

Change-Id: If2acd617d8bb543851e827ec74bb93d8da5b4966
Related: SYS#4916
This commit is contained in:
Vadim Yanitskiy 2020-10-17 15:48:47 +07:00
parent dd82be3c53
commit 79da4ce0fb
1 changed files with 5 additions and 0 deletions

View File

@ -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,