Change in osmo-ttcn3-hacks[master]: bts: Use f_L1CTL_PARAM to set expected ms power level for dummy MeasRep

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
Fri Sep 28 14:21:05 UTC 2018


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


Change subject: bts: Use f_L1CTL_PARAM to set expected ms power level for dummy MeasRep
......................................................................

bts: Use f_L1CTL_PARAM to set expected ms power level for dummy MeasRep

If for whatever reason (eg. CPU scheduling saturation) the L1CTL cli
(TTCN3) doesn't send Measurement Reports on time, lower osmocombb layers
will generate their own dummy Measurement Reports since SACCH must
always be filled.
Those dummy Measurement Reports are filled from
parameters previosuly set using L1CTL_PARAM_REQ (implemented by
f_L1CTL_PARAM() in TTCN3).
Since that function is never called, we need to call it to set the
expected MS power level values in order to send expected values in case
we don't send the Measurement Report through L1CTL on time.

Change-Id: Ie1fd9cee3472c7aa6580f846d277f485d3401641
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index e7df027..097da13 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1365,7 +1365,10 @@
 	var GsmFrameNumber fn;
 	var ImmediateAssignment imm_ass;
 	var integer ra := 23;
+	var integer ta := g_pars.l1_pars.ms_actual_ta;
+	var integer tx_power := g_pars.l1_pars.ms_power_level;
 
+	f_L1CTL_PARAM(L1CTL, ta, tx_power);
 	fn := f_L1CTL_RACH(L1CTL, ra);
 	/* This arrives on CCHAN, so we cannot test for receiving CHAN RQDhere */
 	//RSL.receive(tr_RSL_CHAN_RQD(int2oct(23,1)));

-- 
To view, visit https://gerrit.osmocom.org/11149
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: Ie1fd9cee3472c7aa6580f846d277f485d3401641
Gerrit-Change-Number: 11149
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/20180928/fe3a4d2f/attachment.htm>


More information about the gerrit-log mailing list