From f89abbd16a060a0b0754f40eacdd4bf6f9ebae9e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 4 Aug 2009 02:31:55 +0200 Subject: [PATCH] alter initial MS RF power to 100mW --- openbsc/src/abis_rsl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c index 62b142ee8..27c8ba674 100644 --- a/openbsc/src/abis_rsl.c +++ b/openbsc/src/abis_rsl.c @@ -1090,7 +1090,8 @@ static int rsl_rx_chan_rqd(struct msgb *msg) arfcn = lchan->ts->trx->arfcn; subch = lchan->nr; - lchan->ms_power = lchan->bs_power = 0x0f; /* 30dB reduction */ + lchan->ms_power = ms_pwr_ctl_lvl(bts, 20 /* dBm == 100mW */); + lchan->bs_power = 0x0f; /* 30dB reduction */ lchan->rsl_cmode = RSL_CMOD_SPD_SIGN; rsl_chan_activate_lchan(lchan, 0x00, rqd_ta);