1 enum HF_S { 2 HF_None = 0, HF_B, HF_DK, HF_G, HF_I, HF_L, HF_L1, HF_MN, HF_FM_Radio, 3 HF_AnalogMax, HF_DVBT_6MHZ, HF_DVBT_7MHZ, HF_DVBT_8MHZ, 4 HF_DVBT, HF_ATSC, HF_DVBC_6MHZ, HF_DVBC_7MHZ, 5 HF_DVBC_8MHZ, HF_DVBC 6 }; 7 8 struct SStandardParam m_StandardTable[] = { 9 { 0, 0, 0x00, 0x00 }, /* HF_None */ 10 { 6000000, 7000000, 0x1D, 0x2C }, /* HF_B, */ 11 { 6900000, 8000000, 0x1E, 0x2C }, /* HF_DK, */ 12 { 7100000, 8000000, 0x1E, 0x2C }, /* HF_G, */ 13 { 7250000, 8000000, 0x1E, 0x2C }, /* HF_I, */ 14 { 6900000, 8000000, 0x1E, 0x2C }, /* HF_L, */ 15 { 1250000, 8000000, 0x1E, 0x2C }, /* HF_L1, */ 16 { 5400000, 6000000, 0x1C, 0x2C }, /* HF_MN, */ 17 { 1250000, 500000, 0x18, 0x2C }, /* HF_FM_Radio, */ 18 { 0, 0, 0x00, 0x00 }, /* HF_AnalogMax (Unused) */ 19 { 3300000, 6000000, 0x1C, 0x58 }, /* HF_DVBT_6MHZ */ 20 { 3500000, 7000000, 0x1C, 0x37 }, /* HF_DVBT_7MHZ */ 21 { 4000000, 8000000, 0x1D, 0x37 }, /* HF_DVBT_8MHZ */ 22 { 0, 0, 0x00, 0x00 }, /* HF_DVBT (Unused) */ 23 { 5000000, 6000000, 0x1C, 0x37 }, /* HF_ATSC (center = 3.25 MHz) */ 24 { 4000000, 6000000, 0x1D, 0x58 }, /* HF_DVBC_6MHZ (Chicago) */ 25 { 4500000, 7000000, 0x1E, 0x37 }, /* HF_DVBC_7MHZ (not documented by NXP) */ 26 { 5000000, 8000000, 0x1F, 0x37 }, /* HF_DVBC_8MHZ */ 27 { 0, 0, 0x00, 0x00 }, /* HF_DVBC (Unused) */ 28 }; 29 30 struct SMap m_BP_Filter_Map[] = { 31 { 62000000, 0x00 }, 32 { 84000000, 0x01 }, 33 { 100000000, 0x02 }, 34 { 140000000, 0x03 }, 35 { 170000000, 0x04 }, 36 { 180000000, 0x05 }, 37 { 865000000, 0x06 }, 38 { 0, 0x00 }, /* Table End */ 39 }; 40 41 static struct SMapI m_RF_Cal_Map[] = { 42 { 41000000, 0x0F }, 43 { 43000000, 0x1C }, 44 { 45000000, 0x2F }, 45 { 46000000, 0x39 }, 46 { 47000000, 0x40 }, 47 { 47900000, 0x50 }, 48 { 49100000, 0x16 }, 49 { 50000000, 0x18 }, 50 { 51000000, 0x20 }, 51 { 53000000, 0x28 }, 52 { 55000000, 0x2B }, 53 { 56000000, 0x32 }, 54 { 57000000, 0x35 }, 55 { 58000000, 0x3E }, 56 { 59000000, 0x43 }, 57 { 60000000, 0x4E }, 58 { 61100000, 0x55 }, 59 { 63000000, 0x0F }, 60 { 64000000, 0x11 }, 61 { 65000000, 0x12 }, 62 { 66000000, 0x15 }, 63 { 67000000, 0x16 }, 64 { 68000000, 0x17 }, 65 { 70000000, 0x19 }, 66 { 71000000, 0x1C }, 67 { 72000000, 0x1D }, 68 { 73000000, 0x1F }, 69 { 74000000, 0x20 }, 70 { 75000000, 0x21 }, 71 { 76000000, 0x24 }, 72 { 77000000, 0x25 }, 73 { 78000000, 0x27 }, 74 { 80000000, 0x28 }, 75 { 81000000, 0x29 }, 76 { 82000000, 0x2D }, 77 { 83000000, 0x2E }, 78 { 84000000, 0x2F }, 79 { 85000000, 0x31 }, 80 { 86000000, 0x33 }, 81 { 87000000, 0x34 }, 82 { 88000000, 0x35 }, 83 { 89000000, 0x37 }, 84 { 90000000, 0x38 }, 85 { 91000000, 0x39 }, 86 { 93000000, 0x3C }, 87 { 94000000, 0x3E }, 88 { 95000000, 0x3F }, 89 { 96000000, 0x40 }, 90 { 97000000, 0x42 }, 91 { 99000000, 0x45 }, 92 { 100000000, 0x46 }, 93 { 102000000, 0x48 }, 94 { 103000000, 0x4A }, 95 { 105000000, 0x4D }, 96 { 106000000, 0x4E }, 97 { 107000000, 0x50 }, 98 { 108000000, 0x51 }, 99 { 110000000, 0x54 }, 100 { 111000000, 0x56 }, 101 { 112000000, 0x57 }, 102 { 113000000, 0x58 }, 103 { 114000000, 0x59 }, 104 { 115000000, 0x5C }, 105 { 116000000, 0x5D }, 106 { 117000000, 0x5F }, 107 { 119000000, 0x60 }, 108 { 120000000, 0x64 }, 109 { 121000000, 0x65 }, 110 { 122000000, 0x66 }, 111 { 123000000, 0x68 }, 112 { 124000000, 0x69 }, 113 { 125000000, 0x6C }, 114 { 126000000, 0x6D }, 115 { 127000000, 0x6E }, 116 { 128000000, 0x70 }, 117 { 129000000, 0x71 }, 118 { 130000000, 0x75 }, 119 { 131000000, 0x77 }, 120 { 132000000, 0x78 }, 121 { 133000000, 0x7B }, 122 { 134000000, 0x7E }, 123 { 135000000, 0x81 }, 124 { 136000000, 0x82 }, 125 { 137000000, 0x87 }, 126 { 138000000, 0x88 }, 127 { 139000000, 0x8D }, 128 { 140000000, 0x8E }, 129 { 141000000, 0x91 }, 130 { 142000000, 0x95 }, 131 { 143000000, 0x9A }, 132 { 144000000, 0x9D }, 133 { 145000000, 0xA1 }, 134 { 146000000, 0xA2 }, 135 { 147000000, 0xA4 }, 136 { 148000000, 0xA9 }, 137 { 149000000, 0xAE }, 138 { 150000000, 0xB0 }, 139 { 151000000, 0xB1 }, 140 { 152000000, 0xB7 }, 141 { 152600000, 0xBD }, 142 { 154000000, 0x20 }, 143 { 155000000, 0x22 }, 144 { 156000000, 0x24 }, 145 { 157000000, 0x25 }, 146 { 158000000, 0x27 }, 147 { 159000000, 0x29 }, 148 { 160000000, 0x2C }, 149 { 161000000, 0x2D }, 150 { 163000000, 0x2E }, 151 { 164000000, 0x2F }, 152 { 164700000, 0x30 }, 153 { 166000000, 0x11 }, 154 { 167000000, 0x12 }, 155 { 168000000, 0x13 }, 156 { 169000000, 0x14 }, 157 { 170000000, 0x15 }, 158 { 172000000, 0x16 }, 159 { 173000000, 0x17 }, 160 { 174000000, 0x18 }, 161 { 175000000, 0x1A }, 162 { 176000000, 0x1B }, 163 { 178000000, 0x1D }, 164 { 179000000, 0x1E }, 165 { 180000000, 0x1F }, 166 { 181000000, 0x20 }, 167 { 182000000, 0x21 }, 168 { 183000000, 0x22 }, 169 { 184000000, 0x24 }, 170 { 185000000, 0x25 }, 171 { 186000000, 0x26 }, 172 { 187000000, 0x27 }, 173 { 188000000, 0x29 }, 174 { 189000000, 0x2A }, 175 { 190000000, 0x2C }, 176 { 191000000, 0x2D }, 177 { 192000000, 0x2E }, 178 { 193000000, 0x2F }, 179 { 194000000, 0x30 }, 180 { 195000000, 0x33 }, 181 { 196000000, 0x35 }, 182 { 198000000, 0x36 }, 183 { 200000000, 0x38 }, 184 { 201000000, 0x3C }, 185 { 202000000, 0x3D }, 186 { 203500000, 0x3E }, 187 { 206000000, 0x0E }, 188 { 208000000, 0x0F }, 189 { 212000000, 0x10 }, 190 { 216000000, 0x11 }, 191 { 217000000, 0x12 }, 192 { 218000000, 0x13 }, 193 { 220000000, 0x14 }, 194 { 222000000, 0x15 }, 195 { 225000000, 0x16 }, 196 { 228000000, 0x17 }, 197 { 231000000, 0x18 }, 198 { 234000000, 0x19 }, 199 { 235000000, 0x1A }, 200 { 236000000, 0x1B }, 201 { 237000000, 0x1C }, 202 { 240000000, 0x1D }, 203 { 242000000, 0x1E }, 204 { 244000000, 0x1F }, 205 { 247000000, 0x20 }, 206 { 249000000, 0x21 }, 207 { 252000000, 0x22 }, 208 { 253000000, 0x23 }, 209 { 254000000, 0x24 }, 210 { 256000000, 0x25 }, 211 { 259000000, 0x26 }, 212 { 262000000, 0x27 }, 213 { 264000000, 0x28 }, 214 { 267000000, 0x29 }, 215 { 269000000, 0x2A }, 216 { 271000000, 0x2B }, 217 { 273000000, 0x2C }, 218 { 275000000, 0x2D }, 219 { 277000000, 0x2E }, 220 { 279000000, 0x2F }, 221 { 282000000, 0x30 }, 222 { 284000000, 0x31 }, 223 { 286000000, 0x32 }, 224 { 287000000, 0x33 }, 225 { 290000000, 0x34 }, 226 { 293000000, 0x35 }, 227 { 295000000, 0x36 }, 228 { 297000000, 0x37 }, 229 { 300000000, 0x38 }, 230 { 303000000, 0x39 }, 231 { 305000000, 0x3A }, 232 { 306000000, 0x3B }, 233 { 307000000, 0x3C }, 234 { 310000000, 0x3D }, 235 { 312000000, 0x3E }, 236 { 315000000, 0x3F }, 237 { 318000000, 0x40 }, 238 { 320000000, 0x41 }, 239 { 323000000, 0x42 }, 240 { 324000000, 0x43 }, 241 { 325000000, 0x44 }, 242 { 327000000, 0x45 }, 243 { 331000000, 0x46 }, 244 { 334000000, 0x47 }, 245 { 337000000, 0x48 }, 246 { 339000000, 0x49 }, 247 { 340000000, 0x4A }, 248 { 341000000, 0x4B }, 249 { 343000000, 0x4C }, 250 { 345000000, 0x4D }, 251 { 349000000, 0x4E }, 252 { 352000000, 0x4F }, 253 { 353000000, 0x50 }, 254 { 355000000, 0x51 }, 255 { 357000000, 0x52 }, 256 { 359000000, 0x53 }, 257 { 361000000, 0x54 }, 258 { 362000000, 0x55 }, 259 { 364000000, 0x56 }, 260 { 368000000, 0x57 }, 261 { 370000000, 0x58 }, 262 { 372000000, 0x59 }, 263 { 375000000, 0x5A }, 264 { 376000000, 0x5B }, 265 { 377000000, 0x5C }, 266 { 379000000, 0x5D }, 267 { 382000000, 0x5E }, 268 { 384000000, 0x5F }, 269 { 385000000, 0x60 }, 270 { 386000000, 0x61 }, 271 { 388000000, 0x62 }, 272 { 390000000, 0x63 }, 273 { 393000000, 0x64 }, 274 { 394000000, 0x65 }, 275 { 396000000, 0x66 }, 276 { 397000000, 0x67 }, 277 { 398000000, 0x68 }, 278 { 400000000, 0x69 }, 279 { 402000000, 0x6A }, 280 { 403000000, 0x6B }, 281 { 407000000, 0x6C }, 282 { 408000000, 0x6D }, 283 { 409000000, 0x6E }, 284 { 410000000, 0x6F }, 285 { 411000000, 0x70 }, 286 { 412000000, 0x71 }, 287 { 413000000, 0x72 }, 288 { 414000000, 0x73 }, 289 { 417000000, 0x74 }, 290 { 418000000, 0x75 }, 291 { 420000000, 0x76 }, 292 { 422000000, 0x77 }, 293 { 423000000, 0x78 }, 294 { 424000000, 0x79 }, 295 { 427000000, 0x7A }, 296 { 428000000, 0x7B }, 297 { 429000000, 0x7D }, 298 { 432000000, 0x7F }, 299 { 434000000, 0x80 }, 300 { 435000000, 0x81 }, 301 { 436000000, 0x83 }, 302 { 437000000, 0x84 }, 303 { 438000000, 0x85 }, 304 { 439000000, 0x86 }, 305 { 440000000, 0x87 }, 306 { 441000000, 0x88 }, 307 { 442000000, 0x89 }, 308 { 445000000, 0x8A }, 309 { 446000000, 0x8B }, 310 { 447000000, 0x8C }, 311 { 448000000, 0x8E }, 312 { 449000000, 0x8F }, 313 { 450000000, 0x90 }, 314 { 452000000, 0x91 }, 315 { 453000000, 0x93 }, 316 { 454000000, 0x94 }, 317 { 456000000, 0x96 }, 318 { 457800000, 0x98 }, 319 { 461000000, 0x11 }, 320 { 468000000, 0x12 }, 321 { 472000000, 0x13 }, 322 { 473000000, 0x14 }, 323 { 474000000, 0x15 }, 324 { 481000000, 0x16 }, 325 { 486000000, 0x17 }, 326 { 491000000, 0x18 }, 327 { 498000000, 0x19 }, 328 { 499000000, 0x1A }, 329 { 501000000, 0x1B }, 330 { 506000000, 0x1C }, 331 { 511000000, 0x1D }, 332 { 516000000, 0x1E }, 333 { 520000000, 0x1F }, 334 { 521000000, 0x20 }, 335 { 525000000, 0x21 }, 336 { 529000000, 0x22 }, 337 { 533000000, 0x23 }, 338 { 539000000, 0x24 }, 339 { 541000000, 0x25 }, 340 { 547000000, 0x26 }, 341 { 549000000, 0x27 }, 342 { 551000000, 0x28 }, 343 { 556000000, 0x29 }, 344 { 561000000, 0x2A }, 345 { 563000000, 0x2B }, 346 { 565000000, 0x2C }, 347 { 569000000, 0x2D }, 348 { 571000000, 0x2E }, 349 { 577000000, 0x2F }, 350 { 580000000, 0x30 }, 351 { 582000000, 0x31 }, 352 { 584000000, 0x32 }, 353 { 588000000, 0x33 }, 354 { 591000000, 0x34 }, 355 { 596000000, 0x35 }, 356 { 598000000, 0x36 }, 357 { 603000000, 0x37 }, 358 { 604000000, 0x38 }, 359 { 606000000, 0x39 }, 360 { 612000000, 0x3A }, 361 { 615000000, 0x3B }, 362 { 617000000, 0x3C }, 363 { 621000000, 0x3D }, 364 { 622000000, 0x3E }, 365 { 625000000, 0x3F }, 366 { 632000000, 0x40 }, 367 { 633000000, 0x41 }, 368 { 634000000, 0x42 }, 369 { 642000000, 0x43 }, 370 { 643000000, 0x44 }, 371 { 647000000, 0x45 }, 372 { 650000000, 0x46 }, 373 { 652000000, 0x47 }, 374 { 657000000, 0x48 }, 375 { 661000000, 0x49 }, 376 { 662000000, 0x4A }, 377 { 665000000, 0x4B }, 378 { 667000000, 0x4C }, 379 { 670000000, 0x4D }, 380 { 673000000, 0x4E }, 381 { 676000000, 0x4F }, 382 { 677000000, 0x50 }, 383 { 681000000, 0x51 }, 384 { 683000000, 0x52 }, 385 { 686000000, 0x53 }, 386 { 688000000, 0x54 }, 387 { 689000000, 0x55 }, 388 { 691000000, 0x56 }, 389 { 695000000, 0x57 }, 390 { 698000000, 0x58 }, 391 { 703000000, 0x59 }, 392 { 704000000, 0x5A }, 393 { 705000000, 0x5B }, 394 { 707000000, 0x5C }, 395 { 710000000, 0x5D }, 396 { 712000000, 0x5E }, 397 { 717000000, 0x5F }, 398 { 718000000, 0x60 }, 399 { 721000000, 0x61 }, 400 { 722000000, 0x62 }, 401 { 723000000, 0x63 }, 402 { 725000000, 0x64 }, 403 { 727000000, 0x65 }, 404 { 730000000, 0x66 }, 405 { 732000000, 0x67 }, 406 { 735000000, 0x68 }, 407 { 740000000, 0x69 }, 408 { 741000000, 0x6A }, 409 { 742000000, 0x6B }, 410 { 743000000, 0x6C }, 411 { 745000000, 0x6D }, 412 { 747000000, 0x6E }, 413 { 748000000, 0x6F }, 414 { 750000000, 0x70 }, 415 { 752000000, 0x71 }, 416 { 754000000, 0x72 }, 417 { 757000000, 0x73 }, 418 { 758000000, 0x74 }, 419 { 760000000, 0x75 }, 420 { 763000000, 0x76 }, 421 { 764000000, 0x77 }, 422 { 766000000, 0x78 }, 423 { 767000000, 0x79 }, 424 { 768000000, 0x7A }, 425 { 773000000, 0x7B }, 426 { 774000000, 0x7C }, 427 { 776000000, 0x7D }, 428 { 777000000, 0x7E }, 429 { 778000000, 0x7F }, 430 { 779000000, 0x80 }, 431 { 781000000, 0x81 }, 432 { 783000000, 0x82 }, 433 { 784000000, 0x83 }, 434 { 785000000, 0x84 }, 435 { 786000000, 0x85 }, 436 { 793000000, 0x86 }, 437 { 794000000, 0x87 }, 438 { 795000000, 0x88 }, 439 { 797000000, 0x89 }, 440 { 799000000, 0x8A }, 441 { 801000000, 0x8B }, 442 { 802000000, 0x8C }, 443 { 803000000, 0x8D }, 444 { 804000000, 0x8E }, 445 { 810000000, 0x90 }, 446 { 811000000, 0x91 }, 447 { 812000000, 0x92 }, 448 { 814000000, 0x93 }, 449 { 816000000, 0x94 }, 450 { 817000000, 0x96 }, 451 { 818000000, 0x97 }, 452 { 820000000, 0x98 }, 453 { 821000000, 0x99 }, 454 { 822000000, 0x9A }, 455 { 828000000, 0x9B }, 456 { 829000000, 0x9D }, 457 { 830000000, 0x9F }, 458 { 831000000, 0xA0 }, 459 { 833000000, 0xA1 }, 460 { 835000000, 0xA2 }, 461 { 836000000, 0xA3 }, 462 { 837000000, 0xA4 }, 463 { 838000000, 0xA6 }, 464 { 840000000, 0xA8 }, 465 { 842000000, 0xA9 }, 466 { 845000000, 0xAA }, 467 { 846000000, 0xAB }, 468 { 847000000, 0xAD }, 469 { 848000000, 0xAE }, 470 { 852000000, 0xAF }, 471 { 853000000, 0xB0 }, 472 { 858000000, 0xB1 }, 473 { 860000000, 0xB2 }, 474 { 861000000, 0xB3 }, 475 { 862000000, 0xB4 }, 476 { 863000000, 0xB6 }, 477 { 864000000, 0xB8 }, 478 { 865000000, 0xB9 }, 479 { 0, 0x00 }, /* Table End */ 480 }; 481 482 483 static struct SMap2 m_KM_Map[] = { 484 { 47900000, 3, 2 }, 485 { 61100000, 3, 1 }, 486 { 350000000, 3, 0 }, 487 { 720000000, 2, 1 }, 488 { 865000000, 3, 3 }, 489 { 0, 0x00 }, /* Table End */ 490 }; 491 492 static struct SMap2 m_Main_PLL_Map[] = { 493 { 33125000, 0x57, 0xF0 }, 494 { 35500000, 0x56, 0xE0 }, 495 { 38188000, 0x55, 0xD0 }, 496 { 41375000, 0x54, 0xC0 }, 497 { 45125000, 0x53, 0xB0 }, 498 { 49688000, 0x52, 0xA0 }, 499 { 55188000, 0x51, 0x90 }, 500 { 62125000, 0x50, 0x80 }, 501 { 66250000, 0x47, 0x78 }, 502 { 71000000, 0x46, 0x70 }, 503 { 76375000, 0x45, 0x68 }, 504 { 82750000, 0x44, 0x60 }, 505 { 90250000, 0x43, 0x58 }, 506 { 99375000, 0x42, 0x50 }, 507 { 110375000, 0x41, 0x48 }, 508 { 124250000, 0x40, 0x40 }, 509 { 132500000, 0x37, 0x3C }, 510 { 142000000, 0x36, 0x38 }, 511 { 152750000, 0x35, 0x34 }, 512 { 165500000, 0x34, 0x30 }, 513 { 180500000, 0x33, 0x2C }, 514 { 198750000, 0x32, 0x28 }, 515 { 220750000, 0x31, 0x24 }, 516 { 248500000, 0x30, 0x20 }, 517 { 265000000, 0x27, 0x1E }, 518 { 284000000, 0x26, 0x1C }, 519 { 305500000, 0x25, 0x1A }, 520 { 331000000, 0x24, 0x18 }, 521 { 361000000, 0x23, 0x16 }, 522 { 397500000, 0x22, 0x14 }, 523 { 441500000, 0x21, 0x12 }, 524 { 497000000, 0x20, 0x10 }, 525 { 530000000, 0x17, 0x0F }, 526 { 568000000, 0x16, 0x0E }, 527 { 611000000, 0x15, 0x0D }, 528 { 662000000, 0x14, 0x0C }, 529 { 722000000, 0x13, 0x0B }, 530 { 795000000, 0x12, 0x0A }, 531 { 883000000, 0x11, 0x09 }, 532 { 994000000, 0x10, 0x08 }, 533 { 0, 0x00, 0x00 }, /* Table End */ 534 }; 535 536 static struct SMap2 m_Cal_PLL_Map[] = { 537 { 33813000, 0xDD, 0xD0 }, 538 { 36625000, 0xDC, 0xC0 }, 539 { 39938000, 0xDB, 0xB0 }, 540 { 43938000, 0xDA, 0xA0 }, 541 { 48813000, 0xD9, 0x90 }, 542 { 54938000, 0xD8, 0x80 }, 543 { 62813000, 0xD3, 0x70 }, 544 { 67625000, 0xCD, 0x68 }, 545 { 73250000, 0xCC, 0x60 }, 546 { 79875000, 0xCB, 0x58 }, 547 { 87875000, 0xCA, 0x50 }, 548 { 97625000, 0xC9, 0x48 }, 549 { 109875000, 0xC8, 0x40 }, 550 { 125625000, 0xC3, 0x38 }, 551 { 135250000, 0xBD, 0x34 }, 552 { 146500000, 0xBC, 0x30 }, 553 { 159750000, 0xBB, 0x2C }, 554 { 175750000, 0xBA, 0x28 }, 555 { 195250000, 0xB9, 0x24 }, 556 { 219750000, 0xB8, 0x20 }, 557 { 251250000, 0xB3, 0x1C }, 558 { 270500000, 0xAD, 0x1A }, 559 { 293000000, 0xAC, 0x18 }, 560 { 319500000, 0xAB, 0x16 }, 561 { 351500000, 0xAA, 0x14 }, 562 { 390500000, 0xA9, 0x12 }, 563 { 439500000, 0xA8, 0x10 }, 564 { 502500000, 0xA3, 0x0E }, 565 { 541000000, 0x9D, 0x0D }, 566 { 586000000, 0x9C, 0x0C }, 567 { 639000000, 0x9B, 0x0B }, 568 { 703000000, 0x9A, 0x0A }, 569 { 781000000, 0x99, 0x09 }, 570 { 879000000, 0x98, 0x08 }, 571 { 0, 0x00, 0x00 }, /* Table End */ 572 }; 573 574 static struct SMap m_GainTaper_Map[] = { 575 { 45400000, 0x1F }, 576 { 45800000, 0x1E }, 577 { 46200000, 0x1D }, 578 { 46700000, 0x1C }, 579 { 47100000, 0x1B }, 580 { 47500000, 0x1A }, 581 { 47900000, 0x19 }, 582 { 49600000, 0x17 }, 583 { 51200000, 0x16 }, 584 { 52900000, 0x15 }, 585 { 54500000, 0x14 }, 586 { 56200000, 0x13 }, 587 { 57800000, 0x12 }, 588 { 59500000, 0x11 }, 589 { 61100000, 0x10 }, 590 { 67600000, 0x0D }, 591 { 74200000, 0x0C }, 592 { 80700000, 0x0B }, 593 { 87200000, 0x0A }, 594 { 93800000, 0x09 }, 595 { 100300000, 0x08 }, 596 { 106900000, 0x07 }, 597 { 113400000, 0x06 }, 598 { 119900000, 0x05 }, 599 { 126500000, 0x04 }, 600 { 133000000, 0x03 }, 601 { 139500000, 0x02 }, 602 { 146100000, 0x01 }, 603 { 152600000, 0x00 }, 604 { 154300000, 0x1F }, 605 { 156100000, 0x1E }, 606 { 157800000, 0x1D }, 607 { 159500000, 0x1C }, 608 { 161200000, 0x1B }, 609 { 163000000, 0x1A }, 610 { 164700000, 0x19 }, 611 { 170200000, 0x17 }, 612 { 175800000, 0x16 }, 613 { 181300000, 0x15 }, 614 { 186900000, 0x14 }, 615 { 192400000, 0x13 }, 616 { 198000000, 0x12 }, 617 { 203500000, 0x11 }, 618 { 216200000, 0x14 }, 619 { 228900000, 0x13 }, 620 { 241600000, 0x12 }, 621 { 254400000, 0x11 }, 622 { 267100000, 0x10 }, 623 { 279800000, 0x0F }, 624 { 292500000, 0x0E }, 625 { 305200000, 0x0D }, 626 { 317900000, 0x0C }, 627 { 330700000, 0x0B }, 628 { 343400000, 0x0A }, 629 { 356100000, 0x09 }, 630 { 368800000, 0x08 }, 631 { 381500000, 0x07 }, 632 { 394200000, 0x06 }, 633 { 406900000, 0x05 }, 634 { 419700000, 0x04 }, 635 { 432400000, 0x03 }, 636 { 445100000, 0x02 }, 637 { 457800000, 0x01 }, 638 { 476300000, 0x19 }, 639 { 494800000, 0x18 }, 640 { 513300000, 0x17 }, 641 { 531800000, 0x16 }, 642 { 550300000, 0x15 }, 643 { 568900000, 0x14 }, 644 { 587400000, 0x13 }, 645 { 605900000, 0x12 }, 646 { 624400000, 0x11 }, 647 { 642900000, 0x10 }, 648 { 661400000, 0x0F }, 649 { 679900000, 0x0E }, 650 { 698400000, 0x0D }, 651 { 716900000, 0x0C }, 652 { 735400000, 0x0B }, 653 { 753900000, 0x0A }, 654 { 772500000, 0x09 }, 655 { 791000000, 0x08 }, 656 { 809500000, 0x07 }, 657 { 828000000, 0x06 }, 658 { 846500000, 0x05 }, 659 { 865000000, 0x04 }, 660 { 0, 0x00 }, /* Table End */ 661 }; 662 663 static struct SMap m_RF_Cal_DC_Over_DT_Map[] = { 664 { 47900000, 0x00 }, 665 { 55000000, 0x00 }, 666 { 61100000, 0x0A }, 667 { 64000000, 0x0A }, 668 { 82000000, 0x14 }, 669 { 84000000, 0x19 }, 670 { 119000000, 0x1C }, 671 { 124000000, 0x20 }, 672 { 129000000, 0x2A }, 673 { 134000000, 0x32 }, 674 { 139000000, 0x39 }, 675 { 144000000, 0x3E }, 676 { 149000000, 0x3F }, 677 { 152600000, 0x40 }, 678 { 154000000, 0x40 }, 679 { 164700000, 0x41 }, 680 { 203500000, 0x32 }, 681 { 353000000, 0x19 }, 682 { 356000000, 0x1A }, 683 { 359000000, 0x1B }, 684 { 363000000, 0x1C }, 685 { 366000000, 0x1D }, 686 { 369000000, 0x1E }, 687 { 373000000, 0x1F }, 688 { 376000000, 0x20 }, 689 { 379000000, 0x21 }, 690 { 383000000, 0x22 }, 691 { 386000000, 0x23 }, 692 { 389000000, 0x24 }, 693 { 393000000, 0x25 }, 694 { 396000000, 0x26 }, 695 { 399000000, 0x27 }, 696 { 402000000, 0x28 }, 697 { 404000000, 0x29 }, 698 { 407000000, 0x2A }, 699 { 409000000, 0x2B }, 700 { 412000000, 0x2C }, 701 { 414000000, 0x2D }, 702 { 417000000, 0x2E }, 703 { 419000000, 0x2F }, 704 { 422000000, 0x30 }, 705 { 424000000, 0x31 }, 706 { 427000000, 0x32 }, 707 { 429000000, 0x33 }, 708 { 432000000, 0x34 }, 709 { 434000000, 0x35 }, 710 { 437000000, 0x36 }, 711 { 439000000, 0x37 }, 712 { 442000000, 0x38 }, 713 { 444000000, 0x39 }, 714 { 447000000, 0x3A }, 715 { 449000000, 0x3B }, 716 { 457800000, 0x3C }, 717 { 465000000, 0x0F }, 718 { 477000000, 0x12 }, 719 { 483000000, 0x14 }, 720 { 502000000, 0x19 }, 721 { 508000000, 0x1B }, 722 { 519000000, 0x1C }, 723 { 522000000, 0x1D }, 724 { 524000000, 0x1E }, 725 { 534000000, 0x1F }, 726 { 549000000, 0x20 }, 727 { 554000000, 0x22 }, 728 { 584000000, 0x24 }, 729 { 589000000, 0x26 }, 730 { 658000000, 0x27 }, 731 { 664000000, 0x2C }, 732 { 669000000, 0x2D }, 733 { 699000000, 0x2E }, 734 { 704000000, 0x30 }, 735 { 709000000, 0x31 }, 736 { 714000000, 0x32 }, 737 { 724000000, 0x33 }, 738 { 729000000, 0x36 }, 739 { 739000000, 0x38 }, 740 { 744000000, 0x39 }, 741 { 749000000, 0x3B }, 742 { 754000000, 0x3C }, 743 { 759000000, 0x3D }, 744 { 764000000, 0x3E }, 745 { 769000000, 0x3F }, 746 { 774000000, 0x40 }, 747 { 779000000, 0x41 }, 748 { 784000000, 0x43 }, 749 { 789000000, 0x46 }, 750 { 794000000, 0x48 }, 751 { 799000000, 0x4B }, 752 { 804000000, 0x4F }, 753 { 809000000, 0x54 }, 754 { 814000000, 0x59 }, 755 { 819000000, 0x5D }, 756 { 824000000, 0x61 }, 757 { 829000000, 0x68 }, 758 { 834000000, 0x6E }, 759 { 839000000, 0x75 }, 760 { 844000000, 0x7E }, 761 { 849000000, 0x82 }, 762 { 854000000, 0x84 }, 763 { 859000000, 0x8F }, 764 { 865000000, 0x9A }, 765 { 0, 0x00 }, /* Table End */ 766 }; 767 768 769 static struct SMap m_IR_Meas_Map[] = { 770 { 200000000, 0x05 }, 771 { 400000000, 0x06 }, 772 { 865000000, 0x07 }, 773 { 0, 0x00 }, /* Table End */ 774 }; 775 776 static struct SMap2 m_CID_Target_Map[] = { 777 { 46000000, 0x04, 18 }, 778 { 52200000, 0x0A, 15 }, 779 { 70100000, 0x01, 40 }, 780 { 136800000, 0x18, 40 }, 781 { 156700000, 0x18, 40 }, 782 { 186250000, 0x0A, 40 }, 783 { 230000000, 0x0A, 40 }, 784 { 345000000, 0x18, 40 }, 785 { 426000000, 0x0E, 40 }, 786 { 489500000, 0x1E, 40 }, 787 { 697500000, 0x32, 40 }, 788 { 842000000, 0x3A, 40 }, 789 { 0, 0x00, 0 }, /* Table End */ 790 }; 791 792 static struct SRFBandMap m_RF_Band_Map[7] = { 793 { 47900000, 46000000, 0, 0}, 794 { 61100000, 52200000, 0, 0}, 795 { 152600000, 70100000, 136800000, 0}, 796 { 164700000, 156700000, 0, 0}, 797 { 203500000, 186250000, 0, 0}, 798 { 457800000, 230000000, 345000000, 426000000}, 799 { 865000000, 489500000, 697500000, 842000000}, 800 }; 801 802 u8 m_Thermometer_Map_1[16] = { 803 60, 62, 66, 64, 804 74, 72, 68, 70, 805 90, 88, 84, 86, 806 76, 78, 82, 80, 807 }; 808 809 u8 m_Thermometer_Map_2[16] = { 810 92, 94, 98, 96, 811 106, 104, 100, 102, 812 122, 120, 116, 118, 813 108, 110, 114, 112, 814 }; 815