Change in osmo-ttcn3-hacks[master]: BSSMAP_LE template tweaks

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Oct 13 08:43:13 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20371 )

Change subject: BSSMAP_LE template tweaks
......................................................................

BSSMAP_LE template tweaks

Change-Id: I9728690e412266001b2a02b0e14d382152d5ab4e
---
M library/BSSMAP_LE_Templates.ttcn
1 file changed, 34 insertions(+), 13 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 
 
 /* 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 @@
 				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 @@
 		}
 	}
 }
-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 @@
 
 
 /* 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 @@
 		}
 	}
 }
-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 @@
 	}
 }
 
+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 := {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20371
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9728690e412266001b2a02b0e14d382152d5ab4e
Gerrit-Change-Number: 20371
Gerrit-PatchSet: 4
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201013/21e6ceda/attachment.htm>


More information about the gerrit-log mailing list