Change in libosmocore[master]: LCLS: add 48.008 parameter structure

Max gerrit-no-reply at lists.osmocom.org
Tue Nov 20 12:32:56 UTC 2018


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/11703 )

Change subject: LCLS: add 48.008 parameter structure
......................................................................

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
---
M include/osmocom/gsm/gsm0808_utils.h
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



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

-- 
To view, visit https://gerrit.osmocom.org/11703
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: I4b873f9a3c5a5d33b438382971b3d92e40d48d62
Gerrit-Change-Number: 11703
Gerrit-PatchSet: 5
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181120/d18b0a65/attachment.html>


More information about the gerrit-log mailing list