aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-29 20:42:14 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-29 20:42:14 +0200
commitb84968418172040f12dc150d770f9b06d6df335d (patch)
treed7cd7017d9ee345aa7d5660dcf82d0c451dd0c7d /include
parent1eb4d4893c3de16692ae3e9c3b4c8a09da490ad8 (diff)
deactivate RF + exit when the Abis link is gone
The idea is that the BTS process is re-spawned from init/upstart/systemd
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/bts.h1
-rw-r--r--include/osmo-bts/bts_model.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index 0d0a0b44..1a5a7fd6 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -6,6 +6,7 @@
extern void *tall_bts_ctx;
int bts_init(struct gsm_bts *bts);
+void bts_shutdown(struct gsm_bts *bts);
struct gsm_bts *create_bts(uint8_t num_trx, char *id);
int create_ms(struct gsm_bts_trx *trx, int maskc, uint8_t *maskv_tx,
diff --git a/include/osmo-bts/bts_model.h b/include/osmo-bts/bts_model.h
index e7a0d040..62c5c72b 100644
--- a/include/osmo-bts/bts_model.h
+++ b/include/osmo-bts/bts_model.h
@@ -31,4 +31,6 @@ int bts_model_rsl_chan_act(struct gsm_lchan *lchan, struct tlv_parsed *tp);
int bts_model_rsl_chan_rel(struct gsm_lchan *lchan);
int bts_model_rsl_deact_sacch(struct gsm_lchan *lchan);
+int bts_model_trx_deact_rf(struct gsm_bts_trx *trx);
+
#endif