diff options
author | Harald Welte <laforge@netfilter.org> | 2009-08-09 19:55:21 +0200 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-08-09 19:55:21 +0200 |
commit | 1e0a8ea4d53226812a358d22c103daea0dddcfb5 (patch) | |
tree | 3c7eed70c6fa077d19f1f4785d137cc17ca21be6 /openbsc/src/bsc_hack.c | |
parent | 42581829ec2a79ef82c813b8212da76f514aa4f4 (diff) | |
parent | 369cc27f3b7da119b41527de14c447f44b4bfaef (diff) |
Merge branch 'master' into config_file
Conflicts:
openbsc/src/vty_interface.c
Diffstat (limited to 'openbsc/src/bsc_hack.c')
-rw-r--r-- | openbsc/src/bsc_hack.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index 0759f2626..b9d928dd3 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c @@ -37,6 +37,7 @@ #include <openbsc/db.h> #include <openbsc/timer.h> #include <openbsc/gsm_data.h> +#include <openbsc/gsm_utils.h> #include <openbsc/gsm_04_08.h> #include <openbsc/select.h> #include <openbsc/abis_rsl.h> @@ -964,6 +965,10 @@ static void patch_tables(struct gsm_bts *bts) /* patch TSC */ si4[15] &= ~0xe0; si4[15] |= (bts->tsc & 7) << 5; + + /* patch MS max power for CCH */ + type_4->cell_sel_par.ms_txpwr_max_ccch = + ms_pwr_ctl_lvl(bts->band, 20 /* dBm == 100mW */); } |