osmo-bts/tests/tx_power
Pau Espin 67e5a72a51 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
2020-08-18 17:22:38 +02:00
..
Makefile.am various Makefile.am: add missing CFLAGS 2018-01-25 01:44:51 +01:00
tx_power_test.c tests: tx_power: Extend and add extra power_ramp buggy case 2020-08-18 17:22:01 +02:00
tx_power_test.err common: tx_power: Fix bug in power ramp up below max-initial value 2020-08-18 17:22:38 +02:00
tx_power_test.ok common: tx_power: Fix bug in power ramp up below max-initial value 2020-08-18 17:22:38 +02:00