<p>fixeria <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/17693">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">coding: fix bit ordering in 11-bit RACH coding functions<br><br>According to 3GPP TS 44.060, figure 7.4a.b, the format of 11-bit<br>RACH uplink / Uplink access burst block is as defined follows:<br><br>  <---------------------------------------------------<br><br>      8     7     6     5     4     3     2     1<br>  +--------------------------------------------------+<br>  |  11 bit RACH uplink / Uplink access burst block  | OCT1<br>  +--------------------------------------------------+<br>                                 |                   | OCT2<br>                                 +-------------------+<br><br>As was (correctly) assumed in [1], the bit ordering in 11-bit RACH<br>coding functions is wrong. The problem is that neither of generic<br>functions from bit16gen.h can be used to load / store the RA11<br>value (regardless of the endianness), because they assume that<br>the payload is 16 bit long.<br><br>With this patch applied, RA11 values from [1] look correct:<br><br>  < EGPRS Packet channel request message content > ::=<br>    < Signalling : 110011  < RandomBits : 00111 > > |<br>    < Signalling : 110011  < RandomBits : 00110 > > |<br>    < Signalling : 110011  < RandomBits : 01111 > > |<br>    < Signalling : 110011  < RandomBits : 01100 > > |<br>    < Signalling : 110011  < RandomBits : 00111 > > |<br>    < Signalling : 110011  < RandomBits : 10110 > > ;<br><br>[1] Id80e471d252b9416217b56f4c8c0a8f5f1289fee<br><br>Change-Id: I43d30611dd69f77f2b3b46f4b56056a8891d3c24<br>Related: OS#1548<br>---<br>M src/coding/gsm0503_coding.c<br>M tests/coding/coding_test.ok<br>2 files changed, 9 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/93/17693/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/17693">change 17693</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/+/17693"/><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: I43d30611dd69f77f2b3b46f4b56056a8891d3c24 </div>
<div style="display:none"> Gerrit-Change-Number: 17693 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>