library/RSL_Types: use MobileIdentityLV for MS Identity IE
Change-Id: I5436dcbbc961d5b572e10e4f1a3f806d252d7818
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index f905973..ff0e2e5 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -16,6 +16,8 @@
import from General_Types all;
import from Osmocom_Types all;
import from GSM_Types all;
+ import from MobileL3_CommonIE_Types all;
+ import from L3_Templates all;
/* Section 9.1 */
type enumerated RSL_MessageGroup {
@@ -819,7 +821,7 @@
uint8_t smscb_chan_ind,
RSL_IE_RequestRef req_ref,
RSL_LV full_imm_ass_info,
- RSL_LV ms_identity,
+ MobileIdentityLV ms_identity,
uint16_t ipa_conn_id,
uint16_t ipa_local_port,
@@ -1677,23 +1679,23 @@
}
/* 8.5.5 BSC -> BTS */
- template RSL_Message tr_RSL_PAGING_CMD(template octetstring identity, template uint3_t tn := ?) := {
+ template RSL_Message tr_RSL_PAGING_CMD(template MobileIdentityV mi, template uint3_t tn := ?) := {
msg_disc := tr_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 := tr_RSL_LV(identity)}),
+ tr_RSL_IE(RSL_IE_Body:{ms_identity := tr_MI_LV(mi)}),
* /* opt: channel needed, eMLPP prio */
}
}
- template (value) RSL_Message ts_RSL_PAGING_CMD(octetstring identity, uint8_t pg, uint3_t tn := 0) := {
+ template (value) RSL_Message ts_RSL_PAGING_CMD(MobileIdentityV mi, uint8_t pg, uint3_t tn := 0) := {
msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),
msg_type := RSL_MT_PAGING_CMD,
ies := {
t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := ts_RslChanNr_PCH_AGCH(tn)}),
t_RSL_IE(RSL_IE_PAGING_GROUP, RSL_IE_Body:{paging_group := pg}),
- t_RSL_IE(RSL_IE_MS_IDENTITY, RSL_IE_Body:{ms_identity := ts_RSL_LV(identity)})
+ t_RSL_IE(RSL_IE_MS_IDENTITY, RSL_IE_Body:{ms_identity := ts_MI_LV(mi)})
}
}