<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971/1/src/osmo-bts-trx/loops.h">File src/osmo-bts-trx/loops.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/osmo-bts/+/15971/1/src/osmo-bts-trx/loops.h@11">Patch Set #1, Line 11:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">#define MS_RAISE_MAX_DBM 4<br>#define MS_LOWER_MAX_DBM 8<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">A relative change to a dBm value is always in dB.  So you are e.g. adding 2dB to a 10dBm value, and you get 12dBm.  So the constants here should end in _DB</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971/1/src/osmo-bts-trx/loops.c">File src/osmo-bts-trx/loops.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-bts/+/15971/1/src/osmo-bts-trx/loops.c@58">Patch Set #1, Line 58:</a> <code style="font-family:monospace,monospace">retrieve</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">nitpick: compute? calculate?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971/1/src/osmo-bts-trx/loops.c@58">Patch Set #1, Line 58:</a> <code style="font-family:monospace,monospace">%d</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm sure we have a value_string for band names?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971/1/src/osmo-bts-trx/loops.c@65">Patch Set #1, Line 65:</a> <code style="font-family:monospace,monospace">%d</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm sure we have a value_string for band names?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/15971">change 15971</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/+/15971"/><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: I0160637c5ffa606ee3081ad30be8e6f2a42b725b </div>
<div style="display:none"> Gerrit-Change-Number: 15971 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 05 Nov 2019 19:36:49 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>