aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-27 15:02:32 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-04 09:27:48 +0100
commit9381576e1865e5b39d6a68aaf5f23f1d318ccf6c (patch)
tree4909cc35c02f1bde49887290edbbb80530194009 /tests
parentfb03b43e24b5e3aa0153eed2eac124b5c9ad4636 (diff)
power_control: generalize power control state structure
Diffstat (limited to 'tests')
-rw-r--r--tests/power/ms_power_loop_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/power/ms_power_loop_test.c b/tests/power/ms_power_loop_test.c
index f1b910b8..1abe532e 100644
--- a/tests/power/ms_power_loop_test.c
+++ b/tests/power/ms_power_loop_test.c
@@ -152,7 +152,7 @@ static void test_pf_algo_ewma(void)
init_test(__func__);
lchan = &g_trx->ts[0].lchan[0];
- avg100 = &lchan->ms_power_ctrl.avg100_ul_rssi;
+ avg100 = &lchan->ms_power_ctrl.avg100_rxlev_dbm;
g_bts->ul_power_ctrl.pf_algo = BTS_PF_ALGO_EWMA;
g_bts->ul_power_ctrl.pf.ewma.alpha = 20; /* 80% smoothing */