<p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25653">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25653/6/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_vty.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/+/25653/6/src/osmo-bsc/bsc_vty.c@1888">Patch Set #6, Line 1888:</a> <code style="font-family:monospace,monospace">      "bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> ms-power <5-40>\n",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">are you sure 4-50 is the correct range or ms power levels?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25653/6/src/osmo-bsc/bsc_vty.c@1896">Patch Set #6, Line 1896:</a> <code style="font-family:monospace,monospace">      if (!ts)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Add vty_out about wrong bts+trx+ts?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25653/6/src/osmo-bsc/bsc_vty.c@1908">Patch Set #6, Line 1908:</a> <code style="font-family:monospace,monospace">      lchan->ms_power = ms_pwr_ctl_lvl(ts->trx->bts->band, atoi(argv[4]));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What about reusing lchan_update_ms_power_ctrl_level() instead? You could extend that fucntion to return negative on error and return WARNIGN here in that case.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I guess since this is a test command it's find yto bypass all the checks and send the value manually.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25653">change 25653</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/+/25653"/><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: Ie2642299ea696358db5822571f1f722b5e8f76b9 </div>
<div style="display:none"> Gerrit-Change-Number: 25653 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 01 Oct 2021 09:23:39 +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>