Change in osmo-ttcn3-hacks[master]: BSC_Tests: extend TC_chan_act_ack_noest with emergency call

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

dexter gerrit-no-reply at lists.osmocom.org
Thu Jul 9 13:13:58 UTC 2020


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


Change subject: BSC_Tests: extend TC_chan_act_ack_noest with emergency call
......................................................................

BSC_Tests: extend TC_chan_act_ack_noest with emergency call

TC_chan_act_ack_noest requests a channel and then releases it again.
However, this does not test yet what happens if the requestor (BTS) uses
a request reference that indicates an emergancy call. Depending on the
configuration the BSC should reject or allow the channel to be
established.

Change-Id: If828c0f5786d89efa7608f38d648e2a2b8f6f675
Related: OS#4549
---
M bsc/BSC_Tests.ttcn
1 file changed, 14 insertions(+), 2 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index f1aea75..7762906 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -972,13 +972,13 @@
 }
 
 /* CHAN RQD -> CHAN ACT -> CHAN ACT ACK -> RF CHAN REL */
-testcase TC_chan_act_ack_noest() runs on test_CT {
+private function f_TC_chan_act_ack_noest(OCT1 ra := '23'O) runs on test_CT {
 	var RSL_Message rx_rsl;
 
 	f_init(1);
 
 	/* Send CHAN RQD and wait for allocation; acknowledge it */
-	var RslChannelNr chan_nr := f_chreq_act_ack();
+	var RslChannelNr chan_nr := f_chreq_act_ack(ra);
 
 	/* expect BSC to disable the channel again if there's no RLL EST IND */
 	rx_rsl := f_exp_ipa_rx(0, tr_RSL_MsgTypeD(RSL_MT_RF_CHAN_REL), T3101_MAX);
@@ -986,6 +986,17 @@
 	setverdict(pass);
 }
 
+/* Normal variant */
+testcase TC_chan_act_ack_noest() runs on test_CT {
+	 f_TC_chan_act_ack_noest();
+}
+
+/* Emergency call variant */
+testcase TC_chan_act_ack_noest_emerg() runs on test_CT {
+	 /* See also: 3GPP TS 04.08, Table 9.9, ra=101xxxxx */
+	 f_TC_chan_act_ack_noest(ra := 'A5'O);
+}
+
 /* Test behavior if MSC never answers to CR */
 testcase TC_chan_act_ack_est_ind_noreply() runs on test_CT {
 	var RslLinkId main_dcch := valueof(ts_RslLinkID_DCCH(0));
@@ -5830,6 +5841,7 @@
 	execute( TC_chan_act_noreply() );
 	execute( TC_chan_act_counter() );
 	execute( TC_chan_act_ack_noest() );
+	execute( TC_chan_act_ack_noest_emerg() );
 	execute( TC_chan_act_ack_est_ind_noreply() );
 	execute( TC_chan_act_ack_est_ind_refused() );
 	execute( TC_chan_act_nack() );

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


More information about the gerrit-log mailing list