diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-10 18:15:35 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-10 18:15:53 +0100 |
commit | ce826f3fc4baa314b76b236f8bb60434663a3892 (patch) | |
tree | bbe8aa45aadf102735a57afcfd26d02b4e515d22 /src/osmo-bts-sysmo/oml.c | |
parent | 7350736054b045882efc5c6807af598c228fd678 (diff) |
VTY: make target uplink Rx level VTY-configurable
We used to have -75 dBm as the target value for the uplink receive
level. Now this is configurable.
The parameter is used as input into the power control loop that adjusts
the MS transmit power in order to achieve the target rx value on the
BTS Rx input.
Diffstat (limited to 'src/osmo-bts-sysmo/oml.c')
-rw-r--r-- | src/osmo-bts-sysmo/oml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c index 1240b2ba..97a488f6 100644 --- a/src/osmo-bts-sysmo/oml.c +++ b/src/osmo-bts-sysmo/oml.c @@ -279,7 +279,7 @@ static int trx_init(struct gsm_bts_trx *trx) dev_par->u16Arfcn = trx->arfcn; dev_par->u16BcchArfcn = trx->bts->c0->arfcn; dev_par->u8NbTsc = trx->bts->bsic & 7; - dev_par->fRxPowerLevel = -75.f; + dev_par->fRxPowerLevel = fl1h->ul_power_target; dev_par->fTxPowerLevel = trx->nominal_power - trx->max_power_red; LOGP(DL1C, LOGL_NOTICE, "Init TRX (ARFCN %u, TSC %u, RxPower % 2f dBm, " "TxPower % 2.2f dBm\n", dev_par->u16Arfcn, dev_par->u8NbTsc, |