library/RSL_Types: add missing Channel Identification IE

Change-Id: I4698fd15a14ee55aa4004d80e65912531f78cf06
This commit is contained in:
Vadim Yanitskiy 2020-08-25 04:20:51 +07:00 committed by laforge
parent c3156ed104
commit e02dbcce9f
1 changed files with 44 additions and 0 deletions

View File

@ -15,6 +15,7 @@ module RSL_Types {
import from General_Types all;
import from Osmocom_Types all;
import from GSM_RR_Types all;
import from GSM_Types all;
import from MobileL3_CommonIE_Types all;
import from L3_Templates all;
@ -319,6 +320,47 @@ module RSL_Types {
a_bits := ACT_REL_TO_OSMO_PDCH
}
/* 9.3.5 */
type record RSL_IE_ChannelIdent {
uint8_t len,
/* 3GPP TS 44.018 Channel Description IE (TV) */
ChannelDescriptionTV ch_desc,
/* 3GPP TS 44.018 Mobile Allocation IE (shall be empty) */
MobileAllocationTLV ma
} with { variant (len) "LENGTHTO(ch_desc,ma)" };
template (value) RSL_IE_ChannelIdent
ts_RSL_ChannelIdent(template (value) ChannelDescription ch_desc) := {
len := 0, /* overwritten */
ch_desc := {
iei := '64'O,
v := ch_desc
},
/* Shall be included but empty */
ma := {
iei := '72'O,
v := {
len := 0,
ma := ''B
}
}
};
template RSL_IE_ChannelIdent
tr_RSL_ChannelIdent(template (present) ChannelDescription ch_desc := ?,
template (present) MobileAllocationLV ma := ?) := {
len := ?,
ch_desc := {
iei := '64'O,
v := ch_desc
},
/* Shall be included but empty */
ma := {
iei := '72'O,
v := ma
}
};
/* 9.3.6 */
type enumerated RSL_SpeechDataInd {
RSL_SPDI_SPEECH ('00000001'B),
@ -791,6 +833,7 @@ module RSL_Types {
RSL_LV rlm_cause,
RSL_IE_ReleaseMode release_mode,
RSL_IE_ActivationType act_type,
RSL_IE_ChannelIdent chan_ident,
RSL_IE_ChannelMode chan_mode,
uint8_t handover_ref,
RSL_IE_BS_Power bs_power,
@ -846,6 +889,7 @@ module RSL_Types {
rlm_cause, iei = RSL_IE_RLM_CAUSE;
release_mode, iei = RSL_IE_RELEASE_MODE;
act_type, iei = RSL_IE_ACT_TYPE;
chan_ident, iei = RSL_IE_CHAN_IDENT;
chan_mode, iei = RSL_IE_CHAN_MODE;
handover_ref, iei = RSL_IE_HANDO_REF;
bs_power, iei = RSL_IE_BS_POWER;