aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/scheduler.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-02-05 16:53:04 +0100
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:25 +0200
commit414faaca19812016d5fb756838988f341c23ba51 (patch)
tree898f36f0469be0e55eb3fc50996b557f10513fbd /src/osmo-bts-trx/scheduler.h
parent7a0d11dd68528d96afff61083c3cf90a50af11bb (diff)
TRX: Power down tranceiver and reset scheduler, if abis link is lost
If BTS is gone, TRX is powered down, due to loss of abis link. If link is esablished again, tranceiver and scheduler are provisioned again by BTS.
Diffstat (limited to 'src/osmo-bts-trx/scheduler.h')
-rw-r--r--src/osmo-bts-trx/scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/scheduler.h b/src/osmo-bts-trx/scheduler.h
index eb82327a..97803bd4 100644
--- a/src/osmo-bts-trx/scheduler.h
+++ b/src/osmo-bts-trx/scheduler.h
@@ -26,4 +26,7 @@ int trx_sched_set_pchan(struct trx_l1h *l1h, uint8_t tn,
int trx_sched_set_lchan(struct trx_l1h *l1h, uint8_t chan_nr, uint8_t link_id,
int downlink, int active);
+/* close all logical channels and reset timeslots */
+void trx_sched_reset(struct trx_l1h *l1h);
+
#endif /* TRX_SCHEDULER_H */