<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18835">View Change</a></p><p>2 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/+/18835/1/include/osmo-bts/gsm_data_shared.h">File include/osmo-bts/gsm_data_shared.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/+/18835/1/include/osmo-bts/gsm_data_shared.h@269">Patch Set #1, Line 269:</a> <code style="font-family:monospace,monospace">     /* BTS power reduction (2 dB steps) */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think it makes more sense to keep it in dB internally, like we do for all other power, pwr reduction/attenuations.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/18835/1/src/common/tx_power.c">File src/common/tx_power.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/+/18835/1/src/common/tx_power.c@116">Patch Set #1, Line 116:</a> <code style="font-family:monospace,monospace">int get_p_trxout_target_mdBm(struct gsm_bts_trx *trx, uint8_t bs_power_ie)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">here too: bs_power_red_ie.</p><p style="white-space: pre-wrap; word-wrap: break-word;">BTW, current name may be wrong too, as in it says "ie" meaning it's 2db step, but not sure if this code is actually expecting 1dB unit instead 2db step.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/18835">change 18835</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/+/18835"/><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: I16cc50dfca102030380a06e16c234d5f6698f38f </div>
<div style="display:none"> Gerrit-Change-Number: 18835 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 15 Jun 2020 15:12:59 +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>