summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorMinh-Quang Nguyen <minh-quang.nguyen@nutaq.com>2017-01-02 14:52:16 +0100
committerMax <msuraev@sysmocom.de>2017-01-06 10:21:11 +0000
commit592fcc97c004b7e3e84ed6960ea9989157c94f75 (patch)
tree6233b7f979d232b79b6e40ca4c523b80c7cb86a7 /include/osmocom/gsm
parentdbd3a92f70325b7a02d0a637929732f297fb2612 (diff)
Add cause enum for OML fail reports
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
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/protocol/gsm_12_21.h18
1 files changed, 18 insertions, 0 deletions
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,