gsm48: introduce MM_CONNECTION_PEND state
authorAndreas Eversberg <jolly@eversberg.eu>
Fri, 9 Apr 2010 05:52:12 +0000 (07:52 +0200)
committerHarald Welte <laforge@gnumonks.org>
Fri, 9 Apr 2010 05:52:12 +0000 (07:52 +0200)
include/osmocore/protocol/gsm_04_08.h
src/gsm48.c

index 801b9b5..47b98b2 100644 (file)
@@ -685,6 +685,7 @@ enum chreq_type {
 /* Chapter 5.1.2.2 */
 #define        GSM_CSTATE_NULL                 0
 #define        GSM_CSTATE_INITIATED            1
+#define        GSM_CSTATE_MM_CONNECTION_PEND   2 /* see 10.5.4.6 */
 #define        GSM_CSTATE_MO_CALL_PROC         3
 #define        GSM_CSTATE_CALL_DELIVERED       4
 #define        GSM_CSTATE_CALL_PRESENT         6
index d024109..e0cba15 100644 (file)
@@ -97,10 +97,10 @@ static const struct value_string rr_cause_names[] = {
 };
 
 /* FIXME: convert to value_string */
-static const char *cc_state_names[32] = {
+static const char *cc_state_names[33] = {
        "NULL",
        "INITIATED",
-       "illegal state 2",
+       "MM_CONNECTION_PEND",
        "MO_CALL_PROC",
        "CALL_DELIVERED",
        "illegal state 5",