<p>neels <strong>uploaded patch set #7</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24421">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">change bs_power to bs_power_db<br><br>The RSL BS Power IE in measurement reports is encoded as dB / 2.<br>Instead of using this coding all over the code, converting to dB and<br>often printing confusing values in logging etc, store as plain dB.<br><br>The conversions should be at the points where a "weird" format is<br>defined: the RSL encoding needs divided-by-two, so apply it there. The<br>meas_vis is (now unfortunately) defined as div-two, and so on. But<br>internally we now just store the plain dB value and calculate with it<br>without duplicating the wire decoding step everywhere.<br><br>Rename to bs_power_db to clarify the unit of the stored value.<br><br>Change-Id: I229db1d6bcf532af95aff56b2ad18b5ed9d81616<br>---<br>M include/osmocom/bsc/gsm_data.h<br>M include/osmocom/bsc/meas_rep.h<br>M src/osmo-bsc/abis_rsl.c<br>M src/osmo-bsc/bsc_vty.c<br>M src/osmo-bsc/lchan_fsm.c<br>M src/osmo-bsc/meas_rep.c<br>M src/utils/meas_db.c<br>M src/utils/meas_json.c<br>8 files changed, 21 insertions(+), 18 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/21/24421/7</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24421">change 24421</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/+/24421"/><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: I229db1d6bcf532af95aff56b2ad18b5ed9d81616 </div>
<div style="display:none"> Gerrit-Change-Number: 24421 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </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-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>