commit | 0e451d0f2e249ede7e77effecbc49d8219a1ce85 | [log] [tgz] |
---|---|---|
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Thu Aug 13 10:14:26 2009 +0200 |
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Thu Aug 13 10:14:26 2009 +0200 |
tree | be61b3387a78fdb871a1f073a82844c4fe3c3e91 | |
parent | ccceef8fe90df234bf8f378cd90d5b1f51cf9a7b [diff] [blame] |
add 'ms max power' vty command to set the maximum MS power in dBm
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index 7bd036a..6de6fd2 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c
@@ -956,7 +956,7 @@ /* patch MS max power for CCH */ type_4->cell_sel_par.ms_txpwr_max_ccch = - ms_pwr_ctl_lvl(bts->band, 20 /* dBm == 100mW */); + ms_pwr_ctl_lvl(bts->band, bts->ms_max_power); if (bts->cell_barred) { type_1->rach_control.cell_bar = 1;