[MERGED] libosmocore[master]: Add cause enum for OML fail reports

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Jan 6 10:21:11 UTC 2017


Max has submitted this change and it was merged.

Change subject: Add cause enum for OML fail reports
......................................................................


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
---
M include/osmocom/gsm/protocol/gsm_12_21.h
1 file changed, 18 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h
index ed53dc6..58bb730 100644
--- a/include/osmocom/gsm/protocol/gsm_12_21.h
+++ b/include/osmocom/gsm/protocol/gsm_12_21.h
@@ -256,6 +256,24 @@
 	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,

-- 
To view, visit https://gerrit.osmocom.org/1520
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie9ba4b53fb19a151447aec9ea309284e20613585
Gerrit-PatchSet: 4
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com>



More information about the gerrit-log mailing list