<p>fixeria <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmocom-bb/+/14579">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trx_toolkit/data_msg.py: implement header version 0x01 coding<br><br>The new version mostly adds new fields to the TRX2L1 message:<br><br>  +------+-----+-----+-----+-----+--------------------+<br>  | RSSI | ToA | MTS | C/I | L16 | soft-bits (254..0) |<br>  +------+-----+-----+-----+-----+--------------------+<br><br>  where:<br><br>    - MTS (1 octet)  - Modulation and Training Sequence info,<br>    - C/I (2 octets) - Carrier-to-Interference ratio (big endian),<br>    - L16 (2 octets) - length of burst (big endian).<br><br>In case of L12TRX, the burst bits are now also encoded as L16V:<br><br>  +-----+-----+--------------------+<br>  | PWR | L16 | hard-bits (1 or 0) |<br>  +-----+-----+--------------------+<br><br>== Coding of MTS: Modulation and Training Sequence info<br><br>3GPP TS 45.002 version 15.1.0 defines several modulation types,<br>and a few sets of training sequences for each type. The most<br>common are GMSK and 8-PSK (which is used in EDGE).<br><br>  +-----------------+---------------------------------------+<br>  | 7 6 5 4 3 2 1 0 | bit numbers (value range)             |<br>  +-----------------+---------------------------------------+<br>  | . . . . . X X X | Training Sequence Code (0..7)         |<br>  +-----------------+---------------------------------------+<br>  | . X X X X . . . | Modulation, TS set number (see below) |<br>  +-----------------+---------------------------------------+<br>  | X . . . . . . . | IDLE / nope frame indication (0 or 1) |<br>  +-----------------+---------------------------------------+<br><br>The bit number 7 (MSB) is set to high when either nothing has been<br>detected, or during IDLE frames, so we can deliver noise levels,<br>and avoid clock gaps on the L1 side. Other bits are ignored,<br>and should be set to low (0) in this case. L16 shall be set to 0x00.<br><br>== Coding of modulation and TS set number<br><br>GMSK has 4 sets of training sequences (see tables 5.2.3a-d),<br>while 8-PSK (see tables 5.2.3f-g) and the others have 2 sets.<br>Access and Synchronization bursts also have several synch.<br>sequences.<br><br>  +-----------------+---------------------------------------+<br>  | 7 6 5 4 3 2 1 0 | bit numbers (value range)             |<br>  +-----------------+---------------------------------------+<br>  | . 0 0 X X . . . | GMSK, 4 TS sets (0..3)                |<br>  +-----------------+---------------------------------------+<br>  | . 0 1 0 X . . . | 8-PSK, 2 TS sets (0..1)               |<br>  +-----------------+---------------------------------------+<br>  | . 0 1 1 X . . . | AQPSK, 2 TS sets (0..1)               |<br>  +-----------------+---------------------------------------+<br>  | . 1 0 0 X . . . | 16QAM, 2 TS sets (0..1)               |<br>  +-----------------+---------------------------------------+<br>  | . 1 0 1 X . . . | 32QAM, 2 TS sets (0..1)               |<br>  +-----------------+---------------------------------------+<br>  | . 1 1 1 X . . . | RESERVED (0)                          |<br>  +-----------------+---------------------------------------+<br><br>== C/I: Carrier-to-Interference ratio<br><br>The C/I value is computed from the training sequence of each burst,<br>where we can compare the "ideal" training sequence with the actual<br>training sequence and then express that in dB.<br><br>Change-Id: Ie810c5a482d1c908994e8cdd32a2ea641ae7cedd<br>Related: OS#4006<br>---<br>M src/target/trx_toolkit/data_msg.py<br>1 file changed, 289 insertions(+), 32 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/79/14579/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmocom-bb/+/14579">change 14579</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/osmocom-bb/+/14579"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie810c5a482d1c908994e8cdd32a2ea641ae7cedd </div>
<div style="display:none"> Gerrit-Change-Number: 14579 </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>