<p>keith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/25694">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Power-Loop: Fix LOG when Keeping MX Power level at the same level.<br><br>The log message used the calcuated NEW power level and dB that would have been set<br>if the conditions to actually change MX Power had been met.<br><br>It was slightly confusing, resulting in erroneuos LOG messages such as:<br><br>    Lowering MS power control level 18 (7 dBm) => 19 (5 dBm)<br>    Keeping MS power at control level 19, 3 dBm<br><br>Change-Id: I002b708cfda60371f57e32617e7ee33cb41c42f7<br>---<br>M src/common/power_control.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/94/25694/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/power_control.c b/src/common/power_control.c</span><br><span>index 8f5ce37..d81a440 100644</span><br><span>--- a/src/common/power_control.c</span><br><span>+++ b/src/common/power_control.c</span><br><span>@@ -287,7 +287,7 @@</span><br><span>           LOGPLCHAN(lchan, DLOOP, LOGL_INFO, "Keeping MS power at control level %d (%d dBm): "</span><br><span>                         "ms-pwr-lvl[curr %" PRIu8 ", max %" PRIu8 "], RSSI[curr %d, avg %d, thresh %d..%d] dBm,"</span><br><span>                       " C/I[curr %d, avg %d, thresh %d..%d] dB\n",</span><br><span style="color: hsl(0, 100%, 40%);">-                          new_power_lvl, new_dbm, ms_power_lvl, state->max, ul_rssi_dbm, rxlev2dbm(rxlev_avg),</span><br><span style="color: hsl(120, 100%, 40%);">+                       ms_power_lvl, ms_dbm, ms_power_lvl, state->max, ul_rssi_dbm, rxlev2dbm(rxlev_avg),</span><br><span>                        rxlev2dbm(params->rxlev_meas.lower_thresh), rxlev2dbm(params->rxlev_meas.upper_thresh),</span><br><span>                        ul_lqual_cb/10, ul_lqual_cb_avg/10, ci_meas->lower_thresh, ci_meas->upper_thresh);</span><br><span>           return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/25694">change 25694</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/+/25694"/><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: I002b708cfda60371f57e32617e7ee33cb41c42f7 </div>
<div style="display:none"> Gerrit-Change-Number: 25694 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>