summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorAndreas Eversberg2010-04-04 19:42:43 +0200
committerAndreas Eversberg2010-04-04 19:42:43 +0200
commit5118bb887a72254433b8002e653db1b10a9ac6d4 (patch)
treeef00bae760e1a06287cd332da3988a2916588cb3 /src/shared
parentAdopted transaction.c and transaction.h from OpenBSC. (diff)
downloadosmocom-5118bb887a72254433b8002e653db1b10a9ac6d4.tar.gz
osmocom-5118bb887a72254433b8002e653db1b10a9ac6d4.tar.xz
osmocom-5118bb887a72254433b8002e653db1b10a9ac6d4.zip
Work on layer 3: finished Call Control layer
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h1
-rw-r--r--src/shared/libosmocore/src/gsm48.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h b/src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h
index 801b9b5..0e2cd8e 100644
--- a/src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h
+++ b/src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h
@@ -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
diff --git a/src/shared/libosmocore/src/gsm48.c b/src/shared/libosmocore/src/gsm48.c
index 5761c67..adaeba3 100644
--- a/src/shared/libosmocore/src/gsm48.c
+++ b/src/shared/libosmocore/src/gsm48.c
@@ -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",