# HG changeset patch # User Mychaela Falconia # Date 1516349607 0 # Node ID 2b038b43e31b479a6bcd4461654bce0bd42ca964 # Parent ee49b250774f95c122be890250900467191ef423 tpudrv10.c: magic1_900[] table reconstructed diff -r ee49b250774f -r 2b038b43e31b src/cs/layer1/tpu_drivers/source0/tpudrv10.c --- a/src/cs/layer1/tpu_drivers/source0/tpudrv10.c Fri Jan 19 07:38:43 2018 +0000 +++ b/src/cs/layer1/tpu_drivers/source0/tpudrv10.c Fri Jan 19 08:13:27 2018 +0000 @@ -158,6 +158,11 @@ T_TX_RX tx_rx[2]; }; +struct magic1_s { + UWORD16 limit; + UWORD16 magic; +}; + struct rf_path_s { UWORD16 rf_chip_band; UWORD8 rx_up; @@ -168,23 +173,43 @@ struct synth_s *synth; }; -const struct synth_s synth_900[] = +static const struct synth_s synth_900[] = { { 0, 124, {{ 890, 1}, { 935, 4}}},// gsm 0 - 124 {974, 1023, {{ 880, 1}, { 925, 4}}},// egsm 975 - 1023 }; -const struct synth_s synth_1800[] = +static const struct magic1_s magic1_900[] = +{ + { 26, 0x0820}, + { 35, 0x0854}, + { 42, 0x0847}, + { 54, 0x0861}, + { 60, 0x0847}, + { 69, 0x0861}, + { 79, 0x0847}, + { 94, 0x083A}, + { 105, 0x0847}, + { 112, 0x0854}, + { 117, 0x082D}, + { 124, 0x0847}, + { 988, 0x0820}, + {1014, 0x083A}, + {1023, 0x0820}, + {1023, 0x0820}, +}; + +static const struct synth_s synth_1800[] = { {511, 885, {{1710, -1}, {1805, 1}}}, // dcs 512 - 885 }; -const struct synth_s synth_1900[] = +static const struct synth_s synth_1900[] = { {511, 810, {{1850, -1}, {1930, 1}}}, // pcs 512 - 810; }; -const struct synth_s synth_850[] = +static const struct synth_s synth_850[] = { {127, 251, {{ 824, 1}, { 869, 4}}}, // gsm850 high };