gsm_04_08: Add missing GSM cause value

Table 10.5.157 in 10.5.6.6 of 3GPP TS 04.08 is badly formatted. The first
value 0x19 "LLC or SNDCP failure" is in the same line as the heading and has
not been included in the struct_value so far.

Table 10.5.157 in 10.5.6.6 of 3GPP TS 24.008 fixes this formatting issue and
also defines two more values 0x08 and 0x18 which are now added to the struct
value_string.

Change-Id: I5bcc52f739ff0677011d024448afcc2a54869638
This commit is contained in:
Daniel Willmann 2017-05-12 11:20:53 +02:00 committed by Neels Hofmeyr
parent 13f4762827
commit 6959e3c110
2 changed files with 6 additions and 0 deletions

View File

@ -206,6 +206,9 @@ extern const struct value_string *gsm48_gmm_cause_names;
/* Chapter 10.4.6.6 / Table 10.5.157 */
enum gsm48_gsm_cause {
GSM_CAUSE_OPER_DET_BARR = 0x08,
GSM_CAUSE_MBMS_CAP_INSUF = 0x18,
GSM_CAUSE_LLC_SNDCP_FAIL = 0x19,
GSM_CAUSE_INSUFF_RSRC = 0x1a,
GSM_CAUSE_MISSING_APN = 0x1b,
GSM_CAUSE_UNKNOWN_PDP = 0x1c,

View File

@ -75,6 +75,9 @@ const struct value_string *gsm48_gmm_cause_names = gsm48_gmm_cause_names_;
/* 10.5.6.6 SM Cause / Table 10.5.157 */
const struct value_string gsm48_gsm_cause_names_[] = {
{ GSM_CAUSE_OPER_DET_BARR, "Operator Determined Barring" },
{ GSM_CAUSE_MBMS_CAP_INSUF, "MBMS bearer capabilities insufficient for the service" },
{ GSM_CAUSE_LLC_SNDCP_FAIL, "LLC or SNDCP failure" },
{ GSM_CAUSE_INSUFF_RSRC, "Insufficient resources" },
{ GSM_CAUSE_MISSING_APN, "Missing or unknown APN" },
{ GSM_CAUSE_UNKNOWN_PDP, "Unknown PDP address or PDP type" },