diff --git a/openair1/PHY/MODULATION/slot_fep.c b/openair1/PHY/MODULATION/slot_fep.c index a7639d9291788cbb9ecfc5f9f308f18d7b002b27..5597f3f7fbcafdbef574a810b0356932460ebc25 100644 --- a/openair1/PHY/MODULATION/slot_fep.c +++ b/openair1/PHY/MODULATION/slot_fep.c @@ -247,17 +247,6 @@ int slot_fep(PHY_VARS_UE *phy_vars_ue, } } - if(phy_vars_ue->transmission_mode[eNB_id] == 7) { - - if(frame_parms->Ncp==0 && ((symbol==3) || (symbol==6) || (symbol==9) || (symbol==12))) - lte_dl_bf_channel_estimation(phy_vars_ue,eNB_id,0,Ns,5,symbol); - - else if(frame_parms->Ncp==1 && ((symbol==4) || (symbol==7) || (symbol==10))) - msg("slot_fep(slot_fep.c):channel estimation not supported yet for TM7 extented CP.\n"); - - } else if(phy_vars_ue->transmission_mode[eNB_id] > 7) { - msg("slot_fep(slot_fep.c):transmission mode not supported yet.\n"); - } } #ifdef DEBUG_FEP diff --git a/openair1/SIMULATION/LTE_PHY/dlsim.c b/openair1/SIMULATION/LTE_PHY/dlsim.c index 39a0095ac3113bc99ed2a95e717cba99ace2194e..96c6dfc14e26e2c59bf1548e9c459d4762d052d7 100644 --- a/openair1/SIMULATION/LTE_PHY/dlsim.c +++ b/openair1/SIMULATION/LTE_PHY/dlsim.c @@ -564,7 +564,7 @@ int main(int argc, char **argv) exit(-1); } - if (transmission_mode==7 && (n_tx_phy!=2 && n_tx_phy!=4 && n_tx_phy!=8 && n_tx_phy!=16 && n_tx_phy!=64)) { + if (transmission_mode==7 && (n_tx_phy!=1 && n_tx_phy!=2 && n_tx_phy!=4 && n_tx_phy!=8 && n_tx_phy!=16 && n_tx_phy!=64)) { msg("For TM7, physical antenna number should be an exponent of 2, maximum 64 antennas supported.\n"); exit(-1); } @@ -3360,6 +3360,18 @@ PMI_FEEDBACK: } if (dlsch_active == 1) { + + if (transmission_mode==7) { + if (PHY_vars_UE->lte_frame_parms.Ncp==0) { + if ((Ns==(2*subframe) && ((l==3) || (l==6))) || + Ns==(1+(2*subframe)) && ((l==3) || (l==6))) { + lte_dl_bf_channel_estimation(PHY_vars_UE,eNB_id,0,Ns,5,l+7*(Ns%2==1)); + } + } else { + msg("Beamforming channel estimation not supported yet for TM7 extented CP.\n"); + } + } + if ((Ns==(1+(2*subframe))) && (l==0)) {// process PDSCH symbols 1,2,3,4,5,(6 Normal Prefix) if ((transmission_mode == 5) &&