* Compile Rel10 with component carrier
* Add VCD timing for PDCP, RLC, and MAC * Update MAC-PHY interface * update eNB MAC DLSCH scheduler and preprocessor with component carrier * Add test case for dlsim performance git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5708 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -493,7 +493,12 @@ void pusch_power_cntl(PHY_VARS_UE *phy_vars_ue,uint8_t subframe,uint8_t eNB_id,u
|
||||
|
||||
int8_t get_PHR(uint8_t Mod_id, uint8_t eNB_index);
|
||||
|
||||
LTE_eNB_UE_stats* get_eNB_UE_stats(uint8_t Mod_id, int CC_id,uint16_t rnti);
|
||||
LTE_eNB_UE_stats* get_eNB_UE_stats(uint8_t Mod_id, uint8_t CC_id,uint16_t rnti);
|
||||
|
||||
LTE_DL_FRAME_PARMS *get_lte_frame_parms(module_id_t Mod_id, uint8_t CC_id);
|
||||
|
||||
MU_MIMO_mode* get_mu_mimo_mode (module_id_t Mod_id, uint8_t CC_id);
|
||||
|
||||
int get_ue_active_harq_pid(uint8_t Mod_id,uint8_t CC_id,uint16_t rnti,uint8_t subframe,uint8_t *harq_pid,uint8_t *round,uint8_t ul_flag);
|
||||
void ulsch_decoding_procedures(unsigned char last_slot, unsigned int i, PHY_VARS_eNB *phy_vars_eNB, unsigned char abstraction_flag);
|
||||
|
||||
|
||||
@@ -544,7 +544,7 @@ unsigned int is_phich_subframe(LTE_DL_FRAME_PARMS *frame_parms,unsigned char sub
|
||||
}
|
||||
|
||||
|
||||
LTE_eNB_UE_stats* get_eNB_UE_stats(uint8_t Mod_id, int CC_id,uint16_t rnti) {
|
||||
LTE_eNB_UE_stats* get_eNB_UE_stats(uint8_t Mod_id, uint8_t CC_id,uint16_t rnti) {
|
||||
int8_t UE_id;
|
||||
if ((PHY_vars_eNB_g == NULL) || (PHY_vars_eNB_g[Mod_id] == NULL) || (PHY_vars_eNB_g[Mod_id][CC_id]==NULL)) {
|
||||
LOG_E(PHY,"get_eNB_UE_stats: No phy_vars_eNB found (or not allocated) for Mod_id %d,CC_id %d\n",Mod_id,CC_id);
|
||||
@@ -580,3 +580,13 @@ int8_t find_ue(uint16_t rnti, PHY_VARS_eNB *phy_vars_eNB) {
|
||||
return(-1);
|
||||
}
|
||||
|
||||
LTE_DL_FRAME_PARMS* get_lte_frame_parms(module_id_t Mod_id, uint8_t CC_id){
|
||||
|
||||
return(&PHY_vars_eNB_g[Mod_id][CC_id]->lte_frame_parms);
|
||||
|
||||
}
|
||||
|
||||
MU_MIMO_mode *get_mu_mimo_mode (module_id_t Mod_id, uint8_t CC_id){
|
||||
|
||||
return(&PHY_vars_eNB_g[Mod_id][CC_id]->mu_mimo_mode);
|
||||
}
|
||||
|
||||
@@ -1890,14 +1890,16 @@ int lte_ue_pdcch_procedures(uint8_t eNB_id,uint8_t last_slot, PHY_VARS_UE *phy_v
|
||||
}
|
||||
#ifdef PHY_ABSTRACTION
|
||||
else {
|
||||
for (i=0;i<NB_eNB_INST;i++)
|
||||
for (CC_id=0;CC_id<MAX_NUM_CCs;CC_id++){
|
||||
if (PHY_vars_eNB_g[i][CC_id]->lte_frame_parms.Nid_cell == phy_vars_ue->lte_frame_parms.Nid_cell)
|
||||
for (i=0;i<NB_eNB_INST;i++) {
|
||||
for (CC_id=0;CC_id<MAX_NUM_CCs;CC_id++)
|
||||
if (PHY_vars_eNB_g[i][CC_id]->lte_frame_parms.Nid_cell == phy_vars_ue->lte_frame_parms.Nid_cell)
|
||||
break;
|
||||
if (CC_id < MAX_NUM_CCs)
|
||||
break;
|
||||
}
|
||||
if (i==NB_eNB_INST) {
|
||||
LOG_E(PHY,"[UE %d] phy_procedures_lte_ue.c: FATAL : Could not find attached eNB for DCI emulation (Nid_cell %d)!!!!\n",phy_vars_ue->Mod_id,phy_vars_ue->lte_frame_parms.Nid_cell);
|
||||
mac_xface->macphy_exit("");
|
||||
mac_xface->macphy_exit("Could not find attached eNB for DCI emulation");
|
||||
vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_UE_PDCCH_PROCEDURES, VCD_FUNCTION_OUT);
|
||||
return(-1);
|
||||
}
|
||||
@@ -3076,7 +3078,13 @@ int lte_ue_pdcch_procedures(uint8_t eNB_id,uint8_t last_slot, PHY_VARS_UE *phy_v
|
||||
LOG_D(PHY,"[UE %d] Frame %d, subframe %d: Querying for PMCH demodulation(%d)\n",
|
||||
phy_vars_ue->Mod_id,((last_slot>>1)==9?-1:0)+phy_vars_ue->frame,last_slot>>1,last_slot);
|
||||
#ifdef Rel10
|
||||
pmch_mcs = mac_xface->ue_query_mch(phy_vars_ue->Mod_id,((last_slot>>1)==9?-1:0)+phy_vars_ue->frame,last_slot>>1,eNB_id,&sync_area,&mcch_active);
|
||||
pmch_mcs = mac_xface->ue_query_mch(phy_vars_ue->Mod_id,
|
||||
phy_vars_ue->CC_id,
|
||||
((last_slot>>1)==9?-1:0)+phy_vars_ue->frame,
|
||||
last_slot>>1,
|
||||
eNB_id,
|
||||
&sync_area,
|
||||
&mcch_active);
|
||||
if (phy_vars_rn)
|
||||
phy_vars_rn->mch_avtive[last_slot>>1]=0;
|
||||
#else
|
||||
@@ -3166,6 +3174,7 @@ int lte_ue_pdcch_procedures(uint8_t eNB_id,uint8_t last_slot, PHY_VARS_UE *phy_v
|
||||
#ifdef Rel10
|
||||
if ((r_type == no_relay) || (mcch_active == 1)) {
|
||||
mac_xface->ue_send_mch_sdu(phy_vars_ue->Mod_id,
|
||||
phy_vars_ue->CC_id,
|
||||
((last_slot>>1)==9?-1:0)+phy_vars_ue->frame,
|
||||
phy_vars_ue->dlsch_ue_MCH[0]->harq_processes[0]->b,
|
||||
phy_vars_ue->dlsch_ue_MCH[0]->harq_processes[0]->TBS>>3,
|
||||
|
||||
Reference in New Issue
Block a user