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 <[email protected]>

Reply via email to