diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-12-03 19:52:22 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@espeweb.net> | 2020-12-04 14:44:43 +0100 |
commit | 10364c899921679931ef5f6c287624a736b64d15 (patch) | |
tree | f2963a39f36895af67fbc4f70e8e268759c75e9d /include/osmocom | |
parent | dd6af77e44a85702023f7faa7e361c800672a105 (diff) |
Handle BTS/BBTRANSC Get Attributes (Ack) in NM FSMs
Before this patch, Get Attributes was sent quicklyafter the OML link
became up, even if the BTS/BB_TRANSC objects were still powered off,
which is wrong since attributes should only be available after the
objects transition out of the Power off state.
Furthermore, information about get attr response already received will
be required in future patches to delay NSVC setting.
Related: OS#4870
Change-Id: I8ec39c7e1f956ffce9aecd58a5590c43200ba086
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/nm_common_fsm.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index d8f8be25c..6904266ec 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -399,6 +399,8 @@ struct gsm_abis_mo { struct osmo_fsm_inst *fi; bool opstart_sent; bool adm_unlock_sent; + bool get_attr_sent; + bool get_attr_rep_received; bool set_attr_sent; bool set_attr_ack_received; bool force_rf_lock; diff --git a/include/osmocom/bsc/nm_common_fsm.h b/include/osmocom/bsc/nm_common_fsm.h index 7ad3df631..bceefbe73 100644 --- a/include/osmocom/bsc/nm_common_fsm.h +++ b/include/osmocom/bsc/nm_common_fsm.h @@ -30,6 +30,7 @@ enum nm_fsm_events { NM_EV_SW_ACT_REP, NM_EV_STATE_CHG_REP, + NM_EV_GET_ATTR_REP, NM_EV_SET_ATTR_ACK, NM_EV_OPSTART_ACK, NM_EV_OPSTART_NACK, |