blob: b66de90cf93c6affd3069801a51af780199ffa74 [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,
Pau Espin Pedrolfe4d2f72023-04-19 20:38:40 +020037 DMS,
Max0524e382018-01-19 18:22:25 +010038 DTBF,
39 DTBFDL,
40 DTBFUL,
Jacob Erlbeck56af6d52015-08-17 14:06:21 +020041 DNS,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040042 DPCU,
Pau Espin Pedrolc0a250d2021-01-21 18:46:13 +010043 DNACC,
Pau Espin Pedrol3a271022021-01-21 18:44:23 +010044 DRIM,
Philipp Maier4bac3982023-02-03 16:52:42 +010045 DE1,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040046 aDebug_LastEntry
47};
48
Ivan Kluchnikov60437182012-05-24 22:07:15 +040049extern const struct log_info gprs_log_info;
Pau Espin Pedrol4f29fe72022-11-21 13:06:36 +010050
51#ifdef __cplusplus
52};
53#endif