From d5fdcfe6d95f52fb76c4f4201969347a062fc9fd Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 19 Apr 2017 16:47:42 +0200 Subject: measurement: fix measurement computation Timing advance is currently not taken into account when computing the measurement results, this commit fixes that Change-Id: I2e0dfd13b53e8aa2822985f12bf2985e683ab553 --- include/osmo-bts/measurement.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit v1.2.3