path: root/include
diff options
authorHarald Welte <laforge@gnumonks.org>2018-02-23 13:29:05 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-23 14:27:45 +0000
commitb82b81b256b7e98872065600fc4e0daf6c0d430a (patch)
tree55cec411a9d48827d08755b31e8d0fff01013de8 /include
parenta38deee5f1b714336cec253a730a6e3c254c64d2 (diff)
scheduler: add trx_sched_is_sacch_fn() function
For proper measurement processing of RX{LEV,QUAL}-SUB, we will need this information. Related: OS#2978 Change-Id: I768fde62452a74dce471ebf946e56eb1e4de1abc
Diffstat (limited to 'include')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h
index 9dbc9461..11a30fd4 100644
--- a/include/osmo-bts/scheduler.h
+++ b/include/osmo-bts/scheduler.h
@@ -188,4 +188,7 @@ int trx_sched_set_cipher(struct l1sched_trx *l1t, uint8_t chan_nr, int downlink,
/* \brief close all logical channels and reset timeslots */
void trx_sched_reset(struct l1sched_trx *l1t);
+/*! Determine if given frame number contains SACCH (true) or other (false) burst */
+bool trx_sched_is_sacch_fn(struct gsm_bts_trx_ts *ts, uint32_t fn, bool uplink);
#endif /* TRX_SCHEDULER_H */