aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-04-19 16:47:42 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-09 08:54:54 +0000
commitd5fdcfe6d95f52fb76c4f4201969347a062fc9fd (patch)
treea56dd14d58dc92e5641185ecc5f962f5767c7e99 /include
parente3a3906ee9b7e1a6d4a3af05cd34a9da4a62e33e (diff)
measurement: fix measurement computation
Timing advance is currently not taken into account when computing the measurement results, this commit fixes that Change-Id: I2e0dfd13b53e8aa2822985f12bf2985e683ab553
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/measurement.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index 2efe40f7..87c81099 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -1,6 +1,9 @@
#ifndef OSMO_BTS_MEAS_H
#define OSMO_BTS_MEAS_H
+#define MEAS_MAX_TIMING_ADVANCE 63
+#define MEAS_MIN_TIMING_ADVANCE 0
+
int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm);
int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn);