comparison src/g23m-gprs/grr/grr_cpapf.h @ 183:219afcfc6250

src/g23m-gprs: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Oct 2016 04:24:13 +0000
parents
children
comparison
equal deleted inserted replaced
182:f02d0a0e1849 183:219afcfc6250
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GPRS (8441)
4 | Modul : GRR
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 service CPAP.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef GRR_CPAPF_H
22 #define GRR_CPAPF_H
23
24
25 typedef enum
26 {
27 E_PDCH_ASSIGN_IGNORE, /* no effect on current tbf */
28 E_PDCH_ASSIGN_ERROR,
29 E_PDCH_ASSIGN_UL,
30 E_PDCH_ASSIGN_SB,
31 E_PDCH_ASSIGN_DL,
32 E_PDCH_ASSIGN_ASSIGN /* valid message send mphp_assign_req */
33 } T_EVAL_PDCH_ASSIGN;
34
35
36 EXTERN void cpap_init ( void );
37
38 EXTERN T_EVAL_IA cpap_eval_ia ( void );
39
40 EXTERN T_EVAL_IA_DL cpap_eval_ia_dl ( void );
41
42 EXTERN T_EVAL_PDCH_ASSIGN cpap_eval_pdch_assignment ( void );
43
44 EXTERN void cpap_build_gprs_data_request (T_RRGRR_GPRS_DATA_REQ *rrgrr_gprs_data_req);
45
46 EXTERN void cpap_send_ass_fail (UBYTE cause);
47 EXTERN void cpap_send_assign_req_pdch (T_TBF_TYPE tbf_type_i);
48 EXTERN BOOL cpap_send_assign_req_ia ( T_TBF_TYPE tbf_type_i );
49 EXTERN UBYTE cpap_send_resource_request_ia ( void );
50 EXTERN UBYTE cpap_send_single_block_without_tbf ( void );
51 EXTERN void cpap_set_da_assignment_ia (T_MPHP_ASSIGNMENT_REQ *ptr2prim);
52 EXTERN UBYTE cpap_set_fa_assignment_ia (T_MPHP_ASSIGNMENT_REQ *ptr2prim);
53 EXTERN void cpap_set_dl_assignment_ia (T_MPHP_ASSIGNMENT_REQ *ptr2prim);
54 EXTERN UBYTE cpap_send_receive_normal_burst ( void );
55 EXTERN void cpap_join_tma_messages ( void );
56 EXTERN void cpap_store_ia_message ( void );
57 EXTERN void cpap_malloc_ia ( void );
58 EXTERN void cpap_mfree_ia ( BOOL restore_data );
59
60 #endif /* !GRR_CPAPF_H */
61