From 592fcc97c004b7e3e84ed6960ea9989157c94f75 Mon Sep 17 00:00:00 2001 From: Minh-Quang Nguyen Date: Mon, 2 Jan 2017 14:52:16 +0100 Subject: Add cause enum for OML fail reports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add 3GPP TS 12.21 ยง9.4.43 Probable Cause values of type 03 (Manufacturer specific values). Max's note: renamed to make it clear that values are vendor-specific. Related: OS#1615 Change-Id: Ie9ba4b53fb19a151447aec9ea309284e20613585 --- include/osmocom/gsm/protocol/gsm_12_21.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h index ed53dc64..58bb7307 100644 --- a/include/osmocom/gsm/protocol/gsm_12_21.h +++ b/include/osmocom/gsm/protocol/gsm_12_21.h @@ -256,6 +256,24 @@ enum abis_nm_msgtype_ipacc { NM_MT_IPACC_SET_ATTR_NACK, }; +/*! \brief OML Probable Cause (Section 9.4.43) Manufacturer specific values */ +enum abis_mm_event_causes { + /* Critical causes */ + OSMO_EVT_CRIT_SW_FATAL = 0x0000, + OSMO_EVT_CRIT_PROC_STOP = 0x0002, + OSMO_EVT_CRIT_RTP_TOUT = 0x032c, + OSMO_EVT_CRIT_BOOT_FAIL = 0x0401, + /* Major causes */ + OSMO_EVT_MAJ_UKWN_MSG = 0x0002, + OSMO_EVT_MAJ_RSL_FAIL = 0x0309, + OSMO_EVT_MAJ_UNSUP_ATTR = 0x0318, + OSMO_EVT_MAJ_NET_CONGEST = 0x032b, + /* Minor causes */ + OSMO_EVT_MIN_PAG_TAB_FULL = 0x0401, + /* Warning causes */ + OSMO_EVT_WARN_SW_WARN = 0x0001, +}; + enum abis_nm_bs11_cell_alloc { NM_BS11_CANR_GSM = 0x00, NM_BS11_CANR_DCS1800 = 0x01, -- cgit v1.2.3