diff options
author | Max <msuraev@sysmocom.de> | 2016-11-11 17:44:57 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-01 15:20:42 +0000 |
commit | 36153239bfd0b633c4d259a9de0a759f41197a2b (patch) | |
tree | bcd43bc4395df9b7d9d3da98235f23d43c3ab79b /include | |
parent | aabeb2eae40bd8d5fc713fcf39e96ff14ad991b2 (diff) |
Remove duplicated code
Remove lchan deactivation related code duplication to facilitate future
use for dynamic CCCH re-activation.
Change-Id: Id0d3b19dbfaa16d1734321a07a6eb0355bfd77c9
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/bts_model.h | 3 | ||||
-rw-r--r-- | include/osmo-bts/rsl.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_model.h b/include/osmo-bts/bts_model.h index 7e2d0887..7a87d786 100644 --- a/include/osmo-bts/bts_model.h +++ b/include/osmo-bts/bts_model.h @@ -45,6 +45,9 @@ int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan); int bts_model_l1sap_down(struct gsm_bts_trx *trx, struct osmo_phsap_prim *l1sap); +int bts_model_lchan_deactivate(struct gsm_lchan *lchan); +int bts_model_lchan_deactivate_sacch(struct gsm_lchan *lchan); + void bts_model_abis_close(struct gsm_bts *bts); int bts_model_ctrl_cmds_install(struct gsm_bts *bts); diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h index 4311ffdc..d542ff62 100644 --- a/include/osmo-bts/rsl.h +++ b/include/osmo-bts/rsl.h @@ -26,6 +26,8 @@ int rsl_tx_conn_fail(struct gsm_lchan *lchan, uint8_t cause); int rsl_tx_rf_rel_ack(struct gsm_lchan *lchan); int rsl_tx_hando_det(struct gsm_lchan *lchan, uint8_t *ho_delay); +int lchan_deactivate(struct gsm_lchan *lchan); + /* call-back for LAPDm code, called when it wants to send msgs UP */ int lapdm_rll_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *ctx); |