summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-10-01 06:38:31 +0200
committerlaforge <laforge@osmocom.org>2020-10-13 08:43:10 +0000
commitfc64f53c49b180085c67b8f3902eb14b064ded88 (patch)
tree7a45b2ab9b68105ecf926061c429e2d60b6af9dc /library
parent0d774653c032537ad1730254e0f68cb78dc11f19 (diff)
BSSMAP_LE template tweaks
Diffstat (limited to 'library')
-rw-r--r--library/BSSMAP_LE_Templates.ttcn47
1 files changed, 34 insertions, 13 deletions
diff --git a/library/BSSMAP_LE_Templates.ttcn b/library/BSSMAP_LE_Templates.ttcn
index 9886679..3619a3a 100644
--- a/library/BSSMAP_LE_Templates.ttcn
+++ b/library/BSSMAP_LE_Templates.ttcn
@@ -156,9 +156,10 @@ template (present) BSSMAP_LE_IE_LocationType tr_BSSMAP_LE_LocType(template (pres
/* Section 9.1 */
-template (value) PDU_BSSAP_LE ts_BSMAP_LE_PerfLocReq(BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
- template (value) BSSMAP_IE_CellIdentifier cell_id,
- template (omit) hexstring imsi)
+template (value) PDU_BSSAP_LE ts_BSSMAP_LE_PerfLocReq(BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
+ template (value) BSSMAP_IE_CellIdentifier cell_id,
+ template (omit) hexstring imsi,
+ template (omit) octetstring bsslap_apdu := omit)
modifies ts_BSSAP_LE_BSSMAP := {
pdu := {
@@ -173,7 +174,7 @@ modifies ts_BSSAP_LE_BSSMAP := {
lcs_priority := omit,
lcs_qos := omit,
req_gps_ass_d := omit,
- bsslap_apdu := omit,
+ bsslap_apdu := ts_BSSMAP_LE_APDU(BSSMAP_LE_PROT_BSSLAP, bsslap_apdu),
lcs_capability := omit,
packet_meas_rep := omit,
meas_cell_id_list := omit,
@@ -183,9 +184,9 @@ modifies ts_BSSAP_LE_BSSMAP := {
}
}
}
-template (present) PDU_BSSAP_LE tr_BSMAP_LE_PerfLocReq(BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
- template (present) BSSMAP_IE_CellIdentifier cell_id,
- template hexstring imsi)
+template (present) PDU_BSSAP_LE tr_BSSMAP_LE_PerfLocReq(BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
+ template (present) BSSMAP_IE_CellIdentifier cell_id,
+ template hexstring imsi)
modifies tr_BSSAP_LE_BSSMAP := {
pdu := {
bssmap := {
@@ -212,9 +213,8 @@ modifies tr_BSSAP_LE_BSSMAP := {
/* Section 9.2 */
-template (value) PDU_BSSAP_LE ts_BSMAP_LE_PerfLocResp(BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
- template (omit) octetstring geo_loc,
- template (omit) BSSMAP_LE_LcsCause cause)
+template (value) PDU_BSSAP_LE ts_BSSMAP_LE_PerfLocResp(template (omit) octetstring geo_loc,
+ template (omit) BSSMAP_LE_LcsCause cause)
modifies ts_BSSAP_LE_BSSMAP := {
pdu := {
@@ -231,9 +231,8 @@ modifies ts_BSSAP_LE_BSSMAP := {
}
}
}
-template (present) PDU_BSSAP_LE tr_BSMAP_LE_PerfLocResp(template BSSMAP_LE_LocInfo loc_info := BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC_LOC,
- template octetstring geo_loc,
- template BSSMAP_LE_LcsCause cause)
+template (present) PDU_BSSAP_LE tr_BSSMAP_LE_PerfLocResp(template octetstring geo_loc,
+ template BSSMAP_LE_LcsCause cause)
modifies tr_BSSAP_LE_BSSMAP := {
pdu := {
bssmap := {
@@ -292,7 +291,29 @@ modifies tr_BSSAP_LE_BSSMAP := {
}
}
+template (value) PDU_BSSAP_LE ts_BSSMAP_LE_PerfLocAbort(BSSMAP_LE_LcsCause cause)
+modifies ts_BSSAP_LE_BSSMAP := {
+ pdu := {
+ bssmap := {
+ perf_loc_abort := {
+ msg_type := BSSMAP_LE_PERFORM_LOC_ABORT,
+ lcs_cause := ts_BSSMAP_LE_LcsCause(cause)
+ }
+ }
+ }
+}
+template (present) PDU_BSSAP_LE tr_BSSMAP_LE_PerfLocAbort(template BSSMAP_LE_LcsCause cause)
+modifies tr_BSSAP_LE_BSSMAP := {
+ pdu := {
+ bssmap := {
+ perf_loc_abort := {
+ msg_type := BSSMAP_LE_PERFORM_LOC_ABORT,
+ lcs_cause := tr_BSSMAP_LE_LcsCause(cause)
+ }
+ }
+ }
+}
/* Section 9.10 */
template (value) PDU_BSSAP_LE ts_BSSMAP_LE_Reset(myBSSMAP_Cause cause) modifies ts_BSSAP_LE_BSSMAP := {