Harald Welte has uploaded this change for review. ( 
https://gerrit.osmocom.org/9373


Change subject: gsm_08_08.h: Add enum for LCLS config, control and status
......................................................................

gsm_08_08.h: Add enum for LCLS config, control and status

Change-Id: I775aba59942fb6f34fb31b71d2f0f2ac5c3ae831
---
M include/osmocom/gsm/protocol/gsm_08_08.h
1 file changed, 28 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/73/9373/1

diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h 
b/include/osmocom/gsm/protocol/gsm_08_08.h
index 60b9681..5d2bf13 100644
--- a/include/osmocom/gsm/protocol/gsm_08_08.h
+++ b/include/osmocom/gsm/protocol/gsm_08_08.h
@@ -536,3 +536,31 @@
        uint16_t id_list_lac[CELL_ID_LIST_LAC_MAXLEN];
        unsigned int id_list_len;
 };
+
+/* TS 48.008 3.2.2.116 */
+enum gsm0808_lcls_config {
+       GSM0808_LCLS_CFG_BOTH_WAY                                       = 0x00,
+       GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL                         = 0x01,
+       GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL                           = 0x02,
+       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,
+};
+
+/* TS 48.008 3.2.2.117 */
+enum gsm0808_lcls_control {
+       GSM0808_LCLS_CSC_CONNET                                         = 0x00,
+       GSM0808_LCLS_CSC_DO_NOT_CONNET                                  = 0x01,
+       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,
+};
+
+/* TS 48.008 3.2.2.119 */
+enum gsm0808_lcls_status {
+       GSM0808_LCLS_STS_NOT_YET_LS             = 0x00,
+       GSM0808_LCLS_STS_NOT_POSSIBLE_LS        = 0x01,
+       GSM0808_LCLS_STS_NO_LONER_LS            = 0x02,
+       GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP      = 0x03,
+       GSM0808_LCLS_STS_LOCALLY_SWITCHED       = 0x04,
+};

--
To view, visit https://gerrit.osmocom.org/9373
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: I775aba59942fb6f34fb31b71d2f0f2ac5c3ae831
Gerrit-Change-Number: 9373
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <[email protected]>

Reply via email to