Change in osmo-ttcn3-hacks[master]: BSC_Tests: also [re]set band in f_TC_fh_params_[un]set()

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
Tue Oct 19 09:49:57 UTC 2021


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


Change subject: BSC_Tests: also [re]set band in f_TC_fh_params_[un]set()
......................................................................

BSC_Tests: also [re]set band in f_TC_fh_params_[un]set()

In f_TC_fh_params_set() we use ARFCN values from the GSM900 band,
while by default osmo-bsc is using DCS1800.  Let's set GSM900
before executing FH test cases, and then reset back to DCS1800.

Change-Id: Ia7d2f87c62e6fda06ade78bd1a57a442acf659bd
Related: SYS#5369
---
M bsc/BSC_Tests.ttcn
1 file changed, 16 insertions(+), 4 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index a65871b..9fb9272 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -8497,8 +8497,14 @@
 				    uint8_t bts_nr := 0,
 				    uint8_t trx_nr := 0)
 runs on test_CT {
-	/* Enter the configuration node for the given BTS/TRX numbers */
-	f_vty_enter_cfg_trx(BSCVTY, bts_nr, trx_nr);
+	/* Enter the configuration node for the given BTS number */
+	f_vty_enter_cfg_bts(BSCVTY, bts_nr);
+
+	/* We do use ARFCN values from the 900 MHz band, so set it */
+	f_vty_transceive(BSCVTY, "band GSM900");
+
+	/* Enter the configuration node for the given TRX number */
+	f_vty_transceive(BSCVTY, "trx " & int2str(trx_nr));
 
 	f_vty_transceive(BSCVTY, "arfcn " & int2str(fhp.arfcn));
 
@@ -8533,8 +8539,14 @@
 				      uint8_t trx_nr := 0,
 				      GsmArfcn arfcn := 871)
 runs on test_CT {
-	/* Enter the configuration node for the given BTS/TRX numbers */
-	f_vty_enter_cfg_trx(BSCVTY, bts_nr, trx_nr);
+	/* Enter the configuration node for the given BTS number */
+	f_vty_enter_cfg_bts(BSCVTY, bts_nr);
+
+	/* Reset back to the 1800 MHz band */
+	f_vty_transceive(BSCVTY, "band DSC1800");
+
+	/* Enter the configuration node for the given TRX number */
+	f_vty_transceive(BSCVTY, "trx " & int2str(trx_nr));
 
 	f_vty_transceive(BSCVTY, "arfcn " & int2str(arfcn));
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25824
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: Ia7d2f87c62e6fda06ade78bd1a57a442acf659bd
Gerrit-Change-Number: 25824
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/20211019/7e306908/attachment.htm>


More information about the gerrit-log mailing list