comparison src/g23m-fad/l2r/tra_mgtf.c @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : CSD (8411)
4 | Modul : tra_mgtf.c
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 : This Modul defines the procedures and functions for
18 | the component L2R of the base station
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef TRA_MGTF_C
23 #define TRA_MGTF_C
24 #endif
25
26 #define ENTITY_L2R
27
28 /*==== INCLUDES ===================================================*/
29 #include <string.h>
30
31 #include "typedefs.h"
32 #include "pconst.cdg"
33 #include "vsi.h"
34 #include "custom.h"
35 #include "macdef.h"
36 #include "gsm.h"
37 #include "prim.h"
38 #include "pei.h"
39 #include "tok.h"
40 #include "dti.h"
41
42 #include "cl_ribu.h"
43 #include "tra_pei.h"
44 #include "tra.h"
45
46 /*==== CONST =======================================================*/
47
48 /*==== TYPES =======================================================*/
49
50 /*==== VAR EXPORT ==================================================*/
51
52 /*==== VAR LOCAL ===================================================*/
53
54 /*==== FUNCTIONS ===================================================*/
55
56 /*
57 +------------------------------------------------------------------------------
58 | Function : send_tra_dti_cnf
59 +------------------------------------------------------------------------------
60 | Description :
61 |
62 | Parameters : -
63 |
64 |
65 | Return : -
66 +------------------------------------------------------------------------------
67 */
68
69 GLOBAL void send_tra_dti_cnf(T_TRA_DTI_REQ *tra_dti_req)
70 {
71 PALLOC (tra_dti_cnf, TRA_DTI_CNF);
72
73 TRACE_FUNCTION ("send_tra_dti_cnf()");
74
75 tra_dti_cnf->dti_conn = tra_dti_req->dti_conn;
76 tra_dti_cnf->link_id = tra_dti_req->link_id;
77 PSENDX (CTRL, tra_dti_cnf);
78 }
79
80 /*
81 +------------------------------------------------------------------------------
82 | Function : send_tra_deactivate_cnf
83 +------------------------------------------------------------------------------
84 | Description :
85 |
86 | Parameters : errnum -
87 |
88 |
89 | Return : -
90 +------------------------------------------------------------------------------
91 */
92
93
94 GLOBAL void send_tra_deactivate_cnf(void)
95 {
96 PALLOC (tra_deactivate_cnf, TRA_DEACTIVATE_CNF);
97
98 TRACE_FUNCTION ("send_tra_deactivate_cnf()");
99
100 PSENDX (CTRL, tra_deactivate_cnf);
101 }