RSL_Types: add tr_RSL_PAGING_CMD / tr_RSL_IMM_ASSIGN templates

This commit is contained in:
Harald Welte 2017-12-07 17:54:35 +01:00
parent fff6930765
commit c287775e35
1 changed files with 29 additions and 0 deletions

View File

@ -512,6 +512,12 @@ module RSL_Types {
body := body
}
template RSL_IE tr_RSL_IE(template RSL_IE_Body body) := {
iei := ?, /* overwritten? */
body := body
}
type record of RSL_IE RSL_IE_List;
type record RSL_Message {
@ -691,6 +697,29 @@ module RSL_Types {
}
}
/* 8.5.5 BSC -> BTS */
template RSL_Message tr_RSL_PAGING_CMD(template octetstring identity, template uint3_t tn := ?) := {
msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),
msg_type := RSL_MT_PAGING_CMD,
ies := {
tr_RSL_IE(RSL_IE_Body:{chan_nr := t_RslChanNr_PCH_AGCH(tn)}),
tr_RSL_IE(RSL_IE_Body:{paging_group := ?}),
tr_RSL_IE(RSL_IE_Body:{ms_identity := ts_RSL_LV(identity)}),
* /* opt: channel needed, eMLPP prio */
}
}
/* 8.5.6 BSC -> BTS */
template RSL_Message tr_RSL_IMM_ASSIGN(template uint3_t tn := ?) := {
msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),
msg_type := RSL_MT_IMMEDIATE_ASSIGN_CMD,
ies := {
tr_RSL_IE(RSL_IE_Body:{chan_nr := t_RslChanNr_PCH_AGCH(tn)}),
tr_RSL_IE(RSL_IE_Body:{full_imm_ass_info := ?})
}
}
/* 8.6.4 BTS -> BSC */
template RSL_Message ts_RSL_ERROR_REPORT(RSL_Cause cause) := {
msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),