jolly has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/34361?usp=email )


Change subject: ASCI: Add BCC call state definitions
......................................................................

ASCI: Add BCC call state definitions

BCC and GCC share same call states, except for two states that have same
value, but different state names and conditions.

Related: OS#5364
Change-Id: I2180b43b940542565188f52c554c960858fe2a95
---
M include/osmocom/gsm/protocol/gsm_44_068.h
M src/gsm/gsm44068.c
2 files changed, 17 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/61/34361/1

diff --git a/include/osmocom/gsm/protocol/gsm_44_068.h 
b/include/osmocom/gsm/protocol/gsm_44_068.h
index b1c4b45..3a33c16 100644
--- a/include/osmocom/gsm/protocol/gsm_44_068.h
+++ b/include/osmocom/gsm/protocol/gsm_44_068.h
@@ -66,12 +66,12 @@
 enum osmo_gsm44068_call_state {
        OSMO_GSM44068_CSTATE_U0                         = 0x0,
        OSMO_GSM44068_CSTATE_U1                         = 0x1,
-       OSMO_GSM44068_CSTATE_U2sl                       = 0x2,
+       OSMO_GSM44068_CSTATE_U2sl_U2                    = 0x2,
        OSMO_GSM44068_CSTATE_U3                         = 0x3,
        OSMO_GSM44068_CSTATE_U4                         = 0x4,
        OSMO_GSM44068_CSTATE_U5                         = 0x5,
        OSMO_GSM44068_CSTATE_U0p                        = 0x6,
-       OSMO_GSM44068_CSTATE_Uwr                        = 0x7,
+       OSMO_GSM44068_CSTATE_U2wr_U6                    = 0x7,
        OSMO_GSM44068_CSTATE_U2r                        = 0x8,
        OSMO_GSM44068_CSTATE_U2ws                       = 0x9,
        OSMO_GSM44068_CSTATE_U2sr                       = 0xa,
diff --git a/src/gsm/gsm44068.c b/src/gsm/gsm44068.c
index 7da5ae2..2556b12 100644
--- a/src/gsm/gsm44068.c
+++ b/src/gsm/gsm44068.c
@@ -89,12 +89,12 @@
 const struct value_string osmo_gsm44068_call_state_names[] = {
        { OSMO_GSM44068_CSTATE_U0,                      "U0" },
        { OSMO_GSM44068_CSTATE_U1,                      "U1" },
-       { OSMO_GSM44068_CSTATE_U2sl,                    "U2sl/U2" },
+       { OSMO_GSM44068_CSTATE_U2sl_U2,                 "U2sl/U2" },
        { OSMO_GSM44068_CSTATE_U3,                      "U3" },
        { OSMO_GSM44068_CSTATE_U4,                      "U4" },
        { OSMO_GSM44068_CSTATE_U5,                      "U5" },
        { OSMO_GSM44068_CSTATE_U0p,                     "U0.p" },
-       { OSMO_GSM44068_CSTATE_Uwr,                     "Uwr" },
+       { OSMO_GSM44068_CSTATE_U2wr_U6,                 "U2wr/U6" },
        { OSMO_GSM44068_CSTATE_U2r,                     "U2r" },
        { OSMO_GSM44068_CSTATE_U2ws,                    "U2ws" },
        { OSMO_GSM44068_CSTATE_U2sr,                    "U2sr" },

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34361?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2180b43b940542565188f52c554c960858fe2a95
Gerrit-Change-Number: 34361
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andr...@eversberg.eu>
Gerrit-MessageType: newchange

Reply via email to