From ce826f3fc4baa314b76b236f8bb60434663a3892 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 10 Nov 2012 18:15:35 +0100 Subject: 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. --- src/osmo-bts-sysmo/l1_if.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/osmo-bts-sysmo/l1_if.c') diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index f28e22b3..7e4c6dbf 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -1181,6 +1181,7 @@ struct femtol1_hdl *l1if_open(void *priv) fl1h->priv = priv; fl1h->clk_cal = 0; + fl1h->ul_power_target = -75; /* dBm default */ /* default clock source: OCXO */ #if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(2,1,0) fl1h->clk_src = SuperFemto_ClkSrcId_Ocxo; -- cgit v1.2.3