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
This commit is contained in:
Max 2018-11-09 12:35:03 +01:00
parent c6bfc63d10
commit 738782467f
1 changed files with 8 additions and 0 deletions

View File

@ -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); }