Harald Welte has submitted this change and it was merged. ( 
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(-)

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



diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h 
b/include/osmocom/gsm/protocol/gsm_08_08.h
index 60b9681..db5f7fa 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_CONNECT                                        = 0x00,
+       GSM0808_LCLS_CSC_DO_NOT_CONNECT                                 = 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_LONGER_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: merged
Gerrit-Change-Id: I775aba59942fb6f34fb31b71d2f0f2ac5c3ae831
Gerrit-Change-Number: 9373
Gerrit-PatchSet: 3
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to