<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16084">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcuif_proto.h: extend RACH.ind with TRX / TS numbers<br><br>Since there can be multiple PDCH channels configured on different<br>timeslots, different TRXes, and BTSes, the PTCCH/U handling code<br>in OsmoPCU needs to know the exact origin of a given RACH.ind.<br><br>Otherwise, it is not known which subscriber originated a given<br>PTCCH/U indication, and hence it is impossible to send PTCCH/D<br>Timing Advance notification properly.<br><br>Fortunately, we can extend the RACH.ind message without even<br>bumping the protocol version, because every single PDU has a<br>fixed size defined by the largest message - INFO.ind. In case<br>if the actual message payload is smaller, the rest is filled<br>with a constant padding byte (0x00).<br><br>Older versions of OsmoPCU will consider the new fields as padding,<br>while the messages from older OsmoBTS versions will always have<br>both fields set to 0x00. Since C0/TS0 cannot be configured to<br>PDCH, this can be easily detected on the other end.<br><br>Change-Id: If209001885ffb14b64a8e808df3700d85a4b2ef9<br>Related: OS#1545<br>---<br>M include/osmocom/pcu/pcuif_proto.h<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/84/16084/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/pcu/pcuif_proto.h b/include/osmocom/pcu/pcuif_proto.h</span><br><span>index fd989a5..e88607e 100644</span><br><span>--- a/include/osmocom/pcu/pcuif_proto.h</span><br><span>+++ b/include/osmocom/pcu/pcuif_proto.h</span><br><span>@@ -108,6 +108,8 @@</span><br><span>      uint16_t        arfcn;</span><br><span>       uint8_t         is_11bit;</span><br><span>    uint8_t         burst_type;</span><br><span style="color: hsl(120, 100%, 40%);">+   uint8_t         trx_nr;</span><br><span style="color: hsl(120, 100%, 40%);">+       uint8_t         ts_nr;</span><br><span> } __attribute__ ((packed));</span><br><span> </span><br><span> struct gsm_pcu_if_info_trx {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/16084">change 16084</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/osmo-pcu/+/16084"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If209001885ffb14b64a8e808df3700d85a4b2ef9 </div>
<div style="display:none"> Gerrit-Change-Number: 16084 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>