comparison src/g23m-gprs/gmm/gmm_f.h @ 1:d393cd9bb723

src/g23m-*: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
0:b6a5e36de839 1:d393cd9bb723
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GPRS (8441)
4 | Modul : gmm_f.h
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Definitions for gmm_f.c
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #ifndef GMM_F_H
23 #define GMM_F_H
24
25 /*
26 * gmm data debug print mask
27 * select type of information for debug print
28 */
29 enum
30 {
31 GMM_DEBUG_PRINT_MASK_FULL = 0x0fff, /* */
32 //
33 GMM_DEBUG_PRINT_MASK_COMMON = 0x0001, /* 00000000 00000001 */
34 GMM_DEBUG_PRINT_MASK_TIMER = 0x0002, /* 00000000 00000010 */
35 GMM_DEBUG_PRINT_MASK_STATE = 0x0004, /* 00000000 00000100 */
36 GMM_DEBUG_PRINT_MASK_TLLI = 0x0008, /* 00000000 00001000 */
37 GMM_DEBUG_PRINT_MASK_IMSI = 0x0010, /* 00000000 00010000 */
38 GMM_DEBUG_PRINT_MASK_PTMSI = 0x0020, /* 00000000 00100000 */
39 GMM_DEBUG_PRINT_MASK_CID = 0x0040, /* 00000000 01000000 */
40 GMM_DEBUG_PRINT_MASK_RAI = 0x0080, /* 00000000 10000000 */
41 //
42 GMM_DEBUG_PRINT_MASK_KERN = 0x0100, /* 00000001 00000000 */
43 GMM_DEBUG_PRINT_MASK_KERN_ATTACH = 0x0200, /* 00000010 00000000 */
44
45 GMM_DEBUG_PRINT_MASK_END,
46 GMM_DEBUG_PRINT_MASK_MAX = (GMM_DEBUG_PRINT_MASK_END - 1)
47 };
48 typedef U32 GMM_DEBUG_PRINT_MASK_ENUM_TYPE;
49
50 EXTERN void gmm_debug_do_print_gmm_data(GMM_DEBUG_PRINT_MASK_ENUM_TYPE print_mask);
51 #ifdef WIN32
52 #define GMM_TRACE_GMM_DATA(m) gmm_debug_do_print_gmm_data(m)
53 #else
54 #define GMM_TRACE_GMM_DATA(m)
55 #endif
56
57 EXTERN ULONG gmm_get_tlli ( T_TLLI_TYPE tlli_type );
58
59 EXTERN void gmm_set_current_tlli ( T_TLLI_TYPE tlli_type );
60
61 #endif /* GMM_F_H */
62