Change log levels
This commit is contained in:
@@ -169,7 +169,7 @@ uint8_t get_transformPrecoding(const NR_BWP_UplinkCommon_t *initialUplinkBWP,
|
|||||||
int rnti_type,
|
int rnti_type,
|
||||||
uint8_t configuredGrant);
|
uint8_t configuredGrant);
|
||||||
|
|
||||||
void nr_mac_eNB_rrc_ul_failure(const module_id_t Mod_instP,
|
void nr_mac_gNB_rrc_ul_failure(const module_id_t Mod_instP,
|
||||||
const int CC_idP,
|
const int CC_idP,
|
||||||
const frame_t frameP,
|
const frame_t frameP,
|
||||||
const sub_frame_t subframeP,
|
const sub_frame_t subframeP,
|
||||||
|
|||||||
@@ -390,7 +390,7 @@ void nr_preprocessor_phytest(module_id_t module_id,
|
|||||||
for (int rb = 0; rb < sched_pdsch->rbSize; rb++)
|
for (int rb = 0; rb < sched_pdsch->rbSize; rb++)
|
||||||
vrb_map[rb + sched_pdsch->rbStart] = 1;
|
vrb_map[rb + sched_pdsch->rbStart] = 1;
|
||||||
|
|
||||||
if ((frame&127) == 0) LOG_I(MAC,"phytest: %d.%d DL mcs %d, DL rbStart %d, DL rbSize %d\n", frame, slot, sched_pdsch->mcs, rbStart,rbSize);
|
if ((frame&127) == 0) LOG_D(MAC,"phytest: %d.%d DL mcs %d, DL rbStart %d, DL rbSize %d\n", frame, slot, sched_pdsch->mcs, rbStart,rbSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t target_ul_mcs = 9;
|
uint32_t target_ul_mcs = 9;
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
|
|||||||
if (UE_info->UE_sched_ctrl[UE_id].pusch_consecutive_dtx_cnt >= pusch_failure_thres) {
|
if (UE_info->UE_sched_ctrl[UE_id].pusch_consecutive_dtx_cnt >= pusch_failure_thres) {
|
||||||
LOG_D(NR_MAC,"Detected UL Failure on PUSCH, stopping scheduling\n");
|
LOG_D(NR_MAC,"Detected UL Failure on PUSCH, stopping scheduling\n");
|
||||||
UE_info->UE_sched_ctrl[UE_id].ul_failure = 1;
|
UE_info->UE_sched_ctrl[UE_id].ul_failure = 1;
|
||||||
nr_mac_eNB_rrc_ul_failure(gnb_mod_idP,CC_idP,frameP,slotP,rntiP);
|
nr_mac_gNB_rrc_ul_failure(gnb_mod_idP,CC_idP,frameP,slotP,rntiP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if(sduP) {
|
} else if(sduP) {
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ int8_t nr_mac_rrc_data_ind(const module_id_t module_idP,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nr_mac_eNB_rrc_ul_failure(const module_id_t Mod_instP,
|
void nr_mac_gNB_rrc_ul_failure(const module_id_t Mod_instP,
|
||||||
const int CC_idP,
|
const int CC_idP,
|
||||||
const frame_t frameP,
|
const frame_t frameP,
|
||||||
const sub_frame_t subframeP,
|
const sub_frame_t subframeP,
|
||||||
@@ -376,11 +376,10 @@ void nr_mac_eNB_rrc_ul_failure(const module_id_t Mod_instP,
|
|||||||
rntiP);
|
rntiP);
|
||||||
|
|
||||||
if (ue_context_p != NULL) {
|
if (ue_context_p != NULL) {
|
||||||
LOG_I(RRC,"Frame %d, Subframe %d: UE %x UL failure, activating timer\n",frameP,subframeP,rntiP);
|
LOG_D(RRC,"Frame %d, Subframe %d: UE %x UL failure, activating timer\n",frameP,subframeP,rntiP);
|
||||||
|
|
||||||
if(ue_context_p->ue_context.ul_failure_timer == 0)
|
if(ue_context_p->ue_context.ul_failure_timer == 0)
|
||||||
ue_context_p->ue_context.ul_failure_timer=1;
|
ue_context_p->ue_context.ul_failure_timer=1;
|
||||||
} else {
|
} else {
|
||||||
LOG_W(RRC,"Frame %d, Subframe %d: UL failure: UE %x unknown \n",frameP,subframeP,rntiP);
|
LOG_D(RRC,"Frame %d, Subframe %d: UL failure: UE %x unknown \n",frameP,subframeP,rntiP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user