blob: db9630cfe534a4e8220f2ae98c34e88e9bc61276 [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>
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010022
Harald Welte398f60e2020-12-10 13:39:21 +010023/* we used to have DBSSGP definded in each application, and applications telling
24 * libosmogb which sub-system to use. That creates problems and has been deprecated */
25#define DBSSGP DLBSSGP
26
Ivan Kluchnikov60437182012-05-24 22:07:15 +040027/* Debug Areas of the code */
28enum {
29 DCSN1,
30 DL1IF,
31 DRLCMAC,
32 DRLCMACDATA,
Andreas Eversberge6228b32012-07-03 13:36:03 +020033 DRLCMACDL,
34 DRLCMACUL,
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020035 DRLCMACSCHED,
Andreas Eversberg050ace22013-03-16 16:22:02 +010036 DRLCMACMEAS,
Max0524e382018-01-19 18:22:25 +010037 DTBF,
38 DTBFDL,
39 DTBFUL,
Jacob Erlbeck56af6d52015-08-17 14:06:21 +020040 DNS,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040041 DPCU,
Pau Espin Pedrolc0a250d2021-01-21 18:46:13 +010042 DNACC,
Pau Espin Pedrol3a271022021-01-21 18:44:23 +010043 DRIM,
Philipp Maier4bac3982023-02-03 16:52:42 +010044 DE1,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040045 aDebug_LastEntry
46};
47
Ivan Kluchnikov60437182012-05-24 22:07:15 +040048extern const struct log_info gprs_log_info;
Pau Espin Pedrol4f29fe72022-11-21 13:06:36 +010049
50#ifdef __cplusplus
51};
52#endif