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/.
Harald Welte gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/7245
bts: Make f_TC_meas_res_periodic work with real BTS
In a real BTS + OsmocomBB-L1, we cannot control fake ToA/RSSI, but we
simply assume the signal is strong/good.
Change-Id: I55a79f9e23118d2bb28f27cbcc7ab28712570ef1
---
M bts/BTS_Tests.ttcn
1 file changed, 10 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/45/7245/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index e97c6d9..7b6fc2f 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -921,12 +921,17 @@
f_l1_tune(L1CTL);
RSL.clear;
- g_pars.l1_pars.meas_ul.full.rxlev := dbm2rxlev(-100);
- g_pars.l1_pars.meas_ul.sub.rxlev := g_pars.l1_pars.meas_ul.full.rxlev;
- f_trxc_fake_rssi(100);
+ if (mp_bb_trxc_port != -1) {
+ g_pars.l1_pars.meas_ul.full.rxlev := dbm2rxlev(-100);
+ f_trxc_fake_rssi(100);
- g_pars.l1_pars.timing_offset_256syms := 512; /* 2 symbols */
- f_trx_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
+ g_pars.l1_pars.timing_offset_256syms := 512; /* 2 symbols */
+ f_trx_fake_toffs256(g_pars.l1_pars.timing_offset_256syms);
+ } else {
+ g_pars.l1_pars.timing_offset_256syms := 0; /* FIXME */
+ g_pars.l1_pars.meas_ul.full.rxlev := dbm2rxlev(-55); /* FIXME */
+ }
+ g_pars.l1_pars.meas_ul.sub.rxlev := g_pars.l1_pars.meas_ul.full.rxlev;
f_est_dchan();
--
To view, visit https://gerrit.osmocom.org/7245
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55a79f9e23118d2bb28f27cbcc7ab28712570ef1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>