[PATCH] 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:12:15 UTC 2018


Review at  https://gerrit.osmocom.org/5950

BSSMAP_Templates: Fix + enable ts_CellId_CGI

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/50/5950/1

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: newchange
Gerrit-Change-Id: Icafe6415b3f896176edcac604a0945e83126db09
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list