comparison cdg-hybrid/cdginc/p_rlp.val @ 14:35f7a1dc9f7d

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:15:38 +0000
parents
children
comparison
equal deleted inserted replaced
13:83146a4ae927 14:35f7a1dc9f7d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_rlp.val |
5 | SOURCE : "sap\rlp.pdf" |
6 | LastModified : "2002-04-22" |
7 | IdAndVersion : "8411.101.98.115" |
8 | SrcFileTime : "Thu Nov 29 09:51:48 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
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_RLP_VAL
24 #define P_RLP_VAL
25
26
27 #define CDG_ENTER__P_RLP_VAL
28
29 #define CDG_ENTER__FILENAME _P_RLP_VAL
30 #define CDG_ENTER__P_RLP_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_RLP_VAL__LAST_MODIFIED _2002_04_22
32 #define CDG_ENTER__P_RLP_VAL__ID_AND_VERSION _8411_101_98_115
33
34 #define CDG_ENTER__P_RLP_VAL__SRC_FILE_TIME _Thu_Nov_29_09_51_48_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_RLP_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_pt
45 */
46 #define RLP_COMPR_TYPE_V42BIS (0x0) /* V.42bis */
47
48 /*
49 * Value constants for VAL_p0
50 */
51 #define RLP_COMP_DIR_NONE (0x0) /* compress in neither direction */
52 #define RLP_COMP_DIR_TRANSMIT (0x1) /* compress in uplink direction only */
53 #define RLP_COMP_DIR_RECEIVE (0x2) /* compress in downlink direction only */
54 #define RLP_COMP_DIR_BOTH (0x3) /* compress in both directions */
55
56 /*
57 * Value constants for VAL_rate
58 */
59 #define RLP_HALFRATE_4800 (0x0) /* halfrate 4,8/6 kBit */
60 #define RLP_FULLRATE_4800 (0x1) /* fullrate 4,8/6 kBit */
61 #define RLP_FULLRATE_9600 (0x2) /* fullrate 9,6/12 kBit */
62 #define RLP_FULLRATE_14400 (0x3) /* fullrate 13,4/14,4 kBit */
63
64 /*
65 * Value constants for VAL_ack_flg
66 */
67 #define RLP_ACK (0x0) /* acknowledged */
68 #define RLP_NAK (0x1) /* not acknowledged */
69
70 /*
71 * Value constants for VAL_cause
72 */
73 #define RLP_ERR_PF_RETRANS (0xc200) /* Max Retransmissions of Poll reached */
74 #define RLP_ERR_XID_RETRANS (0xc201) /* Max Retransmissions of XID reached */
75 #define RLP_ERR_SABM_RETRANS (0xc202) /* Max Retransmissions of SABM reached */
76 #define RLP_ERR_DISC_RETRANS (0xc203) /* Max Retransmissions of DISC reached */
77 #define RLP_ERR_REMAP_RETRANS (0xc204) /* Max Retransmissions of REMAP reached */
78 #define RLP_ERR_SDU_TO_SMALL (0xc210) /* Received SDU is to small */
79 #define RLP_ERR_INTERNAL (0xc220) /* Internal error */
80
81 /*
82 * user defined constants
83 */
84 #define RLP_HEADER_LEN (0x10)
85 #define RLP_TRAILER_LEN (0x0)
86
87 #include "CDG_LEAVE.h"
88
89
90 #endif