aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/rsl.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-06-16 17:32:32 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-17 15:50:48 +0000
commit24a31cfe4348942ba151aa479c9970a406530a76 (patch)
tree5ab2d747b4590fedd547304d0e4688c290dbdf46 /include/osmo-bts/rsl.h
parent0d10f0e482cdd50acc916e75a8b3ba1beb94227c (diff)
dyn PDCH: implement main dyn PDCH logic in common/
React on IPAC PDCH ACT and DEACT messages and invoke the PCU and bts_model_ts_* APIs to effect switchover. The dyn PDCH interaction is described in the comment to rsl_rx_dyn_pdch(), the main entry point for PDCH switchover. In case the bts_model_ts_* are not implemented (or return other errors), reply with an IPAC PDCH ACT/DEACT NACK. Add callbacks that mark steps in the PDCH switchover process, dyn_pdch_ts_disconnected(), dyn_pdch_ts_connected() and dyn_pdch_complete(). Add hooks in l1sap.c on channel activation and release confirmation, to call dyn PDCH callbacks. BTS dyn PDCH implementations should invoke dyn_pdch_ts_disconnected() and dyn_pdch_ts_connected() when bts_model_ts_disconnect() or bts_model_ts_connect() are called, respectively. (upcoming for sysmoBTS) Change-Id: Id2f5f77121a65d6c14eac127b3d4fb50e97a77ab
Diffstat (limited to 'include/osmo-bts/rsl.h')
-rw-r--r--include/osmo-bts/rsl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index 6cb40dd2..173e0863 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -35,5 +35,9 @@ int rsl_tx_ccch_load_ind_rach(struct gsm_bts *bts, uint16_t total,
struct gsm_lchan *rsl_lchan_lookup(struct gsm_bts_trx *trx, uint8_t chan_nr);
+void dyn_pdch_ts_disconnected(struct gsm_bts_trx_ts *ts);
+void dyn_pdch_ts_connected(struct gsm_bts_trx_ts *ts);
+void dyn_pdch_complete(struct gsm_bts_trx_ts *ts, int rc);
+
#endif // _RSL_H */