From 9b41b36e97383ce64db6732a7146ff25c126dc5a Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 29 Aug 2018 16:41:09 +0200 Subject: measurement: add unit tests for ts45008_83_is_sub() The function ts45008_83_is_sub() is an integral part of the measurement calculation as it automatically tags incoming measurements as SUB measurements. This is important in the context of DTX. Unfortunately there is no unit test for this function yet. - Add unit test for ts45008_83_is_sub() Change-Id: Ia26774859f4bf31baee075896905079368bddd42 Related: OS#3502 --- include/osmo-bts/measurement.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h index 5c3def0e..b4fc35b9 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); +bool ts45008_83_is_sub(struct gsm_lchan *lchan, uint32_t fn, bool is_amr_sid_update); + 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); -- cgit v1.2.3