<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/21726">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">protocol/gsm_08_58.h: add ip.access Power Control structures<br><br>Change-Id: I9430bcb79c269efb4f9527f565cf4e12e4444940<br>Related: SYS#4918<br>---<br>M include/osmocom/gsm/protocol/gsm_08_58.h<br>1 file changed, 44 insertions(+), 0 deletions(-)<br><br></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 1ed4438..aeaa6ff 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>@@ -780,6 +780,22 @@</span><br><span> #endif</span><br><span> }__attribute__ ((packed));</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/*! MS/BS Power Control Thresholds */</span><br><span style="color: hsl(120, 100%, 40%);">+struct ipac_preproc_pc_thresh {</span><br><span style="color: hsl(120, 100%, 40%);">+#if OSMO_IS_LITTLE_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+        uint8_t l_rxlev:6, reserved_l_rxlev:2;</span><br><span style="color: hsl(120, 100%, 40%);">+        uint8_t u_rxlev:6, reserved_u_rxlev:2;</span><br><span style="color: hsl(120, 100%, 40%);">+        uint8_t l_rxqual:3, reserved_l_rxqual:1,</span><br><span style="color: hsl(120, 100%, 40%);">+              u_rxqual:3, reserved_u_rxqual:1;</span><br><span style="color: hsl(120, 100%, 40%);">+#elif OSMO_IS_BIG_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+    uint8_t reserved_l_rxlev:2, l_rxlev:6;</span><br><span style="color: hsl(120, 100%, 40%);">+        uint8_t reserved_u_rxlev:2, u_rxlev:6;</span><br><span style="color: hsl(120, 100%, 40%);">+        uint8_t reserved_l_rxqual:1, l_rxqual:3,</span><br><span style="color: hsl(120, 100%, 40%);">+              reserved_u_rxqual:1, u_rxqual:3;</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span style="color: hsl(120, 100%, 40%);">+}__attribute__ ((packed));</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+/*! Handover Thresholds */</span><br><span> struct ipac_preproc_ho_thresh {</span><br><span> #if OSMO_IS_LITTLE_ENDIAN</span><br><span>   uint8_t l_rxlev_ul_h:6,</span><br><span>@@ -807,6 +823,34 @@</span><br><span> #endif</span><br><span> }__attribute__ ((packed));</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/*! PC Threshold Comparators */</span><br><span style="color: hsl(120, 100%, 40%);">+struct ipac_preproc_pc_comp {</span><br><span style="color: hsl(120, 100%, 40%);">+#if OSMO_IS_LITTLE_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+ uint8_t p1:5, reserved_p1:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t n1:5, reserved_n1:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t p2:5, reserved_p2:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t n2:5, reserved_n2:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t p3:5, reserved_p3:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t n3:5, reserved_n3:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t p4:5, reserved_p4:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t n4:5, reserved_n4:3;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t pc_interval:5, reserved_pc:3;</span><br><span style="color: hsl(120, 100%, 40%);">+ uint8_t red_step_size:4, inc_step_size:4;</span><br><span style="color: hsl(120, 100%, 40%);">+#elif OSMO_IS_BIG_ENDIAN</span><br><span style="color: hsl(120, 100%, 40%);">+   uint8_t reserved_p1:3, p1:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_n1:3, n1:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_p2:3, p2:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_n2:3, n2:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_p3:3, p3:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_n3:3, n3:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_p4:3, p4:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_n4:3, n4:5;</span><br><span style="color: hsl(120, 100%, 40%);">+  uint8_t reserved_pc:3, pc_interval:5;</span><br><span style="color: hsl(120, 100%, 40%);">+ uint8_t inc_step_size:4, red_step_size: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 style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+/*! HO Threshold Comparators */</span><br><span> struct ipac_preproc_ho_comp {</span><br><span> #if OSMO_IS_LITTLE_ENDIAN</span><br><span>       uint8_t p5:5,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/21726">change 21726</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/+/21726"/><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: I9430bcb79c269efb4f9527f565cf4e12e4444940 </div>
<div style="display:none"> Gerrit-Change-Number: 21726 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>