diff options
author | Max <msuraev@sysmocom.de> | 2017-01-10 17:49:23 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-01-10 17:49:23 +0100 |
commit | 85908a9c2f218b6665b8e90005b900c74875e806 (patch) | |
tree | f90438833ffb1ef26d6737462882da4b82130f8d /src/gsm | |
parent | ebcf02de6cb40bc035c2e94bd6929ffa9a61ed78 (diff) |
Add value strings for Probable Cause Type
Add string representation of Probable Cause Type from 3GPP TS 12.21 ยง
9.4.43.
Change-Id: I9fe14ed3b5398f59dd06a509e4d419e074cc20a7
Related: OS#1615
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/abis_nm.c | 7 | ||||
-rw-r--r-- | src/gsm/libosmogsm.map | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c index 2de49411..f50a54fa 100644 --- a/src/gsm/abis_nm.c +++ b/src/gsm/abis_nm.c @@ -164,6 +164,13 @@ const struct value_string abis_mm_event_cause_names[] = { { 0, NULL } }; +const struct value_string abis_nm_pcause_type_names[] = { + { NM_PCAUSE_T_X721, "ISO/CCITT values (X.721)"}, + { NM_PCAUSE_T_GSM, "GSM specific values"}, + { NM_PCAUSE_T_MANUF, "Manufacturer specific values"}, + { 0, NULL } +}; + /* Chapter 9.4.36 */ static const struct value_string nack_cause_names[] = { /* General Nack Causes */ diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map index 0c37d1cf..3d1413dd 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -27,6 +27,7 @@ abis_nm_test_name; abis_nm_osmo_magic; abis_nm_ipa_magic; abis_nm_event_cause_names; +abis_nm_pcause_type_names; osmo_sitype_strs; osmo_c4; |