<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24425">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/osmo-bsc/+/24425/5/src/osmo-bsc/meas_rep.c">File src/osmo-bsc/meas_rep.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/osmo-bsc/+/24425/5/src/osmo-bsc/meas_rep.c@37">Patch Set #5, Line 37:</a> <code style="font-family:monospace,monospace">         return rep->dl.full.rx_lev + (rep->bs_power * 2);</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;">We could rename the enum values to MEAS_REP_DL_RXLEV_AND_BS_POWER_FULL</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">actually can't, for some strange reason this enum value is defined in libosmocore and kind of cast in stone...<br>I do get the point of your feedback, just it makes no sense to use the raw rxlev value that is not bs-power adjusted anywhere. So it seems most appropriate to imply the BS power everywhere.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Consider the rxlev averaging window: Each measurement report may send a different BS Power value.<br>when averaging the rxlev values across the window, we need each one adjusted by its individual BS Power.<br>Otherwise we get a complete random result without any meaning.<br>Same when comparing cells' rxlev values: the numbers are not comparable when ignoring the BS power.<br>So we want the BS power adjusted into the rxlev value as implicitly as possible.<br>Just a bummer that we can't easily rename the enum value to its more concise meaning.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24425">change 24425</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-bsc/+/24425"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ifcf59964b5e2d550d79e4ba14d90962808f79dae </div>
<div style="display:none"> Gerrit-Change-Number: 24425 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 31 May 2021 15:14:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>