Max has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11678 )

Change subject: Update GSM0808_LCLS enums
......................................................................

Update GSM0808_LCLS enums

Add values indicating that LCLS control/config/status value has not been
received yet.

Change-Id: I52dc6a52f5ee043ed2c1625ffecfd495e3c746b1
Related: OS#2487
---
M include/osmocom/gsm/protocol/gsm_08_08.h
M src/gsm/gsm0808.c
2 files changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h 
b/include/osmocom/gsm/protocol/gsm_08_08.h
index 2317e78..cb9fe01 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -576,6 +576,7 @@
        GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL_BLOCK_LOCAL_DL            = 0x03,
        GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL                 = 0x04,
        GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL_BLOCK_LOCAL_DL  = 0x05,
+       GSM0808_LCLS_CFG_NA                                             = 0xFF
 };

 /* TS 48.008 3.2.2.117 */
@@ -585,6 +586,7 @@
        GSM0808_LCLS_CSC_RELEASE_LCLS                                   = 0x02,
        GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER                          = 0x03,
        GSM0808_LCLS_CSC_BICAST_UL_AND_RECV_DL_AT_HANDOVER              = 0x04,
+       GSM0808_LCLS_CSC_NA                                             = 0xFF
 };

 /* TS 48.008 3.2.2.119 */
@@ -594,4 +596,5 @@
        GSM0808_LCLS_STS_NO_LONGER_LS           = 0x02,
        GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP      = 0x03,
        GSM0808_LCLS_STS_LOCALLY_SWITCHED       = 0x04,
+       GSM0808_LCLS_STS_NA                     = 0xFF
 };
diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index 791ebc2..c413688 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -1307,6 +1307,7 @@
          "Connect both-way, bi-cast UL to CN, send access DL from CN" },
        { GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL_BLOCK_LOCAL_DL,
          "Connect both-way, bi-cast UL to CN, send access DL from CN, block 
local DL" },
+       { GSM0808_LCLS_CFG_NA, "Not available" },
        { 0, NULL }
 };
 
@@ -1316,6 +1317,7 @@
        { GSM0808_LCLS_CSC_RELEASE_LCLS,                        "Release LCLS" 
},
        { GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER,               "Bi-cast UL at 
Handover" },
        { GSM0808_LCLS_CSC_BICAST_UL_AND_RECV_DL_AT_HANDOVER,   "Bi-cast UL and 
receive DL at Handover" },
+       { GSM0808_LCLS_CSC_NA,                                  "Not available" 
},
        { 0, NULL }
 };

@@ -1325,6 +1327,7 @@
        { GSM0808_LCLS_STS_NO_LONGER_LS,        "Call is no longer locally 
switched" },
        { GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP,   "Requested LCLS configuration 
is not supported" },
        { GSM0808_LCLS_STS_LOCALLY_SWITCHED,    "Call is locally switched with 
requested LCLS config" },
+       { GSM0808_LCLS_STS_NA,                  "Not available" },
        { 0, NULL }
 };


--
To view, visit https://gerrit.osmocom.org/11678
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I52dc6a52f5ee043ed2c1625ffecfd495e3c746b1
Gerrit-Change-Number: 11678
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msur...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msur...@sysmocom.de>

Reply via email to