aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-10-02 16:20:00 +0200
committerlaforge <laforge@osmocom.org>2020-10-15 05:55:36 +0000
commit558183f3dc7d4f17b937f978db1b1cab8da040da (patch)
treedff02a102fbdb4da71d1f387b39a4038c7d59fb4 /include
parent09544ab43657d16f0ff58f7aa1ee113c9cb4bb05 (diff)
OML: Stay compatible with older osmo-bts versions
Older osmo-bts versions (before FSMs) tended to mimic broken behavior from nanoBTS. As so, we detect it because SiteMGr becomes Enabled by default as in nanoBTS, and hence we can manage them also by expecting no Offline state and sending Opstart (and hence finally transitting to Enabled) during Dependency state. Change-Id: Iaa036a2936f609b9b9721b2b4ad8d6deaf023f42
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/bts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index a9d57a380..284a932cb 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -364,6 +364,12 @@ struct gsm_bts_model {
/* BTS Site Manager */
struct gsm_bts_sm {
struct gsm_abis_mo mo;
+ /* nanoBTS and old versions of osmo-bts behaves this way due to
+ broken FSMs not following TS 12.21: they never do
+ Dependency->Offline transition, but they should be OPSTARTed
+ nevertheless during Dependnecy state to work. This field is
+ used by all dependent NM objects. */
+ bool peer_has_no_avstate_offline;
};
/* One BTS */