changeset 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 72f5b47a0d07
children 257b1c14db87
files src/cs/layer1/cust0/l1_rf12.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/layer1/cust0/l1_rf12.c	Tue Jan 29 05:26:34 2019 +0000
+++ b/src/cs/layer1/cust0/l1_rf12.c	Thu Mar 07 21:04:28 2019 +0000
@@ -11,8 +11,12 @@
 #endif
 
 /*
- * FreeCalypso: the following T_RF table perfectly matches
- * between the MV100 source and the Leonardo binary object.
+ * FreeCalypso: the following T_RF table was originally taken from the MV100
+ * source; it perfectly matched Openmoko's binary object prior to our own
+ * FC modification.  We have made one change to it: the low_agc field in the
+ * T_AGC structure was originally set to 6 in TI's code, which is clearly an
+ * overlooked remnant from Clara RF, as Rita AGC cannot go below 14 dB.  We
+ * have changed this number to 14 to reflect our current hardware reality.
  */
 
 T_RF rf =
@@ -24,7 +28,7 @@
     { //AGC structure
       140,  // low_agc_noise_thr;
       110,  // high_agc_sat_thr;
-        6,  // low_agc;
+       14,  // low_agc;
        34,  // high_agc;
       //IL2AGC tables
       {  // below is: il2agc_pwr[121];