Change in libosmocore[master]: Update GSM0808_LCLS enums

Max gerrit-no-reply at lists.osmocom.org
Thu Nov 8 10:42:53 UTC 2018


Max has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/78/11678/1

diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h b/include/osmocom/gsm/protocol/gsm_08_08.h
index 8431ace..d8c2665 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -564,6 +564,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 */
@@ -573,6 +574,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 */
@@ -582,4 +584,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 e5c3e30..1085f13 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -1289,6 +1289,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 }
 };
 
@@ -1298,6 +1299,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 }
 };
 
@@ -1307,6 +1309,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: newchange
Gerrit-Change-Id: I52dc6a52f5ee043ed2c1625ffecfd495e3c746b1
Gerrit-Change-Number: 11678
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181108/2b54a2c8/attachment.html>


More information about the gerrit-log mailing list