aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-28 12:36:09 +0200
committerlaforge <laforge@osmocom.org>2020-10-20 13:45:57 +0000
commit22f59cd63ab7906684ba38e2f617497ec806cca2 (patch)
treefdf296613fcb97008f4bdd9ec03cfaf69b1419a3 /include
parent7810a917331b33b6cfab5259b5fb2df73b27b230 (diff)
Introduce NM Channel FSM
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/nm_common_fsm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/osmo-bts/nm_common_fsm.h b/include/osmo-bts/nm_common_fsm.h
index 46717250..4a827577 100644
--- a/include/osmo-bts/nm_common_fsm.h
+++ b/include/osmo-bts/nm_common_fsm.h
@@ -36,6 +36,9 @@ enum nm_fsm_events {
NM_EV_PHYLINK_UP, /* RadioCarrier and BaseBand Transceiver only */
NM_EV_PHYLINK_DOWN, /* RadioCarrier and BaseBand Transceiver only */
NM_EV_DISABLE, /* RadioCarrier and BaseBand Transceiver only */
+ NM_EV_BBTRANSC_INSTALLED, /* Radio Channel only */
+ NM_EV_BBTRANSC_ENABLED, /* Radio Channel only */
+ NM_EV_BBTRANSC_DISABLED, /* Radio Channel only */
};
extern const struct value_string nm_fsm_event_names[];
@@ -72,3 +75,12 @@ enum nm_rcarrier_op_fsm_states {
NM_RCARRIER_ST_OP_ENABLED,
};
extern struct osmo_fsm nm_rcarrier_fsm;
+
+/* Radio channel */
+enum nm_chan_op_fsm_states {
+ NM_CHAN_ST_OP_DISABLED_NOTINSTALLED,
+ NM_CHAN_ST_OP_DISABLED_DEPENDENCY,
+ NM_CHAN_ST_OP_DISABLED_OFFLINE,
+ NM_CHAN_ST_OP_ENABLED,
+};
+extern struct osmo_fsm nm_chan_fsm;