path: root/include
diff options
authorPhilipp Maier <pmaier@sysmocom.de>2018-08-29 16:41:09 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-08-29 17:34:49 +0200
commit9b41b36e97383ce64db6732a7146ff25c126dc5a (patch)
tree011dc3a3012e0687654ae6337c5fbf41874cde53 /include
parent76c292ea5da1949407f1572321994537b21280c9 (diff)
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
Diffstat (limited to 'include')
1 files changed, 2 insertions, 0 deletions
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);