diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-29 16:49:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-29 16:49:03 +0200 |
commit | b7849987e516eb3bf102b29298ecc103b8b24d53 (patch) | |
tree | 7d0cef4dbe3ce0f8655a4dd989d7f1d3209dde0a /openbsc/include/openbsc/gsm_data_shared.h | |
parent | c7921c9205ae3ac131f4ce6447876fc46cd32fae (diff) |
properly reset the MO state of all MO on Abis disconnectopenbsc/0.9.14
When we loose the A-bis link, we should properly re-set the
administrative, operational and availability state of all MOs
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index b3b7b9050..011e0aa96 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -568,6 +568,8 @@ char *gsm_lchan_name(struct gsm_lchan *lchan); const char *gsm_lchans_name(enum gsm_lchan_state s); +void gsm_abis_mo_reset(struct gsm_abis_mo *mo); + struct gsm_abis_mo * gsm_objclass2mo(struct gsm_bts *bts, uint8_t obj_class, struct abis_om_obj_inst *obj_inst); @@ -579,6 +581,9 @@ void * gsm_objclass2obj(struct gsm_bts *bts, uint8_t obj_class, struct abis_om_obj_inst *obj_inst); +/* reset the state of all MO in the BTS */ +void gsm_bts_mo_reset(struct gsm_bts *bts); + uint8_t gsm_ts2chan_nr(const struct gsm_bts_trx_ts *ts, uint8_t lchan_nr); uint8_t gsm_lchan2chan_nr(const struct gsm_lchan *lchan); |