Change in osmo-ttcn3-hacks[master]: BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable

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
Thu Dec 3 12:12:39 UTC 2020


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


Change subject: BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable
......................................................................

BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable

Change-Id: I25ce3332671c42014a3dfd5de7ed1df16e73fbf8
Related: SYS#4918
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 10e4f5a..a2bcdf5 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -786,6 +786,7 @@
 	l1_pars := {
 		dtx_enabled := false,
 		toa256_enabled := false,
+		meas_valid := true,
 		meas_ul := {
 			full := {
 				rxlev := mp_ul_rxlev_exp,
@@ -1866,7 +1867,7 @@
 	[] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
 		log("SACCH received: ", l1_dl.payload.data_ind.payload);
 
-		lb := ts_LAPDm_AB(0, ts_MEAS_REP(true, /* TODO: make it configurable too */
+		lb := ts_LAPDm_AB(0, ts_MEAS_REP(g_pars.l1_pars.meas_valid,
 						 g_pars.l1_pars.meas_ul.full.rxlev,
 						 g_pars.l1_pars.meas_ul.sub.rxlev,
 						 g_pars.l1_pars.meas_ul.full.rxqual,
@@ -1948,6 +1949,7 @@
 private type record ConnL1Pars {
 	boolean dtx_enabled,
 	boolean toa256_enabled,
+	boolean meas_valid,
 	MeasElemFS meas_ul,
 	int16_t timing_offset_256syms,
 	uint4_t bs_power_level,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21488
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: I25ce3332671c42014a3dfd5de7ed1df16e73fbf8
Gerrit-Change-Number: 21488
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/20201203/c4d0f4d1/attachment.htm>


More information about the gerrit-log mailing list