aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-01-16 13:20:31 +0100
committerHarald Welte <laforge@osmocom.org>2021-01-16 22:54:29 +0100
commit14ac346b5d37e996c34475a6bb611822dce4a318 (patch)
tree0a693186fb2b682b44bd4fa224ffaf0b64a01781
parentb5a04aae6456b3197ac974e4e3ce4e4a5d8dccf6 (diff)
Osmocom_Gb_Types: Add 3GPP spec chapters; unify formatting
-rw-r--r--library/Osmocom_Gb_Types.ttcn32
1 files changed, 21 insertions, 11 deletions
diff --git a/library/Osmocom_Gb_Types.ttcn b/library/Osmocom_Gb_Types.ttcn
index 8ca0cd59..90547853 100644
--- a/library/Osmocom_Gb_Types.ttcn
+++ b/library/Osmocom_Gb_Types.ttcn
@@ -1076,7 +1076,7 @@ octetstring sdu) := {
rA_CAP_UPD_Cause_value := cause
}
-
+ /* 10.4.12 */
template PDU_BSSGP ts_BVC_RESET(BssgpCause cause, BssgpBvci bvci,
template BssgpCellId cell_id) := {
pDU_BSSGP_BVC_RESET := {
@@ -1088,7 +1088,6 @@ octetstring sdu) := {
extended_Feature_Bitmap := omit
}
}
-
template PDU_BSSGP tr_BVC_RESET(template BssgpCause cause, template BssgpBvci bvci,
template BssgpCellId cell_id) := {
pDU_BSSGP_BVC_RESET := {
@@ -1101,6 +1100,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.13 */
template PDU_BSSGP ts_BVC_RESET_ACK(BssgpBvci bvci, template BssgpCellId cell_id) := {
pDU_BSSGP_BVC_RESET_ACK := {
bssgpPduType := '23'O,
@@ -1110,7 +1110,6 @@ octetstring sdu) := {
extended_Feature_Bitmap := omit
}
}
-
template PDU_BSSGP tr_BVC_RESET_ACK(template BssgpBvci bvci, template BssgpCellId cell_id) := {
pDU_BSSGP_BVC_RESET_ACK := {
bssgpPduType := '23'O,
@@ -1122,6 +1121,7 @@ octetstring sdu) := {
}
+ /* 10.4.10 */
template PDU_BSSGP t_BVC_UNBLOCK(template BssgpBvci bvci) := {
pDU_BSSGP_BVC_UNBLOCK := {
bssgpPduType := '24'O,
@@ -1129,6 +1129,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.11 */
template PDU_BSSGP t_BVC_UNBLOCK_ACK(template BssgpBvci bvci) := {
pDU_BSSGP_BVC_UNBLOCK_ACK := {
bssgpPduType := '25'O,
@@ -1136,6 +1137,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.8 */
template PDU_BSSGP t_BVC_BLOCK(template BssgpBvci bvci, template BssgpCause cause) := {
pDU_BSSGP_BVC_BLOCK := {
bssgpPduType := '20'O,
@@ -1144,6 +1146,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.9 */
template PDU_BSSGP t_BVC_BLOCK_ACK(template BssgpBvci bvci) := {
pDU_BSSGP_BVC_BLOCK_ACK := {
bssgpPduType := '21'O,
@@ -1151,6 +1154,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.4 */
template PDU_BSSGP t_BVC_FC_BVC(uint16_t bmax, uint16_t bucket_leak_rate,
uint16_t bmax_default_ms, uint16_t r_default_ms, OCT1 tag) := {
pDU_BSSGP_FLOW_CONTROL_BVC := {
@@ -1253,6 +1257,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.5 */
template PDU_BSSGP t_BVC_FC_BVC_ACK(template OCT1 tag) := {
pDU_BSSGP_FLOW_CONTROL_BVC_ACK := {
bssgpPduType := '27'O,
@@ -1267,6 +1272,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.6 */
template (value) PDU_BSSGP ts_BVC_FC_MS(GprsTlli tlli, uint16_t bmax, uint16_t bucket_leak_rate,
OCT1 tag) := {
pDU_BSSGP_FLOW_CONTROL_MS := {
@@ -1336,6 +1342,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.7 */
template (value) PDU_BSSGP ts_BVC_FC_MS_ACK(template (value) GprsTlli tlli,
template (value) OCT1 tag) := {
@@ -1369,6 +1376,7 @@ octetstring sdu) := {
}
}
+ /* 10.4.14 */
template PDU_BSSGP ts_BSSGP_STATUS(template BssgpBvci bvci, template BssgpCause cause,
PDU_BSSGP pdu) := {
pDU_BSSGP_STATUS := {
@@ -1385,7 +1393,6 @@ octetstring sdu) := {
}
}
}
-
template PDU_BSSGP tr_BSSGP_STATUS(template BVCI bvci := ?, template BssgpCause cause := ?,
template octetstring pdu := ?) := {
pDU_BSSGP_STATUS := {
@@ -1571,6 +1578,7 @@ octetstring sdu) := {
}
}
+ /* 10.2.1 */
template PDU_BSSGP ts_BSSGP_DL_UD(GprsTlli tlli, octetstring pdu,
template (omit) MSRadioAccessCapabilityV_BSSGP racap := omit,
template (omit) IMSI_BSSGP imsi := omit) := {
@@ -1602,7 +1610,6 @@ octetstring sdu) := {
initialLLC_PDU := omit
}
}
-
template PDU_BSSGP tr_BSSGP_DL_UD(template (present) GprsTlli tlli, template (present) octetstring pdu,
template IMSI_BSSGP imsi := omit) := {
pDU_BSSGP_DL_UNITDATA := {
@@ -1634,6 +1641,7 @@ octetstring sdu) := {
}
}
+ /* 10.2.2 */
template PDU_BSSGP ts_BSSGP_UL_UD(GprsTlli tlli, BssgpCellId cell_id, octetstring payload) := {
pDU_BSSGP_UL_UNITDATA := {
bssgpPduType := '01'O,
@@ -1652,7 +1660,6 @@ octetstring sdu) := {
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 := {
@@ -1673,6 +1680,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.2 */
template PDU_BSSGP tr_BSSGP_CS_PAGING(BssgpBvci bvci) := {
pDU_BSSGP_PAGING_CS := {
bssgpPduType := '07'O,
@@ -1688,7 +1696,6 @@ octetstring sdu) := {
global_CN_Id := *
}
}
-
template PDU_BSSGP ts_BSSGP_CS_PAGING_IMSI(BssgpBvci bvci, hexstring imsi) := {
pDU_BSSGP_PAGING_CS := {
bssgpPduType := '07'O,
@@ -1704,7 +1711,6 @@ octetstring sdu) := {
global_CN_Id := omit
}
}
-
template PDU_BSSGP ts_BSSGP_CS_PAGING_PTMSI(BssgpBvci bvci, hexstring imsi, GsmTmsi tmsi) := {
pDU_BSSGP_PAGING_CS := {
bssgpPduType := '07'O,
@@ -1721,6 +1727,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.1 */
template PDU_BSSGP tr_BSSGP_PS_PAGING(template BssgpBvci bvci) := {
pDU_BSSGP_PAGING_PS := {
bssgpPduType := '06'O,
@@ -1736,7 +1743,6 @@ octetstring sdu) := {
eDRX_Paremeters := *
}
}
-
template PDU_BSSGP ts_BSSGP_PS_PAGING_IMSI(BssgpBvci bvci, hexstring imsi) := {
pDU_BSSGP_PAGING_PS := {
bssgpPduType := '06'O,
@@ -1752,7 +1758,6 @@ octetstring sdu) := {
eDRX_Paremeters := omit
}
}
-
template PDU_BSSGP ts_BSSGP_PS_PAGING_PTMSI(BssgpBvci bvci, hexstring imsi, GsmTmsi tmsi) := {
pDU_BSSGP_PAGING_PS := {
bssgpPduType := '06'O,
@@ -1823,6 +1828,7 @@ octetstring sdu) := {
rac := int2oct(input.rac, 1)
}
+ /* 10.3.6 */
template (value) PDU_BSSGP ts_BSSGP_SUSPEND(GprsTlli tlli, RoutingAreaIdentification ra_id) := {
pDU_BSSGP_SUSPEND := {
bssgpPduType := '0B'O,
@@ -1838,6 +1844,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.7 */
template (value) PDU_BSSGP ts_BSSGP_SUSPEND_ACK(GprsTlli tlli, RoutingAreaIdentification ra_id,
template (value) OCT1 susp_ref) := {
pDU_BSSGP_SUSPEND_ACK := {
@@ -1857,6 +1864,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.8 */
template (value) PDU_BSSGP ts_BSSGP_SUSPEND_NACK(GprsTlli tlli, RoutingAreaIdentification ra_id,
template (omit) BssgpCause cause) := {
pDU_BSSGP_SUSPEND_NACK := {
@@ -1877,7 +1885,7 @@ octetstring sdu) := {
}
-
+ /* 10.3.9 */
template (value) PDU_BSSGP ts_BSSGP_RESUME(GprsTlli tlli, RoutingAreaIdentification ra_id,
OCT1 susp_ref) := {
pDU_BSSGP_RESUME := {
@@ -1897,6 +1905,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.10 */
template (value) PDU_BSSGP ts_BSSGP_RESUME_ACK(GprsTlli tlli, RoutingAreaIdentification ra_id)
:= {
pDU_BSSGP_RESUME_ACK := {
@@ -1914,6 +1923,7 @@ octetstring sdu) := {
}
}
+ /* 10.3.11 */
template (value) PDU_BSSGP ts_BSSGP_RESUME_NACK(GprsTlli tlli, RoutingAreaIdentification ra_id,
template (omit) BssgpCause cause) := {
pDU_BSSGP_RESUME_NACK := {