summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm0808_utils.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-09 12:35:03 +0100
committerMax <msuraev@sysmocom.de>2018-11-20 12:32:56 +0000
commit738782467f70e13b1c6667aceb6747c2f3755f61 (patch)
treef727dc725c2d1e45bba1f090b85dd81101696223 /include/osmocom/gsm/gsm0808_utils.h
parentc6bfc63d10f971fbca8e2fd617ffc6b18ab16748 (diff)
LCLS: add 48.008 parameter structure
It's convenient to hold all LCLS-related parameters from 3GPP TS 48.008 in a single structure. This will be used in follow-up patch handling Assignment Request with extended parameters as well as corresponding BSC code working with LCLS. Change-Id: I4b873f9a3c5a5d33b438382971b3d92e40d48d62 Related: OS#2487
Diffstat (limited to 'include/osmocom/gsm/gsm0808_utils.h')
-rw-r--r--include/osmocom/gsm/gsm0808_utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h
index edae8530..c5bf2803 100644
--- a/include/osmocom/gsm/gsm0808_utils.h
+++ b/include/osmocom/gsm/gsm0808_utils.h
@@ -58,6 +58,14 @@ struct gsm0808_cell_id_list2 {
unsigned int id_list_len;
};
+/*! LCLS-related parameters from 3GPP TS 48.008 */
+struct osmo_lcls {
+ enum gsm0808_lcls_config config; /* §3.2.2.116 Configuration */
+ enum gsm0808_lcls_control control; /* §3.2.2.117 Connection Status Control */
+ struct gsm0808_gcr *gcr; /* §3.2.2.115 Global Call Reference */
+ bool corr_needed; /* §3.2.2.118 Correlation-Not-Needed */
+};
+
extern const struct value_string gsm0808_cell_id_discr_names[];
static inline const char *gsm0808_cell_id_discr_name(enum CELL_IDENT id_discr)
{ return get_value_string(gsm0808_cell_id_discr_names, id_discr); }