Skip to content
Success

Changes

Summary

  1. {bs,ms}_power_control: Move params inside lchan_power_ctrl_state (details)
Commit 1b99c7ae4c9a849579065a26712128cfeb6c748a by Pau Espin Pedrol
{bs,ms}_power_control: Move params inside lchan_power_ctrl_state

Those fields are also part of the power control state, since they are
modified through the lifecycle of the lchan eg. during rx of CHAN
(RE)ACT, MS POWER CONTROL, etc. Those should also be reset together with
other fields.

Moreover, with this patch we get rid of an extra indirection pointer
which could be NULL (under static configuration) and hence create
potential problems.

Change-Id: I0e2a6c2c33e0ac9a0bc1734d83eaeafc27f2f4df
The file was modifiedtests/power/ms_power_loop_test.c
The file was modifiedsrc/common/vty.c
The file was modifiedinclude/osmo-bts/lchan.h
The file was modifiedsrc/common/power_control.c
The file was modifiedsrc/common/rsl.c
The file was modifiedtests/power/bs_power_loop_test.c