FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-conservative/p_l2r.val @ 16:c15047b3d00d
cdg3: import from freecalypso-citrine/cdg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 16:27:34 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:c8bdae60fcb1 | 16:c15047b3d00d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_l2r.val | | |
5 | SOURCE : "sap\l2r.pdf" | | |
6 | LastModified : "2001-10-31" | | |
7 | IdAndVersion : "8411.102.01.124" | | |
8 | SrcFileTime : "Thu Nov 29 09:44:22 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : NONE | |
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) | |
17 * ALWAYS_ENUM_IN_VAL_FILE: NO | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_L2R_VAL | |
24 #define P_L2R_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_L2R_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_L2R_VAL | |
30 #define CDG_ENTER__P_L2R_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_L2R_VAL__LAST_MODIFIED _2001_10_31 | |
32 #define CDG_ENTER__P_L2R_VAL__ID_AND_VERSION _8411_102_01_124 | |
33 | |
34 #define CDG_ENTER__P_L2R_VAL__SRC_FILE_TIME _Thu_Nov_29_09_44_22_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_L2R_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 /* | |
44 * Value constants for VAL_pt | |
45 */ | |
46 #define L2R_COMPR_TYPE_V42BIS (0x0) /* V.42bis */ | |
47 | |
48 /* | |
49 * Value constants for VAL_p0 | |
50 */ | |
51 #define L2R_COMP_DIR_NONE (0x0) /* compress in neither direction */ | |
52 #define L2R_COMP_DIR_TRANSMIT (0x1) /* compress in uplink direction only */ | |
53 #define L2R_COMP_DIR_RECEIVE (0x2) /* compress in downlink direction only */ | |
54 #define L2R_COMP_DIR_BOTH (0x3) /* compress in both directions */ | |
55 | |
56 /* | |
57 * Value constants for VAL_uil2p | |
58 */ | |
59 #define L2R_ISO6429 (0x0) /* ISO6429, codeset 0, DC1/DC3 (with flow control) */ | |
60 #define L2R_COPnoFlCt (0x1) /* Character Oriented Protocol with No Flow Control */ | |
61 | |
62 /* | |
63 * Value constants for VAL_rate | |
64 */ | |
65 #define L2R_HALFRATE_4800 (0x0) /* halfrate 4,8/6 kBit */ | |
66 #define L2R_FULLRATE_4800 (0x1) /* fullrate 4,8/6 kBit */ | |
67 #define L2R_FULLRATE_9600 (0x2) /* fullrate 9,6/12 kBit */ | |
68 #define L2R_FULLRATE_14400 (0x3) /* fullrate 13,4/14,4 kBit */ | |
69 | |
70 /* | |
71 * Value constants for VAL_ack_flg | |
72 */ | |
73 #define L2R_ACK (0x0) /* acknowledged */ | |
74 #define L2R_NAK (0x1) /* not acknowledged */ | |
75 | |
76 /* | |
77 * Value constants for VAL_cause | |
78 */ | |
79 #define CAUSE_DUMMY (0x0) /* The following causes can occur within this primitive: all those possible within the RLP_ERROR_IND primitive of the RLP SAP */ | |
80 | |
81 /* | |
82 * Value constants for VAL_dti_conn | |
83 */ | |
84 #define L2R_CONNECT_DTI (0x0) /* Connect DTI to L2R */ | |
85 #define L2R_DISCONNECT_DTI (0x1) /* Connect DTI to upper layer */ | |
86 | |
87 /* | |
88 * Value constants for VAL_link_id | |
89 */ | |
90 #define L2R_LINK_ID_DEFAULT (0x0) /* Default link id */ | |
91 | |
92 /* | |
93 * Value constants for VAL_dti_direction | |
94 */ | |
95 #define L2R_DTI_NORMAL (0x0) /* DTI used normally */ | |
96 #define L2R_DTI_INVERTED (0x1) /* DTI is inverted */ | |
97 | |
98 /* | |
99 * user defined constants | |
100 */ | |
101 #define L2R_K_MS_IWF_MIN (0x0) | |
102 #define L2R_K_MS_IWF_MAX (0x3d) | |
103 #define L2R_K_MS_IWF_DEF (0x3d) | |
104 #define L2R_K_IWF_MS_MIN (0x0) | |
105 #define L2R_K_IWF_MS_MAX (0x3d) | |
106 #define L2R_K_IWF_MS_DEF (0x3d) | |
107 #define L2R_T1_MIN_FULLRATE_14400 (0x2a) | |
108 #define L2R_T1_MIN_FULLRATE_9600 (0x26) | |
109 #define L2R_T1_MIN_FULLRATE_4800 (0x2c) | |
110 #define L2R_T1_MIN_HALFRATE_4800 (0x3c) | |
111 #define L2R_T1_MIN (0x26) | |
112 #define L2R_T1_MAX (0xff) | |
113 #define L2R_T1_DEF_FULLRATE_14400 (0x34) | |
114 #define L2R_T1_DEF_FULLRATE_9600 (0x30) | |
115 #define L2R_T1_DEF_FULLRATE_4800 (0x36) | |
116 #define L2R_T1_DEF_HALFRATE_4800 (0x4e) | |
117 #define L2R_T1_DEF (0x30) | |
118 #define L2R_T2_MIN (0x0) | |
119 #define L2R_T2_MAX (0xff) | |
120 #define L2R_T2_DEF (0x14) | |
121 #define L2R_N2_MIN (0x1) | |
122 #define L2R_N2_MAX (0xff) | |
123 #define L2R_N2_DEF (0x6) | |
124 #define L2R_PT_MIN (0x0) | |
125 #define L2R_PT_MAX (0x0) | |
126 #define L2R_PT_DEF (0x0) | |
127 #define L2R_P0_MIN (0x0) | |
128 #define L2R_P0_MAX (0x0) | |
129 #define L2R_P0_DEF (0x0) | |
130 #define L2R_P1_MIN (0x200) | |
131 #define L2R_P1_MAX (0xffff) | |
132 #define L2R_P1_DEF (0x200) | |
133 #define L2R_P2_MIN (0x6) | |
134 #define L2R_P2_MAX (0xfa) | |
135 #define L2R_P2_DEF (0x6) | |
136 #define L2R_BYTES_PER_PRIM_MIN (0x19) | |
137 #define L2R_BYTES_PER_PRIM_MAX (0xfa) | |
138 #define L2R_BYTES_PER_PRIM_DEF (0xfa) | |
139 #define L2R_BUFFER_SIZE_MIN (0x800) | |
140 #define L2R_BUFFER_SIZE_MAX (0x1000) | |
141 #define L2R_BUFFER_SIZE_DEF (0x800) | |
142 #define L2R_ENTITY_NAME_LEN (0x6) | |
143 | |
144 #include "CDG_LEAVE.h" | |
145 | |
146 | |
147 #endif |