# HG changeset patch # User Mychaela Falconia # Date 1509264347 0 # Node ID e530412d76b9adc98b51811f27afd522285f8dd8 # Parent ac5dbb553f276f9fd58c29664900da3e685ab60c l1p_sync.c passes compilation diff -r ac5dbb553f27 -r e530412d76b9 chipsetsw/layer1/p_cfile/l1p_sync.c --- a/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 07:54:00 2017 +0000 +++ b/chipsetsw/layer1/p_cfile/l1p_sync.c Sun Oct 29 08:05:47 2017 +0000 @@ -106,11 +106,11 @@ #include "l1p_mfta.h" #include "l1p_sign.h" #include "l1p_macr.h" - #include "l1p_proto.h" #endif #if(RF_FAM == 61) - #include "l1_rf61.h" + #include "l1_rf61.h" + #include "tpudrv61.h" #endif #if (GSM_IDLE_RAM !=0) @@ -120,7 +120,7 @@ #include "csmi_simul.h" #endif #endif -#include "tpudrv61.h" + /*-------------------------------------------------------*/ /* Prototypes of external functions used in this file. */ /*-------------------------------------------------------*/ @@ -1913,7 +1913,7 @@ // Get AGC according to the last known IL. input_level = l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset].input_level; lna_off = l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset].lna_off; - agc = Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID, lna_off); + agc = Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID); // Memorize the IL and LNA used for AGC setting. @@ -1931,7 +1931,7 @@ lna_off = l1a_l1s_com.last_input_level[operative_radio_freq].lna_off; agc = - Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID, lna_off); + Cust_get_agc_from_IL(radio_freq_ctrl,input_level >> 1, PWR_ID); // Memorize the IL and LNA used for AGC setting. //l1pa_l1ps_com.cr_freq_list.used_il_lna[i] = l1a_l1s_com.last_input_level[radio_freq_ctrl - l1_config.std.radio_freq_index_offset];