<p>Patch set 5:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14611">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14611/5//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5//COMMIT_MSG@17">Patch Set #5, Line 17:</a> <code style="font-family:monospace,monospace">version, which can be either equal or lover than VER_REQ. In</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">love is in the air! or maybe lower.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/l1_if.h">File src/osmo-bts-trx/l1_if.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/l1_if.h@11">Patch Set #5, Line 11:</a> <code style="font-family:monospace,monospace">   int                     setformat_sent;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">bool?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/l1_if.c">File src/osmo-bts-trx/l1_if.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/l1_if.c@214">Patch Set #5, Line 214:</a> <code style="font-family:monospace,monospace">                      l1h->config.setformat_sent = 1;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">= true. Also, you set trxd_hdr_ver_req inside trx_if_cmd_setformat(), but this one here. Please move them to be in the same place.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/trx_if.c">File src/osmo-bts-trx/trx_if.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/trx_if.c@446">Patch Set #5, Line 446:</a> <code style="font-family:monospace,monospace"></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Seems we want to add code here to match the version parameter in SETFORMAT.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/trx_if.c@486">Patch Set #5, Line 486:</a> <code style="font-family:monospace,monospace"> if (rsp->status < 0 || rsp->status > TRX_DATA_FORMAT_VER) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You should check here if rsp->status > l1h->config.trxd_hdr_ver_req, since it should be equal or lower than the one you sent, not the one you support (which is unknown to trx).</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14611/5/src/osmo-bts-trx/trx_if.c@529">Patch Set #5, Line 529:</a> <code style="font-family:monospace,monospace"> } else if (strcmp(tcm->cmd, "SETFORMAT") == 0) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Add a comment here on why tcm->cmd is used instead of rsp->cmd (due to RSP ERR 1 being answered).</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14611">change 14611</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-bts/+/14611"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I8afe950bd1ec2afaf3347ff848ee46e69c4f5011 </div>
<div style="display:none"> Gerrit-Change-Number: 14611 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: ipse <Alexander.Chemeris@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 04 Jul 2019 14:04:25 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>