aboutsummaryrefslogtreecommitdiffstats
path: root/tests/power/power_test.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-13 12:51:17 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-14 16:36:00 +0100
commite5e122630102f5197357b6afef3de0e73d372f4c (patch)
tree16fa2271afcd0ac8c1b6bf2a0e6ef4fc1672bb9e /tests/power/power_test.c
parentd8d459c7e2d5fded700d5bb708a45187eb6d094f (diff)
Change gsm_bts_trx field to bool and rename it
Thies field is used to store and retrieve whether MS power needs to be calculated and updated by osmo-bts software or autonomously by lower layers. Previous name was not clear and may have been understood as indicating whether MS Power Control loop is done or not in general, and the responsible for that is located under lchan's ms_power_ctrl.fixed. Related: OS#1851 Change-Id: Ic690ab69866a7377f1597e24aa7b0214831c1cbe
Diffstat (limited to 'tests/power/power_test.c')
-rw-r--r--tests/power/power_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/power/power_test.c b/tests/power/power_test.c
index a46a430c..8df6d693 100644
--- a/tests/power/power_test.c
+++ b/tests/power/power_test.c
@@ -48,7 +48,7 @@ static void test_power_loop(void)
ts.trx = &trx;
trx.bts = &bts;
bts.band = GSM_BAND_1800;
- trx.ms_power_control = 1;
+ trx.ms_pwr_ctl_soft = true;
bts.ul_power_target = -75;
lchan->state = LCHAN_S_NONE;