FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/psa_ra.h @ 775:eedbf248bac0
gsm-fw/g23m-aci subtree: initial import from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 12 Oct 2014 01:45:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
774:40a721fd9854 | 775:eedbf248bac0 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (6147) | |
4 | Modul : PSA_RA | |
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 the protocol stack adapter | |
18 | Rata Adaptation ( RA ) | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #ifndef PSA_RA_H | |
23 #define PSA_RA_H | |
24 | |
25 /*==== CONSTANTS ==================================================*/ | |
26 | |
27 #define MAX_TRANSP_DATA_SIZE 36 | |
28 | |
29 /*==== TYPES ======================================================*/ | |
30 | |
31 typedef struct | |
32 { | |
33 UBYTE model; | |
34 UBYTE tra_rate; | |
35 UBYTE user_rate; | |
36 UBYTE ndb; | |
37 UBYTE nsb; | |
38 UBYTE bitord; | |
39 } T_RA_SET_PRM; | |
40 | |
41 typedef struct RAShrdParm | |
42 { | |
43 UBYTE owner; | |
44 SHORT cId; /* related call id */ | |
45 #ifdef DTI | |
46 UBYTE dti_id; /* related dti id */ | |
47 #endif | |
48 T_RA_SET_PRM set_prm[OWN_SRC_MAX]; | |
49 } T_RA_SHRD_PRM; | |
50 | |
51 | |
52 /*==== PROTOTYPES =================================================*/ | |
53 | |
54 EXTERN void psaRA_Init (void); | |
55 EXTERN void psaRA_Activate ( void ); | |
56 EXTERN void psaRA_Deactivate ( void ); | |
57 EXTERN void psaRA_Modify ( void ); | |
58 | |
59 #ifdef TRACING | |
60 EXTERN void psaRA_shrPrmDump ( void ); | |
61 #endif | |
62 | |
63 /*==== EXPORT =====================================================*/ | |
64 | |
65 #ifdef PSA_RAF_C | |
66 | |
67 GLOBAL T_RA_SHRD_PRM raShrdPrm; | |
68 | |
69 #else | |
70 | |
71 EXTERN T_RA_SHRD_PRM raShrdPrm; | |
72 | |
73 #endif /* PSA_RAF_C */ | |
74 | |
75 | |
76 #endif /* PSA_RA_H */ | |
77 | |
78 /*==== EOF =======================================================*/ | |
79 |