aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-30 14:43:09 +0200
committerlaforge <laforge@osmocom.org>2020-10-15 05:55:36 +0000
commitd9d105c1f73713b1363849554d5d87d36d4ae7b6 (patch)
treed0681eb7183221c939015a3cce6b5a1be8663351 /include
parent95486f248a37e66d6ae0baa1fd33e44317cce3ba (diff)
Introduce NM RadioCarrier FSM
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/gsm_data.h1
-rw-r--r--include/osmocom/bsc/nm_common_fsm.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 428fe87ae..ed40e360f 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -398,6 +398,7 @@ struct gsm_abis_mo {
bool adm_unlock_sent;
bool set_attr_sent;
bool set_attr_ack_received;
+ bool force_rf_lock;
};
/* Ericsson OM2000 Managed Object */
diff --git a/include/osmocom/bsc/nm_common_fsm.h b/include/osmocom/bsc/nm_common_fsm.h
index 2ffb59f67..217de820d 100644
--- a/include/osmocom/bsc/nm_common_fsm.h
+++ b/include/osmocom/bsc/nm_common_fsm.h
@@ -34,6 +34,7 @@ enum nm_fsm_events {
NM_EV_OPSTART_ACK,
NM_EV_OPSTART_NACK,
NM_EV_OML_DOWN,
+ NM_EV_FORCE_LOCK, /* Only supported by RadioCarrier so far */
};
extern const struct value_string nm_fsm_event_names[];
@@ -63,3 +64,12 @@ enum nm_bb_transc_op_fsm_states {
NM_BB_TRANSC_ST_OP_ENABLED,
};
extern struct osmo_fsm nm_bb_transc_fsm;
+
+/* Radio Carrier */
+enum nm_rcarrier_op_fsm_states {
+ NM_RCARRIER_ST_OP_DISABLED_NOTINSTALLED,
+ NM_RCARRIER_ST_OP_DISABLED_DEPENDENCY,
+ NM_RCARRIER_ST_OP_DISABLED_OFFLINE,
+ NM_RCARRIER_ST_OP_ENABLED,
+};
+extern struct osmo_fsm nm_rcarrier_fsm;