<p><a href="https://gerrit.osmocom.org/11138">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11138/2/src/host/trxcon/sched_prim.c">File src/host/trxcon/sched_prim.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/11138/2/src/host/trxcon/sched_prim.c@a372">Patch Set #2, Line 372:</a> <code style="font-family:monospace,monospace"></code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Interesting. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It was a dirty hack to make both TTCN-3 and OsmoBTS happy ;)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11138/2/src/host/trxcon/sched_prim.c@180">Patch Set #2, Line 180:</a> <code style="font-family:monospace,monospace">     prim->payload[0] = trx->tx_power;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I think this should be done (without if 0) in line 172, in the dummy meas rep case.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Please see the above comment. I am going to change it<br>to use the actual values, but for the "dummy" MRs only.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11138/2/src/host/trxcon/sched_prim.c@192">Patch Set #2, Line 192:</a> <code style="font-family:monospace,monospace">    LOGP(DSCHD, LOGL_NOTICE, "Transmitting a %s Measurement Report "</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">We are not transmitting here. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Thanks! "Using" looks good to me.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11138/2/src/host/trxcon/sched_prim.c@234">Patch Set #2, Line 234:</a> <code style="font-family:monospace,monospace">      mr_now = !lchan->sacch.mr_tx_last;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">With this toggle and above coment from "sub-clause 3.4. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't know what do you mean by "SACCH slots". If you mean<br>the sub-slots (e.g. TRXC_SACCH4_0 that accomplishes TRXC_SDCCH4_0),<br>this function itself handles each one individually.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The idea of this flag is to determine, *what can be transmitted*<br>at the moment depending on what was transmitted last time:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  - if a Measurement Report was transmitted last time, we can<br>    then either transmit something else (i.e. not a MR), or again<br>    a Measurement Report if there are no other SACCH messages.</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  - if a Measurement Report was not transmitted last time, we<br>    can transmit a Measurement Report only.</pre><p style="white-space: pre-wrap; word-wrap: break-word;">This simple logic implements the requirement from sub-clause 3.4.1.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11138/2/src/host/trxcon/sched_prim.c@259">Patch Set #2, Line 259:</a> <code style="font-family:monospace,monospace">         if (mr_now && prim_mr)</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">This if-else clause can be merged into previous 2 ifs, and it's way clear imho. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's leave it as is for now. For me, the nested conditions<br>here would look a bit more complicated than it's now.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11138">change 11138</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/11138"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: If1b8dc74ced746d6270676fdde75fcda32f91a3d </div>
<div style="display:none"> Gerrit-Change-Number: 11138 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 28 Sep 2018 10:46:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>