Change in libosmocore[master]: gsm_08_58: add struct for RSL_IE_OSMO_REP_ACCH_CAP

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Nov 16 22:21:09 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21186 )


Change subject: gsm_08_58: add struct for RSL_IE_OSMO_REP_ACCH_CAP
......................................................................

gsm_08_58: add struct for RSL_IE_OSMO_REP_ACCH_CAP

The recently added IE is used to transfer a bitfield, lets add a struct
that describes the bitfield. This makes the IE easier to use.

Change-Id: I326e66dae25acfab0b3fddc7278b39a8cbf7d385
Related: SYS#5114, OS#4796, OS#4794, OS#4795
---
M include/osmocom/gsm/protocol/gsm_08_58.h
1 file changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/86/21186/1

diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 95da23a..43b9d5b 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -116,6 +116,22 @@
 	uint8_t	data[0];	/*!< message payload data */
 } __attribute__ ((packed));
 
+/* Osmocom specific IE to negotiate repeated ACCH capabilities */
+struct abis_rsl_osmo_rep_acch_cap {
+#if OSMO_IS_BIG_ENDIAN
+		uint8_t reserved:4,
+			ul_sacch:1,
+			dl_sacch:1,
+			dl_facch_all:1,
+			dl_facch_cmd:1;
+#elif OSMO_IS_LITTLE_ENDIAN
+		uint8_t dl_facch_cmd:1,
+			dl_facch_all:1,
+			dl_sacch:1,
+			ul_sacch:1,
+			reserved:4;
+#endif
+} __attribute__ ((packed));
 
 /* Chapter 9.1 */
 /* RSL Message Discriminator: RLL */

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/21186
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I326e66dae25acfab0b3fddc7278b39a8cbf7d385
Gerrit-Change-Number: 21186
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201116/6f531bfa/attachment.htm>


More information about the gerrit-log mailing list