summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-05-20 21:59:35 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-06-13 09:18:51 +0000
commit3adb23cfc5119673651ff804cdc13fe554908adc (patch)
treedb7e63867dbba67ab2061c3b671f0649c51acb7d
parenta66852525ab9287c3869b3983f04506f0484f422 (diff)
add DSUA debug constant
-rw-r--r--openbsc/include/openbsc/debug.h1
-rw-r--r--openbsc/src/gprs/sgsn_main.c5
-rw-r--r--openbsc/src/libcommon/debug.c5
3 files changed, 11 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index b6087e2e0..43ebb19a0 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -35,6 +35,7 @@ enum {
DFILTER,
DGTPHUB,
DRANAP,
+ DSUA,
Debug_LastEntry,
};
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index aef36caca..c852840db 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -286,6 +286,11 @@ static struct log_info_cat gprs_categories[] = {
.description = "RAN Application Part (RANAP)",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DSUA] = {
+ .name = "DSUA",
+ .description = "SCCP User Adaptation (SUA)",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
static const struct log_info gprs_log_info = {
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index 232f6f712..cf5beeb44 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -170,6 +170,11 @@ static const struct log_info_cat default_categories[] = {
.description = "Radio Access Network Application Part Protocol",
.enabled = 1, .loglevel = LOGL_DEBUG,
},
+ [DSUA] = {
+ .name = "DSUA",
+ .description = "SCCP User Adaptation Protocol",
+ .enabled = 1, .loglevel = LOGL_DEBUG,
+ },
};
enum log_filter {