aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-08-28 18:57:42 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-29 07:35:57 +0000
commit510158256b7ca8d3c3764c0481a6fee652ed2eb2 (patch)
tree6197d2841003312cc9061423e5202154d1c90a3c /include
parent1dcd63d36a0352949f0db9290cada5004aab96de (diff)
measurement: add unit tests for is_meas_complete()
We do not test is_meas_complete() individually yet, but it is an integral part of the measurement processings since this function decides where a measurement interval ends. - Add unit tests that test TCH/F, TCH/H, SDCCH/4 and STDCH/8 Change-Id: I8f89d9e7092cd65ba4d5c5649140692dcc20bdd6 Related: OS#2987
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/measurement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h
index 57eeef5b..5c3def0e 100644
--- a/include/osmo-bts/measurement.h
+++ b/include/osmo-bts/measurement.h
@@ -12,6 +12,8 @@ void lchan_meas_process_measurement(struct gsm_lchan *lchan, struct bts_ul_meas
void lchan_meas_reset(struct gsm_lchan *lchan);
+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);
#endif