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