diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/include/openbsc/debug.h | 2 | ||||
-rw-r--r-- | openbsc/src/debug.c | 12 | ||||
-rw-r--r-- | openbsc/src/vty_interface_cmds.c | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h index 65fd0bb53..9c3e6451c 100644 --- a/openbsc/include/openbsc/debug.h +++ b/openbsc/include/openbsc/debug.h @@ -32,6 +32,8 @@ enum { DGPRS, DNS, DBSSGP, + DLLC, + DSNDCP, Debug_LastEntry, }; diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c index 9218f6471..cfbf7df81 100644 --- a/openbsc/src/debug.c +++ b/openbsc/src/debug.c @@ -154,13 +154,23 @@ static const struct log_info_cat default_categories[] = { [DNS] = { .name = "DNS", .description = "GPRS Network Service (NS)", - .enabled = 1, .loglevel = LOGL_DEBUG, + .enabled = 1, .loglevel = LOGL_INFO, }, [DBSSGP] = { .name = "DBSSGP", .description = "GPRS BSS Gateway Protocol (BSSGP)", .enabled = 1, .loglevel = LOGL_DEBUG, }, + [DLLC] = { + .name = "DLLC", + .description = "GPRS Logical Link Control Protocol (LLC)", + .enabled = 1, .loglevel = LOGL_DEBUG, + }, + [DSNDCP] = { + .name = "DSNDCP", + .description = "GPRS Sub-Network Dependent Control Protocol (SNDCP)", + .enabled = 1, .loglevel = LOGL_DEBUG, + }, }; enum log_ctxt { diff --git a/openbsc/src/vty_interface_cmds.c b/openbsc/src/vty_interface_cmds.c index dd5e108ab..8c78caa2d 100644 --- a/openbsc/src/vty_interface_cmds.c +++ b/openbsc/src/vty_interface_cmds.c @@ -149,7 +149,7 @@ DEFUN(logging_prnt_timestamp, } /* FIXME: those have to be kept in sync with the log levels and categories */ -#define VTY_DEBUG_CATEGORIES "(rll|cc|mm|rr|rsl|nm|sms|pag|mncc|inp|mi|mib|mux|meas|sccp|msc|mgcp|ho|db|ref|gprs|ns|bssgp|all)" +#define VTY_DEBUG_CATEGORIES "(rll|cc|mm|rr|rsl|nm|sms|pag|mncc|inp|mi|mib|mux|meas|sccp|msc|mgcp|ho|db|ref|gprs|ns|bssgp|llc|sndcp|all)" #define CATEGORIES_HELP \ "A-bis Radio Link Layer (RLL)\n" \ "Layer3 Call Control (CC)\n" \ @@ -174,6 +174,8 @@ DEFUN(logging_prnt_timestamp, "GPRS Core\n" \ "GPRS Network Service (NS)\n" \ "GPRS BSS Gateway Protocol (BSSGP)\n" \ + "GPRS Logical Link Control Protocol (LLC)\n" \ + "GPRS Sub-Network Dependent Control Protocol (SNDCP)\n" \ "Global setting for all subsytems\n" #define VTY_DEBUG_LEVELS "(everything|debug|info|notice|error|fatal)" |