path: root/include
diff options
authorPhilipp Maier <pmaier@sysmocom.de>2018-09-06 16:04:13 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-13 14:27:12 +0000
commitc78759055a223b9f48bdfd5523a9825e16cf0658 (patch)
treea371379fdd8c966a05d4f1a2c722111150f0c750 /include
parent6d701d0e051ec1c876f6cab1c5e60e67ca3fd3f6 (diff)
measurement: remove missed interval end detection
The function is_meas_overdue() was introduced to allow lchan_meas_process_measurement() to detect when the end of a measurement interval has been missed. Interval ends may be missed when the SACCH block of the related measurement interval gets lost. This is due to the fact that the SACCH block is used as a trigger to start the measurement result computation. The idea behind is_meas_overdue() was to check the frame number of the current measurement against the frame number of the previous measurement in order to see if there was a measurement for SACCH in between or not. Unfortunately SACCH and TCH Voice data is not necessarly processed in order by each phy. Depending on the phy there may be a jitter between the timing of SACCH and TCH Voice. Depending on the phy this jitter may be enough to mess up the timing so that we see a SACCH block earlier than expected. So we can not use the current frame number of TCH Voice measurements to check for missed SACCH blocks. Change-Id: Idfdbf64c1f965f35c12559b3995e2b746c74ee9e Related: OS#3502 Related: OS#2975
Diffstat (limited to 'include')
1 files changed, 0 insertions, 2 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index b4fc35b9..a2367c83 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -16,6 +16,4 @@ bool ts45008_83_is_sub(struct gsm_lchan *lchan, uint32_t fn, bool is_amr_sid_upd
int is_meas_complete(struct gsm_lchan *lchan, uint32_t fn);
-bool is_meas_overdue(struct gsm_lchan *lchan, uint32_t *fn_missed_end, uint32_t fn);