diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-12-06 18:45:28 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-12-09 21:39:52 +0000 |
commit | 675618b4f82ab2b47e84779fb167ac37faa9629c (patch) | |
tree | 66d931a21ba65900799cd8603de8cb387cf2f548 /src/common/bts.c | |
parent | 2b416d6d2b7b86fc04a8478f7a1a205d05349d24 (diff) |
power_control: make raise/lower step limitation configurable
Change-Id: Ic37742f46f533865043b3dbcf16ea702e1746f98
Related: SYS#4918
Diffstat (limited to 'src/common/bts.c')
-rw-r--r-- | src/common/bts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c index e021864b..ba244973 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -53,6 +53,7 @@ #include <osmo-bts/cbch.h> #include <osmo-bts/bts_shutdown_fsm.h> #include <osmo-bts/nm_common_fsm.h> +#include <osmo-bts/power_control.h> #define MIN_QUAL_RACH 50 /* minimum link quality (in centiBels) for Access Bursts */ #define MIN_QUAL_NORM -5 /* minimum link quality (in centiBels) for Normal Bursts */ @@ -334,6 +335,8 @@ int bts_init(struct gsm_bts *bts) (struct bts_power_ctrl_params) { .target_dbm = -75, .hysteresis_db = 3, /* -78 .. -72 dBm */ + .raise_step_max_db = PWR_RAISE_MAX_DB, + .lower_step_max_db = PWR_LOWER_MAX_DB, .pf_algo = BTS_PF_ALGO_EWMA, .pf = { .ewma = { |