aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-29 18:56:13 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:07 +0100
commit315abfd46b7de3923d8d111322f56aab88f7fd27 (patch)
treeb4b906a0ab4ce06c6420446f103283c57090cffb /openbsc/src/gprs/sgsn_main.c
parent648b9db47f191c905f3fa52ea67c564e322e7436 (diff)
WIP: Really ugly hacks to get up to (and including) PDP CTX ACT
Diffstat (limited to 'openbsc/src/gprs/sgsn_main.c')
-rw-r--r--openbsc/src/gprs/sgsn_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index cb762b792..0ee304aa7 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -232,6 +232,9 @@ static void handle_options(int argc, char **argv)
}
}
+extern int asn_debug;
+
+#include "hnbgw.h"
/* default categories */
static struct log_info_cat gprs_categories[] = {
[DMM] = {
@@ -281,6 +284,11 @@ static struct log_info_cat gprs_categories[] = {
.description = "GPRS Sub-Network Dependent Control Protocol (SNDCP)",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DRANAP] = {
+ .name = "DRANAP",
+ .description = "RAN Application Part",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
static const struct log_info gprs_log_info = {
@@ -404,6 +412,9 @@ int main(int argc, char **argv)
}
}
+ asn_debug = 0;
+ sgsn_iu_init(tall_bsc_ctx);
+
if (daemonize) {
rc = osmo_daemonize();
if (rc < 0) {