summaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-08-04 02:31:55 +0200
committerHarald Welte <laforge@netfilter.org>2009-08-04 02:31:55 +0200
commitf89abbd16a060a0b0754f40eacdd4bf6f9ebae9e (patch)
tree6d6d9189c92eb4b90e852f0aedf09e2842c26ae8 /openbsc/src
parent2da8629b7c06a018608a13d99038e3e743fddf34 (diff)
alter initial MS RF power to 100mW
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/abis_rsl.c3
1 files changed, 2 insertions, 1 deletions
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);