aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_rsl.c
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-13 10:14:26 +0200
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-13 10:14:26 +0200
commit0e451d0f2e249ede7e77effecbc49d8219a1ce85 (patch)
treebe61b3387a78fdb871a1f073a82844c4fe3c3e91 /openbsc/src/abis_rsl.c
parentccceef8fe90df234bf8f378cd90d5b1f51cf9a7b (diff)
add 'ms max power' vty command to set the maximum MS power in dBm
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r--openbsc/src/abis_rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index f107216c2..d54f2fd9f 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -1082,7 +1082,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
arfcn = lchan->ts->trx->arfcn;
subch = lchan->nr;
- lchan->ms_power = ms_pwr_ctl_lvl(bts->band, 20 /* dBm == 100mW */);
+ lchan->ms_power = ms_pwr_ctl_lvl(bts->band, bts->ms_max_power);
lchan->bs_power = 0; /* 0dB reduction, output power = Pn */
lchan->rsl_cmode = RSL_CMOD_SPD_SIGN;
rsl_chan_activate_lchan(lchan, 0x00, rqd_ta);