Change in osmo-ttcn3-hacks[master]: bts: Disable testing FACCH/H with real HW

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon Oct 22 14:36:42 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11428


Change subject: bts: Disable testing FACCH/H with real HW
......................................................................

bts: Disable testing FACCH/H with real HW

Related: OS#3653
Change-Id: I078cdfbf8d27e543a723eab90f66b2fcda016b5d
---
M bts/BTS_Tests.ttcn
1 file changed, 22 insertions(+), 10 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 2f48b0f..3debb62 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -312,17 +312,29 @@
 		valueof(ts_RslChanNr_SDCCH8(6,4)), valueof(ts_RslChanNr_SDCCH8(6,5)),
 		valueof(ts_RslChanNr_SDCCH8(6,6)), valueof(ts_RslChanNr_SDCCH8(6,7))
 	};
-	g_AllChanTypes := {
-		/* TS 1..4: TCH/F */
-		valueof(ts_RslChanNr_Bm(1)),
-		/* TS 5: TCH/H */
-		valueof(ts_RslChanNr_Lm(5,1)),
-		/* TS 0: SDCCH/4 */
-		valueof(ts_RslChanNr_SDCCH4(0,2)),
-		/* TS 6: SDCCH/8 */
-		valueof(ts_RslChanNr_SDCCH8(6,4))
-	};
 
+	/* FACCH/H is unreliable with calypso firmware, see OS#3653 */
+	if (mp_bb_trxc_port != -1) {
+		g_AllChanTypes := {
+			/* TS 1..4: TCH/F */
+			valueof(ts_RslChanNr_Bm(1)),
+			/* TS 5: TCH/H */
+			valueof(ts_RslChanNr_Lm(5,1)),
+			/* TS 0: SDCCH/4 */
+			valueof(ts_RslChanNr_SDCCH4(0,2)),
+			/* TS 6: SDCCH/8 */
+			valueof(ts_RslChanNr_SDCCH8(6,4))
+		};
+	} else {
+		g_AllChanTypes := {
+			/* TS 1..4: TCH/F */
+			valueof(ts_RslChanNr_Bm(1)),
+			/* TS 0: SDCCH/4 */
+			valueof(ts_RslChanNr_SDCCH4(0,2)),
+			/* TS 6: SDCCH/8 */
+			valueof(ts_RslChanNr_SDCCH8(6,4))
+		};
+	}
 	f_init_rsl(id);
 	T.start;
 	alt {

-- 
To view, visit https://gerrit.osmocom.org/11428
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I078cdfbf8d27e543a723eab90f66b2fcda016b5d
Gerrit-Change-Number: 11428
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181022/a5d7fe44/attachment.htm>


More information about the gerrit-log mailing list