aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-04 09:30:31 +0100
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-12-06 18:59:05 +0100
commit237ec6194b46f096d419efd8a663d1e7e279e2ae (patch)
tree784c84aed4869998a7682ae9f090d1e8cced31d4 /src/common/bts.c
parent63c1838c7ae4f51a6f50856c1aae072811d0a850 (diff)
power_control: clarify units in 'struct bts_power_ctrl_params'
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index a974b9f6..e021864b 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -332,8 +332,8 @@ int bts_init(struct gsm_bts *bts)
/* Default UL/DL power control parameters */
bts->ul_power_ctrl = bts->dl_power_ctrl = \
(struct bts_power_ctrl_params) {
- .target = -75, /* dBm default */
- .hysteresis = 3, /* -78 .. -72 dBm */
+ .target_dbm = -75,
+ .hysteresis_db = 3, /* -78 .. -72 dBm */
.pf_algo = BTS_PF_ALGO_EWMA,
.pf = {
.ewma = {