blob: b683a6340dc114e326be7d2e05405d00afc7b18b [file] [log] [blame]
Ivan Kluchnikov60437182012-05-24 22:07:15 +04001/* gprs_debug.h
2 *
3 * Copyright (C) 2012 Ivan Klyuchnikov
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Ivan Kluchnikov60437182012-05-24 22:07:15 +040014 */
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010015
16#pragma once
Ivan Kluchnikov60437182012-05-24 22:07:15 +040017
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010018#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040019extern "C" {
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010020#endif
Ivan Kluchnikov60437182012-05-24 22:07:15 +040021#include <osmocom/core/logging.h>
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010022#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040023};
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010024#endif
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010025
Harald Welte398f60e2020-12-10 13:39:21 +010026/* we used to have DBSSGP definded in each application, and applications telling
27 * libosmogb which sub-system to use. That creates problems and has been deprecated */
28#define DBSSGP DLBSSGP
29
Ivan Kluchnikov60437182012-05-24 22:07:15 +040030/* Debug Areas of the code */
31enum {
32 DCSN1,
33 DL1IF,
34 DRLCMAC,
35 DRLCMACDATA,
Andreas Eversberge6228b32012-07-03 13:36:03 +020036 DRLCMACDL,
37 DRLCMACUL,
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020038 DRLCMACSCHED,
Andreas Eversberg050ace22013-03-16 16:22:02 +010039 DRLCMACMEAS,
Max0524e382018-01-19 18:22:25 +010040 DTBF,
41 DTBFDL,
42 DTBFUL,
Jacob Erlbeck56af6d52015-08-17 14:06:21 +020043 DNS,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040044 DPCU,
Pau Espin Pedrolc0a250d2021-01-21 18:46:13 +010045 DNACC,
Pau Espin Pedrol3a271022021-01-21 18:44:23 +010046 DRIM,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040047 aDebug_LastEntry
48};
49
Ivan Kluchnikov60437182012-05-24 22:07:15 +040050extern const struct log_info gprs_log_info;