FreeCalypso > hg > fc-magnetite
comparison src/cs/layer1/tpu_drivers/source0/tpudrv10.c @ 412:2b038b43e31b
tpudrv10.c: magic1_900[] table reconstructed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 19 Jan 2018 08:13:27 +0000 |
parents | ee49b250774f |
children | 780fa76e9c9b |
comparison
equal
deleted
inserted
replaced
411:ee49b250774f | 412:2b038b43e31b |
---|---|
154 struct synth_s { | 154 struct synth_s { |
155 // common | 155 // common |
156 UWORD16 arfcn0; | 156 UWORD16 arfcn0; |
157 UWORD16 limit; | 157 UWORD16 limit; |
158 T_TX_RX tx_rx[2]; | 158 T_TX_RX tx_rx[2]; |
159 }; | |
160 | |
161 struct magic1_s { | |
162 UWORD16 limit; | |
163 UWORD16 magic; | |
159 }; | 164 }; |
160 | 165 |
161 struct rf_path_s { | 166 struct rf_path_s { |
162 UWORD16 rf_chip_band; | 167 UWORD16 rf_chip_band; |
163 UWORD8 rx_up; | 168 UWORD8 rx_up; |
166 UWORD8 tx_down; | 171 UWORD8 tx_down; |
167 UWORD8 tx_up_rev; | 172 UWORD8 tx_up_rev; |
168 struct synth_s *synth; | 173 struct synth_s *synth; |
169 }; | 174 }; |
170 | 175 |
171 const struct synth_s synth_900[] = | 176 static const struct synth_s synth_900[] = |
172 { | 177 { |
173 { 0, 124, {{ 890, 1}, { 935, 4}}},// gsm 0 - 124 | 178 { 0, 124, {{ 890, 1}, { 935, 4}}},// gsm 0 - 124 |
174 {974, 1023, {{ 880, 1}, { 925, 4}}},// egsm 975 - 1023 | 179 {974, 1023, {{ 880, 1}, { 925, 4}}},// egsm 975 - 1023 |
175 }; | 180 }; |
176 | 181 |
177 const struct synth_s synth_1800[] = | 182 static const struct magic1_s magic1_900[] = |
183 { | |
184 { 26, 0x0820}, | |
185 { 35, 0x0854}, | |
186 { 42, 0x0847}, | |
187 { 54, 0x0861}, | |
188 { 60, 0x0847}, | |
189 { 69, 0x0861}, | |
190 { 79, 0x0847}, | |
191 { 94, 0x083A}, | |
192 { 105, 0x0847}, | |
193 { 112, 0x0854}, | |
194 { 117, 0x082D}, | |
195 { 124, 0x0847}, | |
196 { 988, 0x0820}, | |
197 {1014, 0x083A}, | |
198 {1023, 0x0820}, | |
199 {1023, 0x0820}, | |
200 }; | |
201 | |
202 static const struct synth_s synth_1800[] = | |
178 { | 203 { |
179 {511, 885, {{1710, -1}, {1805, 1}}}, // dcs 512 - 885 | 204 {511, 885, {{1710, -1}, {1805, 1}}}, // dcs 512 - 885 |
180 }; | 205 }; |
181 | 206 |
182 const struct synth_s synth_1900[] = | 207 static const struct synth_s synth_1900[] = |
183 { | 208 { |
184 {511, 810, {{1850, -1}, {1930, 1}}}, // pcs 512 - 810; | 209 {511, 810, {{1850, -1}, {1930, 1}}}, // pcs 512 - 810; |
185 }; | 210 }; |
186 | 211 |
187 const struct synth_s synth_850[] = | 212 static const struct synth_s synth_850[] = |
188 { | 213 { |
189 {127, 251, {{ 824, 1}, { 869, 4}}}, // gsm850 high | 214 {127, 251, {{ 824, 1}, { 869, 4}}}, // gsm850 high |
190 }; | 215 }; |
191 | 216 |
192 struct rf_path_s rf_path[] = { //same index used as for band_config[] - 1 | 217 struct rf_path_s rf_path[] = { //same index used as for band_config[] - 1 |