[MERGED] osmo-ttcn3-hacks[master]: BSSMAP_Templates: Fix + enable ts_CellId_CGI

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jan 21 18:34:22 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: BSSMAP_Templates: Fix + enable ts_CellId_CGI
......................................................................


BSSMAP_Templates: Fix + enable ts_CellId_CGI

Change-Id: Icafe6415b3f896176edcac604a0945e83126db09
---
M library/BSSMAP_Templates.ttcn
1 file changed, 2 insertions(+), 8 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn
index 49844e7..8227a14 100644
--- a/library/BSSMAP_Templates.ttcn
+++ b/library/BSSMAP_Templates.ttcn
@@ -200,18 +200,12 @@
 type uint16_t BssmapLAC;
 type uint16_t BssmapCI;
 
-/*
-template BSSMAP_IE_CellIdentifier ts_CellId_CGI(mcc, mnc, lac, ci)
+template BSSMAP_IE_CellIdentifier ts_CellId_CGI(hexstring mcc, hexstring mnc, BssmapLAC lac, BssmapCI ci)
 modifies ts_BSSMAP_IE_CellID := {
 	cellIdentification := {
-		cI_LAC_CGI := {
-			mnc_mcc := FIXME,
-			lac := int2oct(lac, 2),
-			ci := int2oct(ci, 2)
-		}
+		cI_CGI := ts_BSSMAP_CI_CGI(mcc, mnc, lac, ci)
 	}
 }
-*/
 
 template BSSMAP_IE_CellIdentifier ts_CellID_LAC_CI(BssmapLAC lac, BssmapCI ci)
 modifies ts_BSSMAP_IE_CellID := {

-- 
To view, visit https://gerrit.osmocom.org/5950
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icafe6415b3f896176edcac604a0945e83126db09
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list