diff options
-rw-r--r-- | include/osmo-bts/measurement.h | 2 | ||||
-rw-r--r-- | src/common/measurement.c | 37 |
2 files changed, 0 insertions, 39 deletions
diff --git a/include/osmo-bts/measurement.h b/include/osmo-bts/measurement.h index 87c81099..47b31a29 100644 --- a/include/osmo-bts/measurement.h +++ b/include/osmo-bts/measurement.h @@ -6,8 +6,6 @@ int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm); -int trx_meas_check_compute(struct gsm_bts_trx *trx, uint32_t fn); - int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn); #endif 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; -} |