aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 3809eb3e..da411761 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -256,6 +256,10 @@ int bts_trx_init(struct gsm_bts_trx *trx)
tpp->ramp.step_size_mdB = to_mdB(2);
tpp->ramp.step_interval_sec = 1;
+ /* IF BTS model doesn't DSP/HW support MS Power Control Loop, enable osmo algo by default: */
+ if (!gsm_bts_has_feature(trx->bts, BTS_FEAT_MS_PWR_CTRL_DSP))
+ trx->ms_pwr_ctl_soft = true;
+
rc = bts_model_trx_init(trx);
if (rc < 0) {
llist_del(&trx->list);