aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/measurement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/measurement.c')
-rw-r--r--src/common/measurement.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/common/measurement.c b/src/common/measurement.c
index 6ddc05ab..60500017 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -320,40 +320,3 @@ int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
return 1;
}
-
-static int ts_meas_check_compute(struct gsm_bts_trx_ts *ts, uint32_t fn)
-{
- int i;
- const int num_subslots = ts_subslots(ts);
-
- for (i = 0; i < num_subslots; ++i) {
- struct gsm_lchan *lchan = &ts->lchan[i];
-
- if (lchan->state != LCHAN_S_ACTIVE)
- continue;
-
- switch (lchan->type) {
- case GSM_LCHAN_SDCCH:
- case GSM_LCHAN_TCH_F:
- case GSM_LCHAN_TCH_H:
- case GSM_LCHAN_PDTCH:
- lchan_meas_check_compute(lchan, fn);
- break;
- default:
- break;
- }
- }
- return 0;
-}
-
-/* needs to be called once every TDMA frame ! */
-int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn)
-{
- int i;
-
- for (i = 0; i < ARRAY_SIZE(trx->ts); i++) {
- struct gsm_bts_trx_ts *ts = &trx->ts[i];
- ts_meas_check_compute(ts, fn);
- }
- return 0;
-}