Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
comet_tables.c
Go to the documentation of this file.
1 /*-----------------------------------------------------------------------------
2  * comet_tables.c - waveform tables for the PM4351 'COMET'
3  *
4  * Copyright (C) 2003-2005 SBE, Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * For further information, contact via email: [email protected]
17  * SBE, Inc. San Ramon, California U.S.A.
18  *-----------------------------------------------------------------------------
19  */
20 
21 #include <linux/types.h>
22 
23 /*****************************************************************************
24 *
25 * Array names:
26 *
27 * TWVLongHaul0DB
28 * TWVLongHaul7_5DB
29 * TWVLongHaul15DB
30 * TWVLongHaul22_5DB
31 * TWVShortHaul0
32 * TWVShortHaul1
33 * TWVShortHaul2
34 * TWVShortHaul3
35 * TWVShortHaul4
36 * TWVShortHaul5
37 * TWV_E1_120Ohm
38 * TWV_E1_75Ohm <not supported>
39 * T1_Equalizer
40 * E1_Equalizer
41 *
42 *****************************************************************************/
43 
44 u_int8_t TWVLongHaul0DB[25][5] =/* T1 Long Haul 0 DB */
45 {
46  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
47  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
48  {0x20, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
49  {0x32, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
50  {0x3E, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
51  {0x3D, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
52  {0x3C, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
53  {0x3B, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
54  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
55  {0x39, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
56  {0x39, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
57  {0x38, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
58  {0x37, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
59  {0x36, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
60  {0x34, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
61  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
62  {0x4F, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
63  {0x4C, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
64  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
65  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
66  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
67  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
68  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
69  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
70  {0x0C} /* PMC's suggested value */
71 /* {0x14} Output Amplitude */
72 };
73 
74 u_int8_t TWVLongHaul7_5DB[25][5] = /* T1 Long Haul 7.5 DB */
75 {
76  {0x00, 0x10, 0x00, 0x00, 0x00}, /* Sample 0 */
77  {0x01, 0x0E, 0x00, 0x00, 0x00}, /* Sample 1 */
78  {0x02, 0x0C, 0x00, 0x00, 0x00}, /* Sample 2 */
79  {0x04, 0x0A, 0x00, 0x00, 0x00}, /* Sample 3 */
80  {0x08, 0x08, 0x00, 0x00, 0x00}, /* Sample 4 */
81  {0x0C, 0x06, 0x00, 0x00, 0x00}, /* Sample 5 */
82  {0x10, 0x04, 0x00, 0x00, 0x00}, /* Sample 6 */
83  {0x16, 0x02, 0x00, 0x00, 0x00}, /* Sample 7 */
84  {0x1A, 0x01, 0x00, 0x00, 0x00}, /* Sample 8 */
85  {0x1E, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
86  {0x22, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
87  {0x26, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
88  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
89  {0x2B, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
90  {0x2C, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
91  {0x2D, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
92  {0x2C, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
93  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
94  {0x24, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
95  {0x20, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
96  {0x1C, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
97  {0x18, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
98  {0x14, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
99  {0x12, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
100  {0x07} /* PMC's suggested value */
101 /* { 0x0A } Output Amplitude */
102 };
103 
104 u_int8_t TWVLongHaul15DB[25][5] = /* T1 Long Haul 15 DB */
105 {
106  {0x00, 0x2A, 0x09, 0x01, 0x00}, /* Sample 0 */
107  {0x00, 0x28, 0x08, 0x01, 0x00}, /* Sample 1 */
108  {0x00, 0x26, 0x08, 0x01, 0x00}, /* Sample 2 */
109  {0x00, 0x24, 0x07, 0x01, 0x00}, /* Sample 3 */
110  {0x01, 0x22, 0x07, 0x01, 0x00}, /* Sample 4 */
111  {0x02, 0x20, 0x06, 0x01, 0x00}, /* Sample 5 */
112  {0x04, 0x1E, 0x06, 0x01, 0x00}, /* Sample 6 */
113  {0x07, 0x1C, 0x05, 0x00, 0x00}, /* Sample 7 */
114  {0x0A, 0x1B, 0x05, 0x00, 0x00}, /* Sample 8 */
115  {0x0D, 0x19, 0x05, 0x00, 0x00}, /* Sample 9 */
116  {0x10, 0x18, 0x04, 0x00, 0x00}, /* Sample 10 */
117  {0x14, 0x16, 0x04, 0x00, 0x00}, /* Sample 11 */
118  {0x18, 0x15, 0x04, 0x00, 0x00}, /* Sample 12 */
119  {0x1B, 0x13, 0x03, 0x00, 0x00}, /* Sample 13 */
120  {0x1E, 0x12, 0x03, 0x00, 0x00}, /* Sample 14 */
121  {0x21, 0x10, 0x03, 0x00, 0x00}, /* Sample 15 */
122  {0x24, 0x0F, 0x03, 0x00, 0x00}, /* Sample 16 */
123  {0x27, 0x0D, 0x03, 0x00, 0x00}, /* Sample 17 */
124  {0x2A, 0x0D, 0x02, 0x00, 0x00}, /* Sample 18 */
125  {0x2D, 0x0B, 0x02, 0x00, 0x00}, /* Sample 19 */
126  {0x30, 0x0B, 0x02, 0x00, 0x00}, /* Sample 20 */
127  {0x30, 0x0A, 0x02, 0x00, 0x00}, /* Sample 21 */
128  {0x2E, 0x0A, 0x02, 0x00, 0x00}, /* Sample 22 */
129  {0x2C, 0x09, 0x02, 0x00, 0x00}, /* Sample 23 */
130  {0x03} /* Output Amplitude */
131 };
132 
133 u_int8_t TWVLongHaul22_5DB[25][5] = /* T1 Long Haul 22.5 DB */
134 {
135  {0x00, 0x1F, 0x16, 0x06, 0x01}, /* Sample 0 */
136  {0x00, 0x20, 0x15, 0x05, 0x01}, /* Sample 1 */
137  {0x00, 0x21, 0x15, 0x05, 0x01}, /* Sample 2 */
138  {0x00, 0x22, 0x14, 0x05, 0x01}, /* Sample 3 */
139  {0x00, 0x22, 0x13, 0x04, 0x00}, /* Sample 4 */
140  {0x00, 0x23, 0x12, 0x04, 0x00}, /* Sample 5 */
141  {0x01, 0x23, 0x12, 0x04, 0x00}, /* Sample 6 */
142  {0x01, 0x24, 0x11, 0x03, 0x00}, /* Sample 7 */
143  {0x01, 0x23, 0x10, 0x03, 0x00}, /* Sample 8 */
144  {0x02, 0x23, 0x10, 0x03, 0x00}, /* Sample 9 */
145  {0x03, 0x22, 0x0F, 0x03, 0x00}, /* Sample 10 */
146  {0x05, 0x22, 0x0E, 0x03, 0x00}, /* Sample 11 */
147  {0x07, 0x21, 0x0E, 0x02, 0x00}, /* Sample 12 */
148  {0x09, 0x20, 0x0D, 0x02, 0x00}, /* Sample 13 */
149  {0x0B, 0x1E, 0x0C, 0x02, 0x00}, /* Sample 14 */
150  {0x0E, 0x1D, 0x0C, 0x02, 0x00}, /* Sample 15 */
151  {0x10, 0x1B, 0x0B, 0x02, 0x00}, /* Sample 16 */
152  {0x13, 0x1B, 0x0A, 0x02, 0x00}, /* Sample 17 */
153  {0x15, 0x1A, 0x0A, 0x02, 0x00}, /* Sample 18 */
154  {0x17, 0x19, 0x09, 0x01, 0x00}, /* Sample 19 */
155  {0x19, 0x19, 0x08, 0x01, 0x00}, /* Sample 20 */
156  {0x1B, 0x18, 0x08, 0x01, 0x00}, /* Sample 21 */
157  {0x1D, 0x17, 0x07, 0x01, 0x00}, /* Sample 22 */
158  {0x1E, 0x17, 0x06, 0x01, 0x00}, /* Sample 23 */
159  {0x02} /* Output Amplitude */
160 };
161 
162 u_int8_t TWVShortHaul0[25][5] = /* T1 Short Haul 0 - 110 ft */
163 {
164  {0x00, 0x45, 0x00, 0x00, 0x00}, /* Sample 0 */
165  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
166  {0x20, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
167  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
168  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
169  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
170  {0x3C, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
171  {0x3B, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
172  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
173  {0x39, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
174  {0x39, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
175  {0x38, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
176  {0x37, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
177  {0x36, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
178  {0x34, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
179  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
180  {0x59, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
181  {0x55, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
182  {0x50, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
183  {0x4D, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
184  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
185  {0x48, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
186  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
187  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
188  {0x0C} /* Output Amplitude */
189 };
190 
191 u_int8_t TWVShortHaul1[25][5] = /* T1 Short Haul 110 - 220 ft */
192 {
193  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
194  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
195  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
196  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
197  {0x36, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
198  {0x34, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
199  {0x30, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
200  {0x2F, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
201  {0x2E, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
202  {0x2D, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
203  {0x2C, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
204  {0x2B, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
205  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
206  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
207  {0x26, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
208  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
209  {0x68, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
210  {0x54, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
211  {0x4F, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
212  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
213  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
214  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
215  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
216  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
217  {0x10} /* Output Amplitude */
218 };
219 
220 u_int8_t TWVShortHaul2[25][5] = /* T1 Short Haul 220 - 330 ft */
221 {
222  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
223  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
224  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
225  {0x3A, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
226  {0x3A, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
227  {0x38, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
228  {0x30, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
229  {0x2F, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
230  {0x2E, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
231  {0x2D, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
232  {0x2C, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
233  {0x2B, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
234  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
235  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
236  {0x23, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
237  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
238  {0x6C, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
239  {0x60, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
240  {0x4F, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
241  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
242  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
243  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
244  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
245  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
246  {0x11} /* Output Amplitude */
247 };
248 
249 u_int8_t TWVShortHaul3[25][5] = /* T1 Short Haul 330 - 440 ft */
250 {
251  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
252  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
253  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
254  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
255  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
256  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
257  {0x2F, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
258  {0x2E, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
259  {0x2D, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
260  {0x2C, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
261  {0x2B, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
262  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
263  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
264  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
265  {0x19, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
266  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
267  {0x7F, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
268  {0x60, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
269  {0x4F, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
270  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
271  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
272  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
273  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
274  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
275  {0x12} /* Output Amplitude */
276 };
277 
278 u_int8_t TWVShortHaul4[25][5] = /* T1 Short Haul 440 - 550 ft */
279 {
280  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
281  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
282  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
283  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
284  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
285  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
286  {0x30, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
287  {0x2B, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
288  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
289  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
290  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
291  {0x27, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
292  {0x26, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
293  {0x26, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
294  {0x24, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
295  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
296  {0x7F, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
297  {0x7F, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
298  {0x4F, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
299  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
300  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
301  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
302  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
303  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
304  {0x14} /* Output Amplitude */
305 };
306 
307 u_int8_t TWVShortHaul5[25][5] = /* T1 Short Haul 550 - 660 ft */
308 {
309  {0x00, 0x44, 0x00, 0x00, 0x00}, /* Sample 0 */
310  {0x0A, 0x44, 0x00, 0x00, 0x00}, /* Sample 1 */
311  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 2 */
312  {0x3F, 0x43, 0x00, 0x00, 0x00}, /* Sample 3 */
313  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 4 */
314  {0x3F, 0x42, 0x00, 0x00, 0x00}, /* Sample 5 */
315  {0x3F, 0x41, 0x00, 0x00, 0x00}, /* Sample 6 */
316  {0x30, 0x41, 0x00, 0x00, 0x00}, /* Sample 7 */
317  {0x2A, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
318  {0x29, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
319  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
320  {0x27, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
321  {0x26, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
322  {0x25, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
323  {0x24, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
324  {0x4A, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
325  {0x7F, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
326  {0x7F, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
327  {0x5F, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
328  {0x50, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
329  {0x49, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
330  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
331  {0x47, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
332  {0x46, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
333  {0x15} /* Output Amplitude */
334 };
335 
336 u_int8_t TWV_E1_120Ohm[25][5] = /* E1 120 Ohm */
337 {
338  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 0 */
339  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 1 */
340  {0x0A, 0x00, 0x00, 0x00, 0x00}, /* Sample 2 */
341  {0x3F, 0x00, 0x00, 0x00, 0x00}, /* Sample 3 */
342  {0x3F, 0x00, 0x00, 0x00, 0x00}, /* Sample 4 */
343  {0x39, 0x00, 0x00, 0x00, 0x00}, /* Sample 5 */
344  {0x38, 0x00, 0x00, 0x00, 0x00}, /* Sample 6 */
345  {0x36, 0x00, 0x00, 0x00, 0x00}, /* Sample 7 */
346  {0x36, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
347  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
348  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
349  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
350  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
351  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
352  {0x35, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
353  {0x2D, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
354  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
355  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
356  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
357  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
358  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
359  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
360  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
361  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
362  {0x0C} /* PMC's suggested value */
363 /* { 0x10 } Output Amplitude */
364 };
365 
366 
367 
368 u_int8_t TWV_E1_75Ohm[25][5] = /* E1 75 Ohm */
369 {
370 #ifdef PMCC4_DOES_NOT_SUPPORT
371  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 0 */
372  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 1 */
373  {0x0A, 0x00, 0x00, 0x00, 0x00}, /* Sample 2 */
374  {0x28, 0x00, 0x00, 0x00, 0x00}, /* Sample 3 */
375  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 4 */
376  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 5 */
377  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 6 */
378  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 7 */
379  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 8 */
380  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 9 */
381  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 10 */
382  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 11 */
383  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 12 */
384  {0x3A, 0x00, 0x00, 0x00, 0x00}, /* Sample 13 */
385  {0x32, 0x00, 0x00, 0x00, 0x00}, /* Sample 14 */
386  {0x14, 0x00, 0x00, 0x00, 0x00}, /* Sample 15 */
387  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 16 */
388  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 17 */
389  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 18 */
390  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 19 */
391  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 20 */
392  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 21 */
393  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 22 */
394  {0x00, 0x00, 0x00, 0x00, 0x00}, /* Sample 23 */
395 #endif
396  {0x0C} /* Output Amplitude */
397 };
398 
399 
400 u_int32_t T1_Equalizer[256] = /* T1 Receiver Equalizer */
401 {
402  0x03FE1840, 0x03F61840, 0x03EE1840, 0x03E61840, /* 000 - 003 */
403  0x03DE1840, 0x03D61840, 0x03D61840, 0x03D61840, /* 004 - 007 */
404  0x03CE1840, 0x03CE1840, 0x03CE1840, 0x03CE1840, /* 008 - 011 */
405  0x03C61840, 0x03C61840, 0x03C61840, 0x0BBE1840, /* 012 - 015 */
406  0x0BBE1840, 0x0BBE1840, 0x0BBE1840, 0x0BB61840, /* 016 - 019 */
407  0x0BB61840, 0x0BB61840, 0x0BB61840, 0x13AE1838, /* 020 - 023 */
408  0x13AE183C, 0x13AE1840, 0x13AE1840, 0x13AE1840, /* 024 - 027 */
409  0x13AE1840, 0x1BB618B8, 0x1BAE18B8, 0x1BAE18BC, /* 028 - 031 */
410  0x1BAE18C0, 0x1BAE18C0, 0x23A618C0, 0x23A618C0, /* 032 - 035 */
411  0x23A618C0, 0x23A618C0, 0x23A618C0, 0x239E18C0, /* 036 - 039 */
412  0x239E18C0, 0x239E18C0, 0x239E18C0, 0x239E18C0, /* 040 - 043 */
413  0x2B9618C0, 0x2B9618C0, 0x2B9618C0, 0x33961940, /* 044 - 047 */
414  0x37961940, 0x37961940, 0x37961940, 0x3F9E19C0, /* 048 - 051 */
415  0x3F9E19C0, 0x3F9E19C0, 0x3FA61A40, 0x3FA61A40, /* 052 - 055 */
416  0x3FA61A40, 0x3FA61A40, 0x3F9619C0, 0x3F9619C0, /* 056 - 059 */
417  0x3F9619C0, 0x3F9619C0, 0x479E1A40, 0x479E1A40, /* 060 - 063 */
418  0x479E1A40, 0x47961A40, 0x47961A40, 0x47961A40, /* 064 - 067 */
419  0x47961A40, 0x4F8E1A40, 0x4F8E1A40, 0x4F8E1A40, /* 068 - 071 */
420  0x4F8E1A40, 0x4F8E1A40, 0x57861A40, 0x57861A40, /* 072 - 075 */
421  0x57861A40, 0x57861A40, 0x57861A40, 0x5F861AC0, /* 076 - 079 */
422  0x5F861AC0, 0x5F861AC0, 0x5F861AC0, 0x5F861AC0, /* 080 - 083 */
423  0x5F861AC0, 0x5F7E1AC0, 0x5F7E1AC0, 0x5F7E1AC0, /* 084 - 087 */
424  0x5F7E1AC0, 0x5F7E1AC0, 0x677E2AC0, 0x677E2AC0, /* 088 - 091 */
425  0x677E2AC0, 0x677E2AC0, 0x67762AC0, 0x67762AC0, /* 092 - 095 */
426  0x67762AC0, 0x67762AC0, 0x67762AC0, 0x6F6E2AC0, /* 096 - 099 */
427  0x6F6E2AC0, 0x6F6E2AC0, 0x6F6E2AC0, 0x776E3AC0, /* 100 - 103 */
428  0x776E3AC0, 0x776E3AC0, 0x776E3AC0, 0x7F663AC0, /* 104 - 107 */
429  0x7F663AC0, 0x7F664AC0, 0x7F664AC0, 0x7F664AC0, /* 108 - 111 */
430  0x7F664AC0, 0x87665AC0, 0x87665AC0, 0x87665AC0, /* 112 - 115 */
431  0x87665AC0, 0x87665AC0, 0x875E5AC0, 0x875E5AC0, /* 116 - 119 */
432  0x875E5AC0, 0x875E5AC0, 0x875E5AC0, 0x8F5E6AC0, /* 120 - 123 */
433  0x8F5E6AC0, 0x8F5E6AC0, 0x8F5E6AC0, 0x975E7AC0, /* 124 - 127 */
434  0x975E7AC0, 0x975E7AC0, 0x975E7AC0, 0x9F5E8AC0, /* 128 - 131 */
435  0x9F5E8AC0, 0x9F5E8AC0, 0x9F5E8AC0, 0x9F5E8AC0, /* 132 - 135 */
436  0xA7569AC0, 0xA7569AC0, 0xA7569AC0, 0xA7569AC0, /* 136 - 139 */
437  0xA756AAC0, 0xA756AAC0, 0xA756AAC0, 0xAF4EAAC0, /* 140 - 143 */
438  0xAF4EAAC0, 0xAF4EAAC0, 0xAF4EAAC0, 0xAF4EAAC0, /* 144 - 147 */
439  0xB746AAC0, 0xB746AAC0, 0xB746AAC0, 0xB746AAC0, /* 148 - 151 */
440  0xB746AAC0, 0xB746AAC0, 0xB746AAC0, 0xB746BAC0, /* 152 - 155 */
441  0xB746BAC0, 0xB746BAC0, 0xBF4EBB40, 0xBF4EBB40, /* 156 - 159 */
442  0xBF4EBB40, 0xBF4EBB40, 0xBF4EBB40, 0xBF4EBB40, /* 160 - 163 */
443  0xBF4EBB40, 0xBF4EBB40, 0xBF4EBB40, 0xBE46CB40, /* 164 - 167 */
444  0xBE46CB40, 0xBE46CB40, 0xBE46CB40, 0xBE46CB40, /* 168 - 171 */
445  0xBE46CB40, 0xBE46DB40, 0xBE46DB40, 0xBE46DB40, /* 172 - 175 */
446  0xC63ECB40, 0xC63ECB40, 0xC63EDB40, 0xC63EDB40, /* 176 - 179 */
447  0xC63EDB40, 0xC644DB40, 0xC644DB40, 0xC644DB40, /* 180 - 183 */
448  0xC644DB40, 0xC63CDB40, 0xC63CDB40, 0xC63CDB40, /* 184 - 187 */
449  0xC63CDB40, 0xD634DB40, 0xD634DB40, 0xD634DB40, /* 188 - 191 */
450  0xD634DB40, 0xD634DB40, 0xDE2CDB3C, 0xDE2CDB3C, /* 192 - 195 */
451  0xDE2CDB3C, 0xE62CDB40, 0xE62CDB40, 0xE62CDB40, /* 196 - 199 */
452  0xE62CDB40, 0xE62CDB40, 0xE62CEB40, 0xE62CEB40, /* 200 - 203 */
453  0xE62CEB40, 0xEE2CFB40, 0xEE2CFB40, 0xEE2CFB40, /* 204 - 207 */
454  0xEE2D0B40, 0xEE2D0B40, 0xEE2D0B40, 0xEE2D0B40, /* 208 - 211 */
455  0xEE2D0B40, 0xF5250B38, 0xF5250B3C, 0xF5250B40, /* 212 - 215 */
456  0xF5251B40, 0xF5251B40, 0xF5251B40, 0xF5251B40, /* 216 - 219 */
457  0xF5251B40, 0xFD252B40, 0xFD252B40, 0xFD252B40, /* 220 - 223 */
458  0xFD252B40, 0xFD252740, 0xFD252740, 0xFD252740, /* 224 - 227 */
459  0xFD252340, 0xFD252340, 0xFD252340, 0xFD253340, /* 228 - 231 */
460  0xFD253340, 0xFD253340, 0xFD253340, 0xFD253340, /* 232 - 235 */
461  0xFD253340, 0xFD253340, 0xFD253340, 0xFC254340, /* 236 - 239 */
462  0xFD254340, 0xFD254340, 0xFD254344, 0xFC254348, /* 240 - 243 */
463  0xFC25434C, 0xFD2543BC, 0xFD2543C0, 0xFC2543C0, /* 244 - 247 */
464  0xFC2343C0, 0xFC2343C0, 0xFD2343C0, 0xFC2143C0, /* 248 - 251 */
465  0xFC2143C0, 0xFC2153C0, 0xFD2153C0, 0xFC2153C0 /* 252 - 255 */
466 };
467 
468 
469 u_int32_t E1_Equalizer[256] = /* E1 Receiver Equalizer */
470 {
471  0x07DE182C, 0x07DE182C, 0x07D6182C, 0x07D6182C, /* 000 - 003 */
472  0x07D6182C, 0x07CE182C, 0x07CE182C, 0x07CE182C, /* 004 - 007 */
473  0x07C6182C, 0x07C6182C, 0x07C6182C, 0x07BE182C, /* 008 - 011 */
474  0x07BE182C, 0x07BE182C, 0x07BE182C, 0x07BE182C, /* 012 - 015 */
475  0x07B6182C, 0x07B6182C, 0x07B6182C, 0x07B6182C, /* 016 - 019 */
476  0x07B6182C, 0x07AE182C, 0x07AE182C, 0x07AE182C, /* 020 - 023 */
477  0x07AE182C, 0x07AE182C, 0x07B618AC, 0x07AE18AC, /* 024 - 027 */
478  0x07AE18AC, 0x07AE18AC, 0x07AE18AC, 0x07A618AC, /* 028 - 031 */
479  0x07A618AC, 0x07A618AC, 0x07A618AC, 0x079E18AC, /* 032 - 035 */
480  0x07A6192C, 0x07A6192C, 0x07A6192C, 0x0FA6192C, /* 036 - 039 */
481  0x0FA6192C, 0x0F9E192C, 0x0F9E192C, 0x0F9E192C, /* 040 - 043 */
482  0x179E192C, 0x17A619AC, 0x179E19AC, 0x179E19AC, /* 044 - 047 */
483  0x179619AC, 0x1F9619AC, 0x1F9619AC, 0x1F8E19AC, /* 048 - 051 */
484  0x1F8E19AC, 0x1F8E19AC, 0x278E19AC, 0x278E1A2C, /* 052 - 055 */
485  0x278E1A2C, 0x278E1A2C, 0x278E1A2C, 0x2F861A2C, /* 056 - 059 */
486  0x2F861A2C, 0x2F861A2C, 0x2F7E1A2C, 0x2F7E1A2C, /* 060 - 063 */
487  0x2F7E1A2C, 0x377E1A2C, 0x377E1AAC, 0x377E1AAC, /* 064 - 067 */
488  0x377E1AAC, 0x377E1AAC, 0x3F7E2AAC, 0x3F7E2AAC, /* 068 - 071 */
489  0x3F762AAC, 0x3F862B2C, 0x3F7E2B2C, 0x477E2B2C, /* 072 - 075 */
490  0x477E2F2C, 0x477E2F2C, 0x477E2F2C, 0x47762F2C, /* 076 - 079 */
491  0x4F762F2C, 0x4F762F2C, 0x4F6E2F2C, 0x4F6E2F2C, /* 080 - 083 */
492  0x4F6E2F2C, 0x576E2F2C, 0x576E2F2C, 0x576E3F2C, /* 084 - 087 */
493  0x576E3F2C, 0x576E3F2C, 0x5F6E3F2C, 0x5F6E4F2C, /* 088 - 091 */
494  0x5F6E4F2C, 0x5F6E4F2C, 0x5F664F2C, 0x67664F2C, /* 092 - 095 */
495  0x67664F2C, 0x675E4F2C, 0x675E4F2C, 0x67664F2C, /* 096 - 099 */
496  0x67664F2C, 0x67665F2C, 0x6F6E5F2C, 0x6F6E6F2C, /* 100 - 103 */
497  0x6F6E6F2C, 0x6F6E7F2C, 0x6F6E7F2C, 0x6F6E7F2C, /* 104 - 107 */
498  0x77667F2C, 0x77667F2C, 0x775E6F2C, 0x775E7F2C, /* 108 - 111 */
499  0x775E7F2C, 0x7F5E7F2C, 0x7F5E8F2C, 0x7F5E8F2C, /* 112 - 115 */
500  0x7F5E8F2C, 0x87568F2C, 0x87568F2C, 0x87568F2C, /* 116 - 119 */
501  0x874E8F2C, 0x874E8F2C, 0x874E8F2C, 0x8F4E9F2C, /* 120 - 123 */
502  0x8F4E9F2C, 0x8F4EAF2C, 0x8F4EAF2C, 0x8F4EAF2C, /* 124 - 127 */
503  0x974EAF2C, 0x974EAF2C, 0x974EAB2C, 0x974EAB2C, /* 128 - 131 */
504  0x974EAB2C, 0x9F4EAB2C, 0x9F4EBB2C, 0x9F4EBB2C, /* 132 - 135 */
505  0x9F4EBB2C, 0x9F4ECB2C, 0xA74ECB2C, 0xA74ECB2C, /* 136 - 139 */
506  0xA746CB2C, 0xA746CB2C, 0xA746CB2C, 0xA746DB2C, /* 140 - 143 */
507  0xAF46DB2C, 0xAF46EB2C, 0xAF46EB2C, 0xAF4EEB2C, /* 144 - 147 */
508  0xAE4EEB2C, 0xAE4EEB2C, 0xB546FB2C, 0xB554FB2C, /* 148 - 151 */
509  0xB54CEB2C, 0xB554FB2C, 0xB554FB2C, 0xBD54FB2C, /* 152 - 155 */
510  0xBD4CFB2C, 0xBD4CFB2C, 0xBD4CFB2C, 0xBD44EB2C, /* 156 - 159 */
511  0xC544FB2C, 0xC544FB2C, 0xC544FB2C, 0xC5450B2C, /* 160 - 163 */
512  0xC5450B2C, 0xC5450B2C, 0xCD450B2C, 0xCD450B2C, /* 164 - 167 */
513  0xCD3D0B2C, 0xCD3D0B2C, 0xCD3D0B2C, 0xD53D0B2C, /* 168 - 171 */
514  0xD53D0B2C, 0xD53D1B2C, 0xD53D1B2C, 0xD53D1B2C, /* 172 - 175 */
515  0xDD3D1B2C, 0xDD3D1B2C, 0xDD351B2C, 0xDD351B2C, /* 176 - 179 */
516  0xDD351B2C, 0xE5351B2C, 0xE5351B2C, 0xE52D1B2C, /* 180 - 183 */
517  0xE52D1B2C, 0xE52D3B2C, 0xED2D4B2C, 0xED2D1BA8, /* 184 - 187 */
518  0xED2D1BAC, 0xED2D17AC, 0xED2D17AC, 0xED2D27AC, /* 188 - 191 */
519  0xF52D27AC, 0xF52D27AC, 0xF52D2BAC, 0xF52D2BAC, /* 192 - 195 */
520  0xF52D2BAC, 0xFD2D2BAC, 0xFD2B2BAC, 0xFD2B2BAC, /* 196 - 199 */
521  0xFD2B2BAC, 0xFD2B2BAC, 0xFD232BAC, 0xFD232BAC, /* 200 - 203 */
522  0xFD232BAC, 0xFD212BAC, 0xFD212BAC, 0xFD292BAC, /* 204 - 207 */
523  0xFD292BAC, 0xFD2927AC, 0xFD2937AC, 0xFD2923AC, /* 208 - 211 */
524  0xFD2923AC, 0xFD2923AC, 0xFD2923AC, 0xFD2123AC, /* 212 - 215 */
525  0xFD2123AC, 0xFD2123AC, 0xFD2133AC, 0xFD2133AC, /* 216 - 219 */
526  0xFD2133AC, 0xFD2143AC, 0xFD2143AC, 0xFD2143AC, /* 220 - 223 */
527  0xFC2143AC, 0xFC2143AC, 0xFC1943AC, 0xFC1943AC, /* 224 - 227 */
528  0xFC1943AC, 0xFC1943AC, 0xFC1953AC, 0xFC1953AC, /* 228 - 231 */
529  0xFC1953AC, 0xFC1953AC, 0xFC1963AC, 0xFC1963AC, /* 232 - 235 */
530  0xFC1963AC, 0xFC1973AC, 0xFC1973AC, 0xFC1973AC, /* 236 - 239 */
531  0xFC1973AC, 0xFC1973AC, 0xFC1983AC, 0xFC1983AC, /* 240 - 243 */
532  0xFC1983AC, 0xFC1983AC, 0xFC1983AC, 0xFC1993AC, /* 244 - 247 */
533  0xFC1993AC, 0xFC1993AC, 0xFC19A3AC, 0xFC19A3AC, /* 248 - 251 */
534  0xFC19B3AC, 0xFC19B3AC, 0xFC19B3AC, 0xFC19B3AC /* 252 - 255 */
535 };
536 
537 /*** End-of-Files ***/