<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/21186">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsm_08_58: add struct for RSL_IE_OSMO_REP_ACCH_CAP<br><br>The recently added IE is used to transfer a bitfield, lets add a struct<br>that describes the bitfield. This makes the IE easier to use.<br><br>Change-Id: I326e66dae25acfab0b3fddc7278b39a8cbf7d385<br>Related: SYS#5114, OS#4796, OS#4794, OS#4795<br>---<br>M include/osmocom/gsm/protocol/gsm_08_58.h<br>1 file changed, 16 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/86/21186/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>index 95da23a..43b9d5b 100644</span><br><span>--- a/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>+++ b/include/osmocom/gsm/protocol/gsm_08_58.h</span><br><span>@@ -116,6 +116,22 @@</span><br><span>    uint8_t data[0];        /*!< message payload data */</span><br><span> } __attribute__ ((packed));</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* Osmocom specific IE to negotiate repeated ACCH capabilities */</span><br><span style="color: hsl(120, 100%, 40%);">+struct abis_rsl_osmo_rep_acch_cap {</span><br><span style="color: hsl(120, 100%, 40%);">+#if OSMO_IS_BIG_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+            uint8_t reserved:4,</span><br><span style="color: hsl(120, 100%, 40%);">+                   ul_sacch:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                   dl_sacch:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                   dl_facch_all:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                       dl_facch_cmd:1;</span><br><span style="color: hsl(120, 100%, 40%);">+#elif OSMO_IS_LITTLE_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+          uint8_t dl_facch_cmd:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                       dl_facch_all:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                       dl_sacch:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                   ul_sacch:1,</span><br><span style="color: hsl(120, 100%, 40%);">+                   reserved:4;</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span style="color: hsl(120, 100%, 40%);">+} __attribute__ ((packed));</span><br><span> </span><br><span> /* Chapter 9.1 */</span><br><span> /* RSL Message Discriminator: RLL */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/21186">change 21186</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/21186"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I326e66dae25acfab0b3fddc7278b39a8cbf7d385 </div>
<div style="display:none"> Gerrit-Change-Number: 21186 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>