simulation ok. fixes after merge with develop
This commit is contained in:
@@ -107,6 +107,9 @@ void handle_nfapi_hi_dci0_hi_pdu(PHY_VARS_eNB *eNB,int frame,int subframe,eNB_rx
|
|||||||
phich->config[phich->num_hi].hi = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.hi_value;
|
phich->config[phich->num_hi].hi = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.hi_value;
|
||||||
phich->config[phich->num_hi].first_rb = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.resource_block_start;
|
phich->config[phich->num_hi].first_rb = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.resource_block_start;
|
||||||
phich->config[phich->num_hi].n_DMRS = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.cyclic_shift_2_for_drms;
|
phich->config[phich->num_hi].n_DMRS = hi_dci0_config_pdu->hi_pdu.hi_pdu_rel8.cyclic_shift_2_for_drms;
|
||||||
|
phich->num_hi++;
|
||||||
|
AssertFatal(phich->num_hi<32,"Maximum number of phich reached in subframe\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void handle_nfapi_bch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
void handle_nfapi_bch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
|
||||||
|
|||||||
@@ -2073,7 +2073,7 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
|
|||||||
eNB->first_run_I0_measurements);
|
eNB->first_run_I0_measurements);
|
||||||
|
|
||||||
int min_I0=1000,max_I0=0;
|
int min_I0=1000,max_I0=0;
|
||||||
if ((frame==0) && (subframe==2)) {
|
if ((frame==0) && (subframe==4)) {
|
||||||
for (int i=0;i<eNB->frame_parms.N_RB_UL;i++) {
|
for (int i=0;i<eNB->frame_parms.N_RB_UL;i++) {
|
||||||
if (i==(eNB->frame_parms.N_RB_UL>>1) - 1) i+=2;
|
if (i==(eNB->frame_parms.N_RB_UL>>1) - 1) i+=2;
|
||||||
|
|
||||||
|
|||||||
@@ -3603,6 +3603,8 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 1: // Channel Selection
|
||||||
|
break;
|
||||||
case 2: // Format 2
|
case 2: // Format 2
|
||||||
AssertFatal(1==0,"Can't do Format 2 yet in TDD\n");
|
AssertFatal(1==0,"Can't do Format 2 yet in TDD\n");
|
||||||
break;
|
break;
|
||||||
@@ -3620,7 +3622,7 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
|
|||||||
|
|
||||||
harq_pid = ((10 * frameP) + subframeP + 10236) & 7;
|
harq_pid = ((10 * frameP) + subframeP + 10236) & 7;
|
||||||
|
|
||||||
LOG_I(MAC,"frame %d subframe %d harq_pid %d mode %d tmode[0] %d num_ack_nak %d round %d\n",frameP,subframeP,harq_pid,harq_indication_fdd->mode,tmode[0],num_ack_nak,sched_ctl->round[CC_idP][harq_pid]);
|
LOG_D(MAC,"frame %d subframe %d harq_pid %d mode %d tmode[0] %d num_ack_nak %d round %d\n",frameP,subframeP,harq_pid,harq_indication_fdd->mode,tmode[0],num_ack_nak,sched_ctl->round[CC_idP][harq_pid]);
|
||||||
|
|
||||||
switch (harq_indication_fdd->mode) {
|
switch (harq_indication_fdd->mode) {
|
||||||
case 0: // Format 1a/b (10.1.2.1)
|
case 0: // Format 1a/b (10.1.2.1)
|
||||||
|
|||||||
Reference in New Issue
Block a user