Change in osmo-ttcn3-hacks[master]: PCU_Tests_NS: use ts_PCUIF_INFO_default from PCU_Tests

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

fixeria gerrit-no-reply at lists.osmocom.org
Sun Jul 19 21:05:56 UTC 2020


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

Change subject: PCU_Tests_NS: use ts_PCUIF_INFO_default from PCU_Tests
......................................................................

PCU_Tests_NS: use ts_PCUIF_INFO_default from PCU_Tests

Change-Id: I80b33b10603e8e8c1beee17acce65f5d3873a9b2
---
M pcu/PCU_Tests.ttcn
M pcu/PCU_Tests_NS.ttcn
2 files changed, 1 insertion(+), 38 deletions(-)

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



diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index 42f3f2b..09d91a0 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -59,7 +59,7 @@
 
 
 /* FIXME: make sure to use parameters from mp_gb_cfg.cell_id in the PCU INFO IND */
-private template (value) PCUIF_info_ind ts_PCUIF_INFO_default := {
+friend template (value) PCUIF_info_ind ts_PCUIF_INFO_default := {
 	version := PCU_IF_VERSION,
 	flags := c_PCUIF_Flags_default,
 	trx := valueof(ts_PCUIF_InfoTrxs_def),
diff --git a/pcu/PCU_Tests_NS.ttcn b/pcu/PCU_Tests_NS.ttcn
index 9ea5149..b1c8f38 100644
--- a/pcu/PCU_Tests_NS.ttcn
+++ b/pcu/PCU_Tests_NS.ttcn
@@ -51,43 +51,6 @@
 		}
 }
 
-/* FIXME: make sure to use parameters from mp_gb_cfg.cell_id in the PCU INFO IND */
-private template (value) PCUIF_info_ind ts_PCUIF_INFO_default := {
-	version := PCU_IF_VERSION,
-	flags := c_PCUIF_Flags_default,
-	trx := valueof(ts_PCUIF_InfoTrxs_def),
-	bsic := 7,
-	mcc := 262,
-	mnc := 42,
-	mnc_3_digits := 0,
-	lac := 13135,
-	rac := 0,
-	nsei := mp_nsconfig.nsei,
-	nse_timer := { 3, 3, 3, 3, 30, 3, 10 },
-	cell_timer := { 3, 3, 3, 3, 3, 10, 3, 10, 3, 10, 3 },
-	cell_id := 20960,
-	repeat_time := 5 * 50,
-	repeat_count := 3,
-	bvci := mp_gb_cfg.bvci,
-	t3142 := 20,
-	t3169 := 5,
-	t3191 := 5,
-	t3193_10ms := 160,
-	t3195 := 5,
-	t3101 := 10,
-	t3103 := 4,
-	t3105 := 8,
-	cv_countdown := 15,
-	dl_tbf_ext := 250 * 10, /* ms */
-	ul_tbf_ext := 250 * 10, /* ms */
-	initial_cs := 2,
-	initial_mcs := 6,
-	nsvci := { mp_nsconfig.nsvci, 0 },
-	local_pprt := { mp_nsconfig.remote_udp_port, 0 },
-	remote_port := { mp_nsconfig.local_udp_port, 0 },
-	remote_ip := { f_inet_haddr(mp_nsconfig.local_ip) , '00000000'O }
-}
-
 function f_init_pcuif() runs on RAW_PCU_CT {
 	var PCUIF_info_ind info_ind;
 	map(self:PCU, system:PCU);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19318
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: I80b33b10603e8e8c1beee17acce65f5d3873a9b2
Gerrit-Change-Number: 19318
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200719/617a2b05/attachment.htm>


More information about the gerrit-log mailing list