mirror of https://gerrit.osmocom.org/libosmocore
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
This commit is contained in:
parent
ebcf02de6c
commit
85908a9c2f
|
@ -592,6 +592,8 @@ enum abis_nm_pcause_type {
|
||||||
NM_PCAUSE_T_MANUF = 0x03,
|
NM_PCAUSE_T_MANUF = 0x03,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const struct value_string abis_nm_pcause_type_names[];
|
||||||
|
|
||||||
/*! \brief NACK causes (Section 9.4.36) */
|
/*! \brief NACK causes (Section 9.4.36) */
|
||||||
enum abis_nm_nack_cause {
|
enum abis_nm_nack_cause {
|
||||||
/* General Nack Causes */
|
/* General Nack Causes */
|
||||||
|
|
|
@ -164,6 +164,13 @@ const struct value_string abis_mm_event_cause_names[] = {
|
||||||
{ 0, NULL }
|
{ 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 */
|
/* Chapter 9.4.36 */
|
||||||
static const struct value_string nack_cause_names[] = {
|
static const struct value_string nack_cause_names[] = {
|
||||||
/* General Nack Causes */
|
/* General Nack Causes */
|
||||||
|
|
|
@ -27,6 +27,7 @@ abis_nm_test_name;
|
||||||
abis_nm_osmo_magic;
|
abis_nm_osmo_magic;
|
||||||
abis_nm_ipa_magic;
|
abis_nm_ipa_magic;
|
||||||
abis_nm_event_cause_names;
|
abis_nm_event_cause_names;
|
||||||
|
abis_nm_pcause_type_names;
|
||||||
|
|
||||||
osmo_sitype_strs;
|
osmo_sitype_strs;
|
||||||
osmo_c4;
|
osmo_c4;
|
||||||
|
|
Loading…
Reference in New Issue