Change in osmo-ttcn3-hacks[master]: BTS_Tests/SMSCB: establish a dedicated channel in f_smscb_setup()

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
Fri Jul 31 14:02:03 UTC 2020


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

Change subject: BTS_Tests/SMSCB: establish a dedicated channel in f_smscb_setup()
......................................................................

BTS_Tests/SMSCB: establish a dedicated channel in f_smscb_setup()

Change-Id: I3f061a4d48209b1aa5eaea2fd05fc4752de0c70f
---
M bts/BTS_Tests_SMSCB.ttcn
1 file changed, 11 insertions(+), 2 deletions(-)

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



diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index 11855bf..92e8094 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -243,8 +243,17 @@
 	f_init();
 
 	f_init_l1ctl();
-	f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED_CBCH);
-	/* FIXME: switch to dedicated mode for SDCCH/8 */
+
+	/* Tune L1 to the given CBCH timeslot (SDCCH4+CBCH or SDCCH8+CBCH)  */
+	if (match(pars.chan_nr, t_RslChanNr_CBCH4(0))) {
+		f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED_CBCH);
+	} else {
+		f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED);
+		/* TODO: also handle frequency hopping parameters */
+		L1CTL.send(ts_L1CTL_DM_EST_REQ_H0(pars.chan_nr,
+						  7 /* TODO: mp_tsc */,
+						  mp_trx0_arfcn));
+	}
 
 	/* send SMSCB[s] via RSL */
 	f_smscb_setup_rsl_chan(pars.basic, false);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19476
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: I3f061a4d48209b1aa5eaea2fd05fc4752de0c70f
Gerrit-Change-Number: 19476
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/20200731/6733f55b/attachment.htm>


More information about the gerrit-log mailing list