blob: 863d76bb7014d28b226a2b0121c1ddd1d26bbb7e [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
22#include <stdio.h>
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010023#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040024extern "C" {
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010025#endif
Ivan Kluchnikov60437182012-05-24 22:07:15 +040026#include <osmocom/core/linuxlist.h>
27#include <osmocom/core/logging.h>
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010028#ifdef __cplusplus
Ivan Kluchnikov60437182012-05-24 22:07:15 +040029};
Andreas Eversberga23c7ee2012-12-18 10:47:28 +010030#endif
Neels Hofmeyrd0a887b2017-02-17 17:23:46 +010031
Ivan Kluchnikov60437182012-05-24 22:07:15 +040032/* Debug Areas of the code */
33enum {
34 DCSN1,
35 DL1IF,
36 DRLCMAC,
37 DRLCMACDATA,
Andreas Eversberge6228b32012-07-03 13:36:03 +020038 DRLCMACDL,
39 DRLCMACUL,
Andreas Eversberg5dac2f02012-06-27 15:52:04 +020040 DRLCMACSCHED,
Andreas Eversberg050ace22013-03-16 16:22:02 +010041 DRLCMACMEAS,
Jacob Erlbeck56af6d52015-08-17 14:06:21 +020042 DNS,
Ivan Kluchnikov60437182012-05-24 22:07:15 +040043 DBSSGP,
44 DPCU,
45 aDebug_LastEntry
46};
47
Ivan Kluchnikov60437182012-05-24 22:07:15 +040048extern const struct log_info gprs_log_info;