Change in osmo-ttcn3-hacks[master]: BTS_Tests_SMSCB: use proper templates for RSL channel number

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
Sat Nov 14 11:44:10 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21145 )


Change subject: BTS_Tests_SMSCB: use proper templates for RSL channel number
......................................................................

BTS_Tests_SMSCB: use proper templates for RSL channel number

Change-Id: Ib2a8cd4b76f308b318772d1572b6169baff13012
---
M bts/BTS_Tests_SMSCB.ttcn
1 file changed, 3 insertions(+), 6 deletions(-)



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

diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index 953801b..6d080f2 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -699,7 +699,6 @@
 		basic := valueof(t_CbchPC(msgs_1m_3b_default)),
 		extended := omit
 	};
-	var template RslChannelNr t_chan_nr := t_RslChanNr_CBCH4(0);
 	var L1ctlDlMessage dl;
 	timer T := 5.0;
 
@@ -714,7 +713,7 @@
 
 	T.start;
 	alt {
-	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_chan_nr)) -> value dl {
+	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_RslChanNr_CBCH4(0))) -> value dl {
 		log("CBCH: ", dl);
 		var CBCH_Block cb := dec_CBCH_Block(dl.payload.data_ind.payload);
 		/* detect the proper CBCH messages; check frame number */
@@ -921,7 +920,6 @@
 
 /* Ensure only Paging Type 1 with segmented ETWS Primary Notification are sent after RSL_OSMO_ETWS_CMD */
 testcase TC_etws_p1ro() runs on test_CT {
-	var template RslChannelNr t_chan_nr := ts_RslChanNr_PCH_AGCH(0);
 	/* decoding the actual entire P1 rest octets by manually generated code is
 	 * too much effort; instead simply do a binary compare to this constant */
 	const bitstring c_P1RO_hdr := '00101011101'B;
@@ -939,7 +937,7 @@
 	L1CTL.clear;
 	T.start;
 	alt {
-	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_chan_nr)) -> value dl {
+	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_RslChanNr_PCH_AGCH(0))) -> value dl {
 		var GsmRrMessage l3 := dec_GsmRrMessage(dl.payload.data_ind.payload);
 		select (l3) {
 		case (tr_PAG_REQ1(tr_MI_LV(t_MI_NoIdentity()))) {
@@ -1013,7 +1011,6 @@
 
 /* Ensure only Paging Type 1 without ETWS Primary Notification are sent after disabling them */
 testcase TC_etws_p1ro_end() runs on test_CT {
-	var template RslChannelNr t_chan_nr := ts_RslChanNr_PCH_AGCH(0);
 	/* we expect four blocks of 14 bytes, let's fill them with content easily
 	 * distinguishable */
 	/* decoding the actual entire P1 rest octets by manually generated code is
@@ -1035,7 +1032,7 @@
 	T.start;
 	L1CTL.clear;
 	alt {
-	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_chan_nr)) -> value dl {
+	[] L1CTL.receive(tr_L1CTL_DATA_IND(t_RslChanNr_PCH_AGCH(0))) -> value dl {
 		var GsmRrMessage l3 := dec_GsmRrMessage(dl.payload.data_ind.payload);
 		select (l3) {
 		case (tr_PAG_REQ1(tr_MI_LV(t_MI_NoIdentity()))) { repeat; }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21145
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: Ib2a8cd4b76f308b318772d1572b6169baff13012
Gerrit-Change-Number: 21145
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201114/b9f698b8/attachment.htm>


More information about the gerrit-log mailing list