<p style="white-space: pre-wrap; word-wrap: break-word;">Hi Max,</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Would be nice to get more detailed explanation in commit message<br>as to why this is the right thing.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I believe the commit message is satisfactory, please read it carefully.</p><p style="white-space: pre-wrap; word-wrap: break-word;">In other words:</p><p style="white-space: pre-wrap; word-wrap: break-word;">We used to count the amount of both RSSI and ToA measurements separately,<br>but since we always receive both, i.e. there are no cases when we receive<br>either RSSI, or ToA, it makes sense to have a shared counter of measurements.</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Was dbm_avg too high/incorrect before?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">No. It would be calculated in the same way as before.</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1: Code-Review-1<br>Also, why +2 with no reviews?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Because at the moment we have a lack of code review. Some of my further<br>changes depend on this one, so I need to get it merged ASAP. Also, I have<br>not merged this change immediately, so I don't see any problems here.</p><p><a href="https://gerrit.osmocom.org/12990">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12990/1/src/host/trxcon/sched_lchan_common.c">File src/host/trxcon/sched_lchan_common.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/12990/1/src/host/trxcon/sched_lchan_common.c@104">Patch Set #1, Line 104:</a> <code style="font-family:monospace,monospace">                dbm_avg = lchan->meas.rssi_sum / lchan->meas.num;</code></p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">because meas.num = meas.rssi_num + meas.toa256_num?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">From where this assumption comes from?</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">now you will end up with lower dbm_avg value than before</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">No.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12990">change 12990</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/12990"/><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: I45454a3ac92b8cc85dd74092e4ab6eb350f20c9a </div>
<div style="display:none"> Gerrit-Change-Number: 12990 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 21 Feb 2019 13:49:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>