Commit 642d6ee6 authored by Javier Morgade's avatar Javier Morgade

CI WARNING suppression

parent 27a3cff7
...@@ -793,17 +793,14 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue, ...@@ -793,17 +793,14 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
int pilot_khz_1dot25[600] __attribute__((aligned(16))); int pilot_khz_1dot25[600] __attribute__((aligned(16)));
unsigned char aarx,aa; unsigned char aarx/*,aa*/;
unsigned int rb; //unsigned int rb;
int16_t ch[2]; int16_t ch[2];
short *pil,*rxF,*dl_ch,*ch0,*ch1,*ch11,*chp,*ch_prev; short *pil,*rxF,*dl_ch/*,*ch0,*ch1,*ch11,*chp,*ch_prev*/;
int ch_offset,symbol_offset; int ch_offset,symbol_offset;
int pilot_cnt; int pilot_cnt;
int16_t *f,*f2,*fl,*f2l2,*fr,*f2r2,*f2_dc,*f_dc; int16_t *f,*f2,*fl,*f2l2,*fr,*f2r2/*,*f2_dc,*f_dc*/;
unsigned int ofdm_symbol_size;
unsigned int m,s;
unsigned int k; unsigned int k;
...@@ -816,7 +813,7 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue, ...@@ -816,7 +813,7 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
ch_offset = 0;//(l*(ue->frame_parms.ofdm_symbol_size)); ch_offset = 0;//(l*(ue->frame_parms.ofdm_symbol_size));
symbol_offset = 0;//ch_offset;//phy_vars_ue->lte_frame_parms.ofdm_symbol_size*l; symbol_offset = 0;//ch_offset;//phy_vars_ue->lte_frame_parms.ofdm_symbol_size*l;
AssertFatal( ue->frame_parms.N_RB_DL==25,"OFDM symbol size %d not yet supported for FeMBMS %d\n",ue->frame_parms.N_RB_DL); AssertFatal( ue->frame_parms.N_RB_DL==25,"OFDM symbol size %d not yet supported for FeMBMS\n",ue->frame_parms.N_RB_DL);
if( (subframe&0x1) == 0){ if( (subframe&0x1) == 0){
f=filt24_0_khz_1dot25; f=filt24_0_khz_1dot25;
...@@ -825,8 +822,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue, ...@@ -825,8 +822,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
f2l2=filt24_2_khz_1dot25; f2l2=filt24_2_khz_1dot25;
fr=filt24_0r2_khz_1dot25; fr=filt24_0r2_khz_1dot25;
f2r2=filt24_2r_khz_1dot25; f2r2=filt24_2r_khz_1dot25;
f_dc=filt24_0_dcr_khz_1dot25; //f_dc=filt24_0_dcr_khz_1dot25;
f2_dc=filt24_2_dcl_khz_1dot25; //f2_dc=filt24_2_dcl_khz_1dot25;
}else{ }else{
f=filt24_0_khz_1dot25; f=filt24_0_khz_1dot25;
f2=filt24_2_khz_1dot25; f2=filt24_2_khz_1dot25;
...@@ -834,8 +831,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue, ...@@ -834,8 +831,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
f2l2=filt24_2_khz_1dot25; f2l2=filt24_2_khz_1dot25;
fr=filt24_0r2_khz_1dot25; fr=filt24_0r2_khz_1dot25;
f2r2=filt24_2r_khz_1dot25; f2r2=filt24_2r_khz_1dot25;
f_dc=filt24_0_dcr_khz_1dot25; //f_dc=filt24_0_dcr_khz_1dot25;
f2_dc=filt24_2_dcl_khz_1dot25; //f2_dc=filt24_2_dcl_khz_1dot25;
} }
...@@ -852,10 +849,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue, ...@@ -852,10 +849,8 @@ int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
memset(dl_ch,0,4*(ue->frame_parms.ofdm_symbol_size_khz_1dot25)); memset(dl_ch,0,4*(ue->frame_parms.ofdm_symbol_size_khz_1dot25));
int shift;
if( (subframe&0x1) == 0){ if( (subframe&0x1) == 0){
rxF+=0; rxF+=0;
shift=0;
k=0; k=0;
}else{ }else{
rxF+=6;//2*3; rxF+=6;//2*3;
......
...@@ -132,6 +132,11 @@ int lte_dl_mbsfn_channel_estimation(PHY_VARS_UE *phy_vars_ue, ...@@ -132,6 +132,11 @@ int lte_dl_mbsfn_channel_estimation(PHY_VARS_UE *phy_vars_ue,
int subframe, int subframe,
unsigned char l); unsigned char l);
int lte_dl_mbsfn_khz_1dot25_channel_estimation(PHY_VARS_UE *ue,
module_id_t eNB_id,
uint8_t eNB_offset,
int subframe);
/*! /*!
\brief Frequency offset estimation for LTE \brief Frequency offset estimation for LTE
We estimate the frequency offset by calculating the phase difference between channel estimates for symbols carrying pilots (l==0 or l==3/4). We take a moving average of the phase difference. We estimate the frequency offset by calculating the phase difference between channel estimates for symbols carrying pilots (l==0 or l==3/4). We take a moving average of the phase difference.
......
...@@ -97,7 +97,7 @@ void lte_gold_mbsfn(LTE_DL_FRAME_PARMS *frame_parms,uint32_t lte_gold_mbsfn_tabl ...@@ -97,7 +97,7 @@ void lte_gold_mbsfn(LTE_DL_FRAME_PARMS *frame_parms,uint32_t lte_gold_mbsfn_tabl
#if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0)) #if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
void lte_gold_mbsfn_khz_1dot25(LTE_DL_FRAME_PARMS *frame_parms,uint32_t lte_gold_mbsfn_khz_1dot25_table[10][150],uint16_t Nid_mbsfn){ void lte_gold_mbsfn_khz_1dot25(LTE_DL_FRAME_PARMS *frame_parms,uint32_t lte_gold_mbsfn_khz_1dot25_table[10][150],uint16_t Nid_mbsfn){
unsigned char sfn,l; unsigned char sfn;
unsigned int n,x1,x2;//,x1tmp,x2tmp; unsigned int n,x1,x2;//,x1tmp,x2tmp;
for (sfn=0; sfn<10; sfn++) { for (sfn=0; sfn<10; sfn++) {
......
...@@ -146,6 +146,10 @@ int lte_dl_mbsfn_rx(PHY_VARS_UE *phy_vars_ue, ...@@ -146,6 +146,10 @@ int lte_dl_mbsfn_rx(PHY_VARS_UE *phy_vars_ue,
int subframe, int subframe,
unsigned char l); unsigned char l);
int lte_dl_mbsfn_khz_1dot25_rx(PHY_VARS_UE *ue,
int *output,
int subframe);
......
...@@ -216,7 +216,7 @@ int slot_fep_mbsfn_khz_1dot25(PHY_VARS_UE *ue, ...@@ -216,7 +216,7 @@ int slot_fep_mbsfn_khz_1dot25(PHY_VARS_UE *ue,
uint8_t eNB_id = 0;//ue_common_vars->eNb_id; uint8_t eNB_id = 0;//ue_common_vars->eNb_id;
unsigned char aa; unsigned char aa;
unsigned char frame_type = frame_parms->frame_type; // Frame Type: 0 - FDD, 1 - TDD; //unsigned char frame_type = frame_parms->frame_type; // Frame Type: 0 - FDD, 1 - TDD;
unsigned int nb_prefix_samples; unsigned int nb_prefix_samples;
int ofdm_symbol_size; int ofdm_symbol_size;
unsigned int subframe_offset; unsigned int subframe_offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment