diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-09-28 12:36:09 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-10-20 13:45:57 +0000 |
commit | 22f59cd63ab7906684ba38e2f617497ec806cca2 (patch) | |
tree | fdf296613fcb97008f4bdd9ec03cfaf69b1419a3 /include/osmo-bts | |
parent | 7810a917331b33b6cfab5259b5fb2df73b27b230 (diff) |
Introduce NM Channel FSM
Change-Id: I288cbfb4730b25a334ef1c3d6b9679d6f1d4cfc5
Diffstat (limited to 'include/osmo-bts')
-rw-r--r-- | include/osmo-bts/nm_common_fsm.h | 12 |
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; |