fixeria submitted this change.

View Change

Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved
bts: f_start_handler(): pass trx_nr to f_resolve_fh_params()

f_resolve_fh_params() needs the trx_nr in order to correctly resolve
frequency hopping parameters for the requested channel. If not given,
trx_nr=0 is assumed. This patch makes the following testcases pass
with `-c hopping`:

* BTS_Tests.TC_acch_overpower_rxqual_thresh
* BTS_Tests.TC_acch_overpower_rxqual_thresh_dtx
* BTS_Tests.TC_acch_overpower_always_on_facch
* BTS_Tests.TC_acch_overpower_always_on_sacch
* BTS_Tests.TC_acch_overpower_limit

All of these run the test logic on TRX1/TS0 (TCH/F), which in the
hopping configuration belongs to the group A (see BTS_Tests_FH.cfg).

Change-Id: Id79a71c5b35407c88bf029116575a0f7f4c7e45f
Related: OS#6638
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 3f3614f..ff8500c 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -720,7 +720,7 @@

/* Obtain frequency hopping parameters for a given timeslot */
if (mp_freq_hop_enabled and mp_transceiver_num > 1) {
- f_resolve_fh_params(pars.fhp, pars.chan_nr.tn);
+ f_resolve_fh_params(pars.fhp, pars.chan_nr.tn, pars.trx_nr);
}

vc_conn.start(f_handler_init(fn, id, pars));

To view, visit change 43712. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id79a71c5b35407c88bf029116575a0f7f4c7e45f
Gerrit-Change-Number: 43712
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>