diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-08-29 16:41:09 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-08-29 17:34:49 +0200 |
commit | 9b41b36e97383ce64db6732a7146ff25c126dc5a (patch) | |
tree | 011dc3a3012e0687654ae6337c5fbf41874cde53 /include/osmo-bts/measurement.h | |
parent | 76c292ea5da1949407f1572321994537b21280c9 (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/osmo-bts/measurement.h')
-rw-r--r-- | include/osmo-bts/measurement.h | 2 |
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); |