Commit e4e974be authored by Raymond Knopp's avatar Raymond Knopp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7546 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 8e394545
...@@ -117,6 +117,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf) ...@@ -117,6 +117,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
frame_parms->nb_prefix_samples0>>=(2-log2_osf); frame_parms->nb_prefix_samples0>>=(2-log2_osf);
frame_parms->N_RBGS = 2; frame_parms->N_RBGS = 2;
frame_parms->N_RBG = 13; frame_parms->N_RBG = 13;
break; break;
case 15: case 15:
...@@ -147,6 +149,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf) ...@@ -147,6 +149,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
break; break;
} }
printf("lte_parms.c: Setting N_RB_DL to %d, ofdm_symbol_size %d\n",frame_parms->N_RB_DL, frame_parms->ofdm_symbol_size);
// frame_parms->tdd_config=3; // frame_parms->tdd_config=3;
return(0); return(0);
} }
......
...@@ -4143,8 +4143,8 @@ int generate_ue_dlsch_params_from_dci(uint8_t subframe, ...@@ -4143,8 +4143,8 @@ int generate_ue_dlsch_params_from_dci(uint8_t subframe,
dlsch1_harq->rb_alloc[0] = dlsch0_harq->rb_alloc[0]; dlsch1_harq->rb_alloc[0] = dlsch0_harq->rb_alloc[0];
dlsch0_harq->nb_rb = conv_nprb(rah, dlsch0_harq->nb_rb = conv_nprb(rah,
rballoc, rballoc,
frame_parms->N_RB_DL); frame_parms->N_RB_DL);
dlsch1_harq->nb_rb = dlsch0_harq->nb_rb; dlsch1_harq->nb_rb = dlsch0_harq->nb_rb;
dlsch0_harq->mcs = mcs1; dlsch0_harq->mcs = mcs1;
...@@ -4262,8 +4262,8 @@ int generate_ue_dlsch_params_from_dci(uint8_t subframe, ...@@ -4262,8 +4262,8 @@ int generate_ue_dlsch_params_from_dci(uint8_t subframe,
dlsch0->rnti = rnti; dlsch0->rnti = rnti;
dlsch1->rnti = rnti; dlsch1->rnti = rnti;
dlsch0_harq->dl_power_off = 1; //no power offset dlsch0_harq->dl_power_off = 0; //no power offset
dlsch1_harq->dl_power_off = 1; //no power offset dlsch1_harq->dl_power_off = 0; //no power offset
dlsch0->active = 1; dlsch0->active = 1;
dlsch1->active = 1; dlsch1->active = 1;
......
...@@ -242,7 +242,8 @@ void clean_eNb_dlsch(LTE_eNB_DLSCH_t *dlsch, uint8_t abstraction_flag) ...@@ -242,7 +242,8 @@ void clean_eNb_dlsch(LTE_eNB_DLSCH_t *dlsch, uint8_t abstraction_flag)
if (abstraction_flag==0) { if (abstraction_flag==0) {
for (j=0; j<96; j++) for (j=0; j<96; j++)
for (r=0; r<MAX_NUM_DLSCH_SEGMENTS; r++) for (r=0; r<MAX_NUM_DLSCH_SEGMENTS; r++)
dlsch->harq_processes[i]->d[r][j] = LTE_NULL; if (dlsch->harq_processes[i]->d[r])
dlsch->harq_processes[i]->d[r][j] = LTE_NULL;
} }
} }
} }
......
...@@ -469,6 +469,7 @@ void phy_scope_UE(FD_lte_phy_scope_ue *form, ...@@ -469,6 +469,7 @@ void phy_scope_UE(FD_lte_phy_scope_ue *form,
int mcs = 0; int mcs = 0;
unsigned char harq_pid = 0; unsigned char harq_pid = 0;
if (phy_vars_ue->dlsch_ue[eNB_id][0]!=NULL) { if (phy_vars_ue->dlsch_ue[eNB_id][0]!=NULL) {
harq_pid = phy_vars_ue->dlsch_ue[eNB_id][0]->current_harq_pid; harq_pid = phy_vars_ue->dlsch_ue[eNB_id][0]->current_harq_pid;
......
...@@ -3126,7 +3126,8 @@ void prach_procedures(PHY_VARS_eNB *phy_vars_eNB,uint8_t sched_subframe,uint8_t ...@@ -3126,7 +3126,8 @@ void prach_procedures(PHY_VARS_eNB *phy_vars_eNB,uint8_t sched_subframe,uint8_t
frame, frame,
preamble_max, preamble_max,
preamble_delay_list[preamble_max], preamble_delay_list[preamble_max],
0,subframe,0); 0,subframe,0);
#endif #endif
} else { } else {
MSC_LOG_EVENT(MSC_PHY_ENB, "0 RA Failed add user, too many"); MSC_LOG_EVENT(MSC_PHY_ENB, "0 RA Failed add user, too many");
......
...@@ -536,6 +536,7 @@ int main(int argc, char **argv) ...@@ -536,6 +536,7 @@ int main(int argc, char **argv)
if ((transmission_mode!=1) && if ((transmission_mode!=1) &&
(transmission_mode!=2) && (transmission_mode!=2) &&
(transmission_mode!=3) && (transmission_mode!=3) &&
(transmission_mode!=4) &&
(transmission_mode!=5) && (transmission_mode!=5) &&
(transmission_mode!=6)) { (transmission_mode!=6)) {
msg("Unsupported transmission mode %d\n",transmission_mode); msg("Unsupported transmission mode %d\n",transmission_mode);
......
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