Osmocom_Gb_Types: Add ts_BSSGP_UL_UD and tr_BSSGP_PS_PAGING

Change-Id: I0504ee9137eef08c2ab0c710d1b57b2c19bf0db8
This commit is contained in:
Harald Welte 2018-02-16 18:13:45 +01:00
parent ccda45ecf9
commit 78d9f275c2
1 changed files with 35 additions and 0 deletions

View File

@ -608,6 +608,25 @@ octetstring sdu) := {
}
}
template PDU_BSSGP ts_BSSGP_UL_UD(OCT4 tlli, BssgpCellId cell_id, octetstring payload) := {
pDU_BSSGP_UL_UNITDATA := {
bssgpPduType := '01'O,
tLLI := tlli,
qoS_Profile := t_defaultQos,
cell_Identifier := t_BSSGP_IE_CellId(cell_id),
pFI := omit,
lSA_Identifier_List := omit,
redirect_Attempt_Flag := omit,
iMSI_BSSGP := omit,
unconfirmed_Send_State_Variable := omit,
selected_PLMN_ID := omit,
selected_Operator := omit,
cS_Registered_Operator := omit,
alignment_octets := omit,
lLC_PDU := ts_BSSGP_LLC_PDU(payload)
}
}
template PDU_BSSGP tr_BSSGP_UL_UD(template GprsTlli tlli := ?, template BssgpCellId cell_id := ?,
template octetstring payload := ?) := {
pDU_BSSGP_UL_UNITDATA := {
@ -628,6 +647,22 @@ octetstring sdu) := {
}
}
template PDU_BSSGP tr_BSSGP_PS_PAGING(BssgpBvci bvci) := {
pDU_BSSGP_PAGING_PS := {
bssgpPduType := '06'O,
iMSI := ?,
dRX_Parameters := *,
paging_Field4 := {
bVCI := t_BSSGP_BVCI(bvci)
},
pFI := *,
aBQP := *,
qoS_Profile := ?,
pTMSI := *,
eDRX_Paremeters := *
}
}
template PDU_BSSGP ts_BSSGP_PS_PAGING_IMSI(BssgpBvci bvci, hexstring imsi) := {
pDU_BSSGP_PAGING_PS := {
bssgpPduType := '06'O,