diff options
author | Max <msuraev@sysmocom.de> | 2017-10-12 17:46:49 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-11-02 15:58:08 +0100 |
commit | 36bf7974ab85f81623fa15f6bf1250997341af7f (patch) | |
tree | 7a94f91b1c8a8a807768fbc5d7dd083a6c6a5125 /include/osmocom/bsc | |
parent | 848e1a566fb8a9a35d158684d75734430ea3a132 (diff) |
Check OML state per-BTS
To properly decide if a given OML link is degraded we have to use
BTS-specific information about MO state.
* move check function into BTS-specific part
* add generic wrapper
Related: OS#2486
Change-Id: Iddc7a4d20fbb95a6566eed1487a12733e5adb9e2
Diffstat (limited to 'include/osmocom/bsc')
-rw-r--r-- | include/osmocom/bsc/abis_nm.h | 1 | ||||
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/abis_nm.h b/include/osmocom/bsc/abis_nm.h index 34f16a953..e25cb4fdf 100644 --- a/include/osmocom/bsc/abis_nm.h +++ b/include/osmocom/bsc/abis_nm.h @@ -162,6 +162,7 @@ int ipac_parse_bcch_info(struct ipac_bcch_info *binf, uint8_t *buf); const char *ipacc_testres_name(uint8_t res); /* Functions calling into other code parts */ +bool all_trx_rsl_connected(const struct gsm_bts *bts); int nm_is_running(struct gsm_nm_state *s); int abis_nm_vty_init(void); diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 51b2c9845..74298b847 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -654,7 +654,6 @@ extern struct e1inp_line_ops bts_isdn_e1inp_line_ops; extern const struct value_string bts_type_names[_NUM_GSM_BTS_TYPE+1]; extern const struct value_string bts_type_descs[_NUM_GSM_BTS_TYPE+1]; -char *get_oml_status(const struct gsm_bts *bts); char *get_model_oml_status(const struct gsm_bts *bts); unsigned long long bts_uptime(const struct gsm_bts *bts); |