blob: cebeabcecb16927d694fd12b589dd1a0add967ab [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.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010019
20#pragma once
Ivan Kluchnikov60437182012-05-24 22:07:15 +040021
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010022#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040023extern "C" {
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010024#endif
Ivan Kluchnikov60437182012-05-24 22:07:15 +040025#include <osmocom/core/logging.h>
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010026#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040027};
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010028#endif
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010029
Harald Welte398f60e2020-12-10 13:39:21 +010030/* we used to have DBSSGP definded in each application, and applications telling
31 * libosmogb which sub-system to use. That creates problems and has been deprecated */
32#define DBSSGP DLBSSGP
33
Ivan Kluchnikov60437182012-05-24 22:07:15 +040034/* Debug Areas of the code */
35enum {
36 DCSN1,
37 DL1IF,
38 DRLCMAC,
39 DRLCMACDATA,
Andreas Eversberge6228b32012-07-03 13:36:03 +020040 DRLCMACDL,
41 DRLCMACUL,
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020042 DRLCMACSCHED,
Andreas Eversberg050ace22013-03-16 16:22:02 +010043 DRLCMACMEAS,
Max0524e382018-01-19 18:22:25 +010044 DTBF,
45 DTBFDL,
46 DTBFUL,
Jacob Erlbeck56af6d52015-08-17 14:06:21 +020047 DNS,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040048 DPCU,
Pau Espin Pedrolc0a250d2021-01-21 18:46:13 +010049 DNACC,
Pau Espin Pedrol3a271022021-01-21 18:44:23 +010050 DRIM,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040051 aDebug_LastEntry
52};
53
Ivan Kluchnikov60437182012-05-24 22:07:15 +040054extern const struct log_info gprs_log_info;