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
diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h
index edae853..c5bf280 100644
--- a/include/osmocom/gsm/gsm0808_utils.h
+++ b/include/osmocom/gsm/gsm0808_utils.h
@@ -58,6 +58,14 @@
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); }