aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-03-15 12:02:22 +0100
committerMax <msuraev@sysmocom.de>2017-03-23 09:56:56 +0000
commit7f9c7e7b8b194d9ebdd9de1fd8c0a5457b1e20e7 (patch)
tree1524bd77dae75e737c786e097ee677a2c8c53fda
parent5d994e4f751544475f7b8df9507f0aba357945b9 (diff)
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
-rw-r--r--include/osmocom/gsm/protocol/gsm_12_21.h1
-rw-r--r--src/gsm/abis_nm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h
index 23392d2c..c88f0b13 100644
--- a/include/osmocom/gsm/protocol/gsm_12_21.h
+++ b/include/osmocom/gsm/protocol/gsm_12_21.h
@@ -277,6 +277,7 @@ enum abis_mm_event_causes {
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 e1b248fa..934d7ceb 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -162,6 +162,7 @@ const struct value_string abis_mm_event_cause_names[] = {
{ 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 }
};