Commit aca1d6e3 authored by Raymond Knopp's avatar Raymond Knopp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5526 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e553da59
...@@ -239,8 +239,8 @@ static int tx_max_power = 0; ...@@ -239,8 +239,8 @@ static int tx_max_power = 0;
#else #else
static unsigned int rxg_max[4] = {133,133,133,133}; static unsigned int rxg_max[4] = {133,133,133,133};
//static unsigned int rxg_med[4] = {127,127,127,127}; //static unsigned int rxg_med[4] = {127,127,127,127};
//static unsigned int rxg_byp[4] = {120,120,120,120}; //static unsigned int rxg_byp[4] = {120,120,120,120};
static int tx_max_power = 0; static int tx_max_power = 0;
char ref[128] = "internal"; char ref[128] = "internal";
char channels[128] = "0"; char channels[128] = "0";
...@@ -2468,6 +2468,7 @@ void setup_eNB_buffers(PHY_VARS_eNB *phy_vars_eNB, LTE_DL_FRAME_PARMS *frame_par ...@@ -2468,6 +2468,7 @@ void setup_eNB_buffers(PHY_VARS_eNB *phy_vars_eNB, LTE_DL_FRAME_PARMS *frame_par
exit(-1); exit(-1);
} }
#ifdef USRP
if (frame_parms->frame_type == TDD) { if (frame_parms->frame_type == TDD) {
if (phy_vars_eNB->lte_frame_parms.N_RB_DL == 100) if (phy_vars_eNB->lte_frame_parms.N_RB_DL == 100)
N_TA_offset = 624; N_TA_offset = 624;
...@@ -2476,6 +2477,7 @@ void setup_eNB_buffers(PHY_VARS_eNB *phy_vars_eNB, LTE_DL_FRAME_PARMS *frame_par ...@@ -2476,6 +2477,7 @@ void setup_eNB_buffers(PHY_VARS_eNB *phy_vars_eNB, LTE_DL_FRAME_PARMS *frame_par
else if (phy_vars_eNB->lte_frame_parms.N_RB_DL == 25) else if (phy_vars_eNB->lte_frame_parms.N_RB_DL == 25)
N_TA_offset = 624/4; N_TA_offset = 624/4;
} }
#endif
// replace RX signal buffers with mmaped HW versions // replace RX signal buffers with mmaped HW versions
#ifndef USRP #ifndef USRP
......
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