From 09544ab43657d16f0ff58f7aa1ee113c9cb4bb05 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 30 Sep 2020 16:36:30 +0200 Subject: Introduce Radio Channel FSM Change-Id: Iddc008c5737afb2fddd32c628bc5278056a64d89 --- include/osmocom/bsc/nm_common_fsm.h | 9 +++++++++ include/osmocom/bsc/signal.h | 1 + 2 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/osmocom/bsc/nm_common_fsm.h b/include/osmocom/bsc/nm_common_fsm.h index 217de820d..00031fb1e 100644 --- a/include/osmocom/bsc/nm_common_fsm.h +++ b/include/osmocom/bsc/nm_common_fsm.h @@ -73,3 +73,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; diff --git a/include/osmocom/bsc/signal.h b/include/osmocom/bsc/signal.h index 4922ac81a..088d4f29c 100644 --- a/include/osmocom/bsc/signal.h +++ b/include/osmocom/bsc/signal.h @@ -75,6 +75,7 @@ enum signal_nm { S_NM_OPSTART_NACK, /* Received OPSTART NACK, arg is struct msgb *oml_msg */ S_NM_GET_ATTR_REP, /* Received Get Attributes Response, arg is struct msgb *oml_msg */ S_NM_SET_RADIO_ATTR_ACK, /* Received Set Radio Carrier Attributes Ack, arg is struct msgb *oml_msg */ + S_NM_SET_CHAN_ATTR_ACK, /* Received Set Radio Channel Attributes Ack, arg is struct msgb *oml_msg */ S_NM_SET_BTS_ATTR_ACK, /* Received Set BTS Attributes Ack, arg is struct msgb *oml_msg */ }; -- cgit v1.2.3