<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/22622">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">TRXD: more information on PDU versioning and some highlights<br><br>Change-Id: Idac4a1c73cc92bf030ea80474c71688bfb706421<br>Related: SYS#4895, OS#4941, OS#4006<br>---<br>M common/chapters/trx_if.adoc<br>1 file changed, 32 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/22/22622/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/common/chapters/trx_if.adoc b/common/chapters/trx_if.adoc</span><br><span>index 5989258..222e434 100644</span><br><span>--- a/common/chapters/trx_if.adoc</span><br><span>+++ b/common/chapters/trx_if.adoc</span><br><span>@@ -299,15 +299,16 @@</span><br><span> In the example for `HVHH`, legacy TCH/H0 does not belong to a _VAMOS pair_, so it can</span><br><span> be configured to use any sequence from any set.</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+[[trx_if_pdu_version_nego]]</span><br><span> ==== TRXD header version negotiation</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-Messages on DATA interface may have different header formats, defined by a</span><br><span style="color: hsl(0, 100%, 40%);">-version number, which can be negotiated on the control interface. By default,</span><br><span style="color: hsl(0, 100%, 40%);">-the Transceiver will use the legacy header version (0).</span><br><span style="color: hsl(120, 100%, 40%);">+Messages on DATA interface may have different formats, defined by a version number,</span><br><span style="color: hsl(120, 100%, 40%);">+which can be negotiated on the control interface.  By default, the Transceiver will</span><br><span style="color: hsl(120, 100%, 40%);">+use the legacy header version (0).  See <<trx_if_pdu_versioning>>.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-The header format negotiation can be initiated by the BTS using 'SETFORMAT'</span><br><span style="color: hsl(0, 100%, 40%);">-command. If the requested version is not supported by the transceiver, status</span><br><span style="color: hsl(0, 100%, 40%);">-code of the response message should indicate a preferred (basically, the latest)</span><br><span style="color: hsl(120, 100%, 40%);">+The format negotiation can be initiated by the BTS using 'SETFORMAT' command.</span><br><span style="color: hsl(120, 100%, 40%);">+If the requested version is not supported by the transceiver, status code of</span><br><span style="color: hsl(120, 100%, 40%);">+the response message should indicate a preferred (basically, the latest)</span><br><span> version. The format of this message is the following:</span><br><span> ----</span><br><span> CMD SETFORMAT <ver_req></span><br><span>@@ -386,6 +387,31 @@</span><br><span> _hard-bits_ (to the modulator).  Length of the sequence depends on modulation</span><br><span> type of the burst.</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+[[trx_if_pdu_versioning]]</span><br><span style="color: hsl(120, 100%, 40%);">+==== PDU versioning</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+The format of a PDU, i.e. presence and ordering of certain fields, is determined by</span><br><span style="color: hsl(120, 100%, 40%);">+the version number indicated in the first octet.  This is usually referred as</span><br><span style="color: hsl(120, 100%, 40%);">+`TRXDvN`, where `N` is the version number (e.g. TRXDv0 or TRXDv1).  A version number</span><br><span style="color: hsl(120, 100%, 40%);">+indicates the message format to be used for both directions: `TRX -> L1` and</span><br><span style="color: hsl(120, 100%, 40%);">+`L1 -> TRX`.  The same version shall be used for all messages in both directions,</span><br><span style="color: hsl(120, 100%, 40%);">+mixing in any way is not permitted.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+The version negotiation is optionally initiated by the `L1` on the control interface,</span><br><span style="color: hsl(120, 100%, 40%);">+and expected to be performed before starting the transceiver (i.e. sending 'POWERON'</span><br><span style="color: hsl(120, 100%, 40%);">+command).  See <<trx_if_pdu_version_nego>>.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+The current header allows to distinguish up to 16 different versions.</span><br><span style="color: hsl(120, 100%, 40%);">+The following versions are defined so far:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+* TRXDv0 - initial version of TRXD protocol, inherited as-is from OpenBTS project.</span><br><span style="color: hsl(120, 100%, 40%);">+* TRXDv1 (proposed in July 2019):</span><br><span style="color: hsl(120, 100%, 40%);">+** Introduced the concept of protocol versioning;</span><br><span style="color: hsl(120, 100%, 40%);">+** Introduced NOPE / IDLE indications;</span><br><span style="color: hsl(120, 100%, 40%);">+** New field: MTS (Modulation and Training Sequence);</span><br><span style="color: hsl(120, 100%, 40%);">+** New field: C/I (Carrier-to-interface) ratio;</span><br><span style="color: hsl(120, 100%, 40%);">+** Downlink messages mostly unchanged.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> ==== Uplink Data Burst</span><br><span> </span><br><span> Uplink data burst message structure differs from version 0 to 1. Basically,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/22622">change 22622</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-gsm-manuals/+/22622"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-manuals </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Idac4a1c73cc92bf030ea80474c71688bfb706421 </div>
<div style="display:none"> Gerrit-Change-Number: 22622 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>