summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-28 23:15:36 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-28 23:15:36 +0100
commitb47d2bc8e5de49d01b90aa1e0d1db674159a9f8f (patch)
tree90b211aa7d094318e0133bdc33eaffa5311aca92
parentec79abd31f6a973024cec8644b994d3ba353e15b (diff)
ipaccess-config: re-enable DNM logging, add support for multi-TRX
-rw-r--r--openbsc/src/ipaccess/ipaccess-config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c
index c7d223438..6ea2e1efb 100644
--- a/openbsc/src/ipaccess/ipaccess-config.c
+++ b/openbsc/src/ipaccess/ipaccess-config.c
@@ -361,6 +361,8 @@ int main(int argc, char **argv)
stderr_target = debug_target_create_stderr();
debug_add_target(stderr_target);
debug_set_all_filter(stderr_target, 1);
+ debug_set_log_level(stderr_target, 0);
+ debug_parse_category_mask(stderr_target, "DNM,0");
printf("ipaccess-config (C) 2009 by Harald Welte\n");
printf("This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY\n\n");
@@ -431,6 +433,10 @@ int main(int argc, char **argv)
bts = gsm_bts_alloc(gsmnet, GSM_BTS_TYPE_NANOBTS, HARDCODED_TSC,
HARDCODED_BSIC);
+ /* ip.access supports up to 4 chained TRX */
+ gsm_bts_trx_alloc(bts);
+ gsm_bts_trx_alloc(bts);
+ gsm_bts_trx_alloc(bts);
bts->oml_tei = stream_id;
register_signal_handler(SS_NM, nm_sig_cb, NULL);