FreeCalypso > hg > fc-magnetite
comparison src/cs/layer1/cust0/l1_rf12.c @ 583:33be64a1f585
l1_rf12.c: low_agc number changed from Clara remnant to correct Rita value
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Mar 2019 21:04:28 +0000 |
parents | c3f2f79dc5b8 |
children | c3377f023e7a |
comparison
equal
deleted
inserted
replaced
582:72f5b47a0d07 | 583:33be64a1f585 |
---|---|
9 #include "rf.cfg" | 9 #include "rf.cfg" |
10 //#define RF_PA 3 // Hitachi | 10 //#define RF_PA 3 // Hitachi |
11 #endif | 11 #endif |
12 | 12 |
13 /* | 13 /* |
14 * FreeCalypso: the following T_RF table perfectly matches | 14 * FreeCalypso: the following T_RF table was originally taken from the MV100 |
15 * between the MV100 source and the Leonardo binary object. | 15 * source; it perfectly matched Openmoko's binary object prior to our own |
16 * FC modification. We have made one change to it: the low_agc field in the | |
17 * T_AGC structure was originally set to 6 in TI's code, which is clearly an | |
18 * overlooked remnant from Clara RF, as Rita AGC cannot go below 14 dB. We | |
19 * have changed this number to 14 to reflect our current hardware reality. | |
16 */ | 20 */ |
17 | 21 |
18 T_RF rf = | 22 T_RF rf = |
19 { | 23 { |
20 RF_RITA_10, //RF revision | 24 RF_RITA_10, //RF revision |
22 | 26 |
23 { //RX structure | 27 { //RX structure |
24 { //AGC structure | 28 { //AGC structure |
25 140, // low_agc_noise_thr; | 29 140, // low_agc_noise_thr; |
26 110, // high_agc_sat_thr; | 30 110, // high_agc_sat_thr; |
27 6, // low_agc; | 31 14, // low_agc; |
28 34, // high_agc; | 32 34, // high_agc; |
29 //IL2AGC tables | 33 //IL2AGC tables |
30 { // below is: il2agc_pwr[121]; | 34 { // below is: il2agc_pwr[121]; |
31 // il2agc_max[121]; | 35 // il2agc_max[121]; |
32 // il2agc_av[121]; | 36 // il2agc_av[121]; |