FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/cdginc-conservative/p_pkt.val @ 1032:6e7dd5e52650
gsm-fw feature tch-reroute: B_PLAY_UL (uplink substitution) bug fixed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 01 Jun 2016 01:24:15 +0000 |
parents | 9ba088a875bd |
children |
rev | line source |
---|---|
656
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 | FILE : p_pkt.val | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 | SOURCE : "sap\pkt.pdf" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 | LastModified : "2002-10-17" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 | IdAndVersion : "8443.105.02.106" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 | SrcFileTime : "Thu Nov 29 09:50:46 2007" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 /* PRAGMAS |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 * PREFIX : NONE |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #ifndef P_PKT_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define P_PKT_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_PKT_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_PKT_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_PKT_VAL__FILE_TYPE CDGINC |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_PKT_VAL__LAST_MODIFIED _2002_10_17 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_PKT_VAL__ID_AND_VERSION _8443_105_02_106 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_PKT_VAL__SRC_FILE_TIME _Thu_Nov_29_09_50_46_2007 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_PKT_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 * Value constants for VAL_sleep_mode |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 #define DIO_SLEEP_ENABLE (0x1) /* Enter sleep mode if possible. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 #define DIO_SLEEP_DISABLE (0x2) /* Do not enter sleep mode. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 * Value constants for VAL_parity |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 #define DIO_PARITY_NO (0x1) /* Don't send a parity bit. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 #define DIO_PARITY_ODD (0x2) /* Send an odd parity bit. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 #define DIO_PARITY_EVEN (0x4) /* Send an even parity bit. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #define DIO_PARITY_SPACE (0x8) /* Send a space for parity bit. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 * Value constants for VAL_flow_control |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 #define DIO_FLOW_NO_NO (0x1) /* No flow control for both directions. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 #define DIO_FLOW_SW_NO (0x2) /* Software flow control for receive direction and no flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 #define DIO_FLOW_HW_NO (0x4) /* Hardware flow control for receive direction and no flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 #define DIO_FLOW_NO_SW (0x8) /* No flow control for receive direction and software flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 #define DIO_FLOW_SW_SW (0x10) /* Software flow control for both directions. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 #define DIO_FLOW_HW_SW (0x20) /* Hardware flow control for receive direction and software flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 #define DIO_FLOW_NO_HW (0x40) /* No flow control for receive direction and hardware flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 #define DIO_FLOW_SW_HW (0x80) /* Software flow control for receive direction and hardware flow control for transmit direction. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 #define DIO_FLOW_HW_HW (0x100) /* Hardware flow control for both directions. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 * Value constants for VAL_data_mode |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 #define DIO_MODE_AT (0x1) /* The TE will transmit AT commands. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 #define DIO_MODE_DATA (0x2) /* The TE will transmit data. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 #define DIO_MODE_TRACE (0x4) /* The TE expects trace information via this device */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 #define DIO_MODE_DEFAULT (0x3) /* Default value if the driver can not provide this information */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 * Value constants for VAL_stop_bits |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 #define DIO_STOP_1 (0x1) /* Send 1 stop bit. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 #define DIO_STOP_15 (0x2) /* Send 1.5 stop bits. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 #define DIO_STOP_2 (0x4) /* Send 2 stop bits. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 * Value constants for VAL_baud |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 #define DIO_BAUD_812500 (0x80000) /* Transmission rate of 812500 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 #define DIO_BAUD_406250 (0x40000) /* Transmission rate of 406250 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 #define DIO_BAUD_203125 (0x20000) /* Transmission rate of 203125 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 #define DIO_BAUD_115200 (0x10000) /* Transmission rate of 115200 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 #define DIO_BAUD_57600 (0x8000) /* Transmission rate of 57600 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 #define DIO_BAUD_38400 (0x4000) /* Transmission rate of 38400 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 #define DIO_BAUD_33900 (0x2000) /* Transmission rate of 33900 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 #define DIO_BAUD_28800 (0x1000) /* Transmission rate of 28800 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 #define DIO_BAUD_19200 (0x800) /* Transmission rate of 19200 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 #define DIO_BAUD_14400 (0x400) /* Transmission rate of 14400 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 #define DIO_BAUD_9600 (0x200) /* Transmission rate of 9600 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 #define DIO_BAUD_7200 (0x100) /* Transmission rate of 7200 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 #define DIO_BAUD_4800 (0x80) /* Transmission rate of 4800 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 #define DIO_BAUD_2400 (0x40) /* Transmission rate of 2400 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 #define DIO_BAUD_1200 (0x20) /* Transmission rate of 1200 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 #define DIO_BAUD_600 (0x10) /* Transmission rate of 600 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #define DIO_BAUD_300 (0x8) /* Transmission rate of 300 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 #define DIO_BAUD_150 (0x4) /* Transmission rate of 150 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 #define DIO_BAUD_75 (0x2) /* Transmission rate of 75 bits/sec. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 #define DIO_BAUD_AUTO (0x1) /* Automatic detection. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 * Value constants for VAL_mux_configuration |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 #define DIO_MUX_MODE_BASIC (0x1) /* The multiplexer supports Basic option. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 #define DIO_MUX_MODE_ADVANCED (0x2) /* The multiplexer supports Advanced option. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 #define DIO_MUX_SUBSET_UIH (0x4) /* The multiplexer supports UIH frames. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 #define DIO_MUX_SUBSET_UI (0x8) /* The multiplexer supports UI frames. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 #define DIO_MUX_SUBSET_I (0x10) /* The multiplexer supports I frames. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 * Value constants for VAL_guard_period |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 #define DIO_ESC_OFF (0x0) /* Turn escape sequence detection off. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 * Value constants for VAL_data_bits |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 #define DIO_CHAR_5 (0x10) /* Send 5 bits per character. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 #define DIO_CHAR_6 (0x20) /* Send 6 bits per character. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 #define DIO_CHAR_7 (0x40) /* Send 7 bits per character. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 #define DIO_CHAR_8 (0x80) /* Send 8 bits per character. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 * Value constants for VAL_convergence |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 #define DIO_CONV_SER (0x1) /* The device can contain serial data. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 #define DIO_CONV_PACKET (0x2) /* The device can contain packet data. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 #define DIO_CONV_MUX (0x4) /* The device can start a multiplexer. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 * Value constants for VAL_state |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 #define DIO_SA (0x80000000)/* read/write, Device ready */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 #define DIO_SB (0x40000000)/* read/write, Data valid */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 #define DIO_X (0x20000000)/* read/write, Flow control */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 #define DIO_RING (0x10000000)/* write, RING indicator */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 #define DIO_ESC (0x8000000)/* read, escape sequence detected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 #define DIO_DISC (0x4000000)/* read, link disconnected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 #define DIO_MUX_STOP (0x1000000)/* read/write, stop the multiplexer */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 #define DIO_BRK (0x2000000)/* read/write, break received / to be sent */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 #define DIO_BRKLEN (0xff) /* read/write, length of the break signal in characters */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 #define DIO_PACKET_UNKNOWN (0x0) /* Packet transfer: No packet type available. */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 #define DIO_PACKET_IP (0x21) /* Packet transfer: Simple IP packet */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 #define DIO_PACKET_CTCP (0x2d) /* Packet transfer: Van Jacobson compressed TCP/IP header */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 #define DIO_PACKET_UTCP (0x2f) /* Packet transfer: Van Jacobson uncompressed TCP/IP header */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 * Value constants for VAL_cause |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 #define PKTCS_SUCCESS (0xd200) /* 0b11010010 00000000 No error, success */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 #define PKTCS_INVALID_PARAMS (0xd201) /* 0b11010010 00000001 Device number invalid */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 #define PKTCS_INVALID_PEER (0xd202) /* 0b11010010 00000010 Peer does not exist */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 #define PKTCS_DISCONNECT (0xd203) /* 0b11010010 00000011 The driver signalled a DRV_SIGTYPE_DISCONNECT */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 #define PKTCS_INTERNAL_DRV_ERROR (0xd204) /* 0b11010010 00000100 A driver function returned DRV_INTERNAL_ERROR */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 * user defined constants |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 #define DIO_MAX_NAME_LENGTH (0x10) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 #define DIO_MAX_DATA_LENGTH (0x64) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
170 #include "CDG_LEAVE.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
171 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
172 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
173 #endif |