library/RSL_Types: add templates for RSL_IE_OSMO_TopAcchCap

Change-Id: If2e287699925c6bb7f93439d0729e16682fab019
Related: SYS#5319
This commit is contained in:
Vadim Yanitskiy 2021-11-06 18:18:13 +03:00 committed by fixeria
parent a203d3b5e2
commit 66d3c338c3
1 changed files with 23 additions and 0 deletions

View File

@ -893,6 +893,29 @@ module RSL_Types {
uint3_t overpower_db
} with { variant (len) "LENGTHTO(sacch_enable,facch_enable,rxqual,overpower_db)" }
template (value) RSL_IE_OSMO_TopAcchCap
ts_RSL_IE_OSMO_TopAcchCap(template (value) uint3_t overpower := 2,
template (value) uint3_t rxqual := 4,
boolean facch_enable := true,
boolean sacch_enable := true) := {
len := 0, /* overwritten */
sacch_enable := sacch_enable,
facch_enable := facch_enable,
rxqual := rxqual,
overpower_db := overpower
};
template RSL_IE_OSMO_TopAcchCap
tr_RSL_IE_OSMO_TopAcchCap(template (present) uint3_t overpower := ?,
template (present) uint3_t rxqual := ?,
template (present) boolean facch_enable := ?,
template (present) boolean sacch_enable := ?) := {
len := ?, /* overwritten */
sacch_enable := sacch_enable,
facch_enable := facch_enable,
rxqual := rxqual,
overpower_db := overpower
};
/* union of all IE bodies */
type union RSL_IE_Body {
RslChannelNr chan_nr,