From 3adb23cfc5119673651ff804cdc13fe554908adc Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Fri, 20 May 2016 21:59:35 +0200 Subject: add DSUA debug constant Change-Id: I4a3a8189564345700ea4825983ab39a8411227f4 --- openbsc/include/openbsc/debug.h | 1 + openbsc/src/gprs/sgsn_main.c | 5 +++++ openbsc/src/libcommon/debug.c | 5 +++++ 3 files changed, 11 insertions(+) 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 { -- cgit v1.2.3