<p>fixeria <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17709">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts: fix send_gsmtap_rach(): properly pack 11 bit RA<br><br>According to 3GPP TS 44.004, section 7.4a, two alternative RACH<br>block formats are specified: 8 bit (1 octet) and 11 bit. The<br>bit order is LSB (right to left), byte order is MSB.<br><br>In PCUIF RACH.ind structure (see gsm_pcu_if_rach_ind) we use<br>a field of type uint16_t to store RA values regardles of the<br>block format. Thus when packing it to bytes, we cannot just<br>cast uint16_t* to uint8_t*, we need to do some bit shifting.<br><br>Change-Id: I08a0a908f855b0d8a002df732e02781126d27dfb<br>---<br>M src/bts.cpp<br>1 file changed, 14 insertions(+), 2 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/09/17709/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/17709">change 17709</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/+/17709"/><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: I08a0a908f855b0d8a002df732e02781126d27dfb </div>
<div style="display:none"> Gerrit-Change-Number: 17709 </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-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>