mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
[GPRS] Add debug sections for LLC and SNDCP
This commit is contained in:
@@ -32,6 +32,8 @@ enum {
|
||||
DGPRS,
|
||||
DNS,
|
||||
DBSSGP,
|
||||
DLLC,
|
||||
DSNDCP,
|
||||
Debug_LastEntry,
|
||||
};
|
||||
|
||||
|
@@ -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 {
|
||||
|
@@ -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)"
|
||||
|
Reference in New Issue
Block a user