diff options
| author | Harald Welte <laforge@gnumonks.org> | 2018-05-29 19:21:03 +0200 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2018-05-30 01:36:04 +0200 | 
| commit | 2f51684e635e38371d2fb3513a8bc1eb42421e4f (patch) | |
| tree | f7b5fe602bcbc6a44dcd5cfcd8a0895182badd26 /include | |
| parent | fb5da89579c78d91221e517ef5aa0eb43f90cb5d (diff) | |
gsm_08_08.h: Add enum for LCLS config, control and status
Change-Id: I775aba59942fb6f34fb31b71d2f0f2ac5c3ae831
Diffstat (limited to 'include')
| -rw-r--r-- | include/osmocom/gsm/protocol/gsm_08_08.h | 28 | 
1 files changed, 28 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_08.h b/include/osmocom/gsm/protocol/gsm_08_08.h index 60b96812..db5f7fa2 100644 --- a/include/osmocom/gsm/protocol/gsm_08_08.h +++ b/include/osmocom/gsm/protocol/gsm_08_08.h @@ -536,3 +536,31 @@ struct gsm0808_cell_id_list {  	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, +};  | 
