[PATCH] libosmocore[master]: Add support for PCU version report

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
Wed Mar 15 11:11:52 UTC 2017


Review at  https://gerrit.osmocom.org/2083

Add support for PCU version report

Expand 3GPP TS 52.021 §9.4.43 Probable Cause with Osmocom-specific value
for PCU version reporting to enable sending it via OML alarms.

Change-Id: If57459c0610f2c7b36d599b13087c8deef8bdd9e
Related: OS#1614
---
M include/osmocom/gsm/protocol/gsm_12_21.h
M src/gsm/abis_nm.c
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/83/2083/1

diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h
index d6e8c11..f7ed507 100644
--- a/include/osmocom/gsm/protocol/gsm_12_21.h
+++ b/include/osmocom/gsm/protocol/gsm_12_21.h
@@ -277,6 +277,7 @@
 	OSMO_EVT_WARN_SW_WARN		= 0x0001,
 	/* External causes */
 	OSMO_EVT_EXT_ALARM		= 0xfeed,
+	OSMO_EVT_PCU_VERS		= 0xface,
 };
 
 extern const struct value_string abis_mm_event_cause_names[];
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index 155084a..a8a1ccb 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -162,6 +162,7 @@
 	{ OSMO_EVT_MIN_PAG_TAB_FULL,	"Paging table full" },
 	{ OSMO_EVT_WARN_SW_WARN,	"Software warning" },
 	{ OSMO_EVT_EXT_ALARM,		"External alarm" },
+	{ OSMO_EVT_PCU_VERS,		"PCU version report" },
 	{ 0, NULL }
 };
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If57459c0610f2c7b36d599b13087c8deef8bdd9e
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list