[GPRS] Add debug sections for LLC and SNDCP
diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 65fd0bb..9c3e645 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -32,6 +32,8 @@
 	DGPRS,
 	DNS,
 	DBSSGP,
+	DLLC,
+	DSNDCP,
 	Debug_LastEntry,
 };
 
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c
index 9218f64..cfbf7df 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -154,13 +154,23 @@
 	[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 dd5e108..8c78caa 100644
--- a/openbsc/src/vty_interface_cmds.c
+++ b/openbsc/src/vty_interface_cmds.c
@@ -149,7 +149,7 @@
 }
 
 /* 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 @@
 	"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)"