Change in osmo-bts[master]: common: tx_power: Fix bug in power ramp up below max-initial value

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 18 15:22:45 UTC 2020


Hello Jenkins Builder, 

I'd like you to reexamine a change. Please visit

    https://gerrit.osmocom.org/c/osmo-bts/+/19703

to look at the new patch set (#2).

Change subject: common: tx_power: Fix bug in power ramp up below max-initial value
......................................................................

common: tx_power: Fix bug in power ramp up below max-initial value

See previous commit adding the unit test about the error description and
expected behavior.

The wrong behavior appeared due to step_size_mdB being unsigned and the
whole addition at the left side of the comparison being turned too as
unsigned, hence a small negative value turning into a big positive
value, and tpp->p_total_cur_mdBm not being updated to speed up the power
ramping.

Change-Id: I36a34362ebc90226fd8e1e190f898c3718fd923a
---
M src/common/tx_power.c
M tests/tx_power/tx_power_test.err
M tests/tx_power/tx_power_test.ok
3 files changed, 1 insertion(+), 13 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/03/19703/2
-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19703
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I36a34362ebc90226fd8e1e190f898c3718fd923a
Gerrit-Change-Number: 19703
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200818/6b9fbf93/attachment.htm>


More information about the gerrit-log mailing list