aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2021-11-09 16:21:34 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2021-12-13 18:03:12 +0100
commit3ba9bd7c3571e86ed0605d90dec89183de9023c2 (patch)
tree9b9c8a3536e6bce4ec366959e54be783066b415d /include
parent5cebdefed6e9ab6a5c268070b6e95fe54c7fbe65 (diff)
abis_nm: actively block BTSs with invalid configuration
At the moment the BTS configuration is checked, but the check does not have much consequence other than that some initialization that is not executed. The BTS will go into the OML bootstrap phase anyway and most likely fail at some later point due to the invalid configuration. To reduce noise and unexpected behaviour of the BTS lets make sure that the OML boostrap phase can only proceed when the BSC conciders the configuration as valid. Change-Id: I42c1c26a9b800600787b1266a871f95f2114c26e Related: SYS#5369
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/bts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index 922753c9e..c4ee39daf 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -717,6 +717,7 @@ static inline const struct osmo_location_area_id *bts_lai(struct gsm_bts *bts)
}
struct gsm_bts *gsm_bts_alloc(struct gsm_network *net, struct gsm_bts_sm *bts_sm, uint8_t bts_num);
+int gsm_bts_check_cfg(struct gsm_bts *bts);
char *gsm_bts_name(const struct gsm_bts *bts);