aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2018-05-25 15:24:06 +0200
committerHarald Welte <laforge@gnumonks.org>2018-05-26 10:22:08 +0000
commitadfa199b5d78d1b82d9c92f83f870afde6f24573 (patch)
tree917e2ec77340dfa3d1297086f0a07ba896e5e633
parent4df2251f1b90358a4597be78500e726453b5df84 (diff)
Add enum gsm48_cause_coding from GSM 04.08 Section 10.5.4.11
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 68ba650c..0bb2dce2 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -1387,6 +1387,14 @@ enum gsm48_signal_val {
GSM48_SIGNAL_ALERT_OFF = 0x4f,
};
+/* Section 10.5.4.11 / Table 10.5.122 */
+enum gsm48_cause_coding {
+ GSM48_CAUSE_CODING_CCITT_Q931 = 0x00,
+ GSM48_CAUSE_CODING_RESERVED = 0x01,
+ GSM48_CAUSE_CODING_NATIONAL = 0x02,
+ GSM48_CAUSE_CODING_GSM = 0x03,
+};
+
enum gsm48_cause_loc {
GSM48_CAUSE_LOC_USER = 0x00,
GSM48_CAUSE_LOC_PRN_S_LU = 0x01,