"Slot offset K2 (%ld) cannot be less than DURATION_RX_TO_TX (%d). K2 set according to min_rxtxtime in config file.\n",
k2,DURATION_RX_TO_TX);
"Slot offset K2 (%ld) cannot be less than DURATION_RX_TO_TX (%d). Please set min_rxtxtime at least to %d in gNB config file or gNBs.[0].min_rxtxtime=%d via command line.\n",
@@ -1450,8 +1439,11 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac,
}
AssertFatal((k2+delta)>=DURATION_RX_TO_TX,
"Slot offset (%ld) for Msg3 cannot be less than DURATION_RX_TO_TX (%d)\n",
k2+delta,DURATION_RX_TO_TX);
"Slot offset (%ld) for Msg3 cannot be less than DURATION_RX_TO_TX (%d). Please set min_rxtxtime at least to %d in gNB config file or gNBs.[0].min_rxtxtime=%d via command line.\n",
@@ -1463,7 +1455,7 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac,
}else{
if(k2<0){// This can happen when a false DCI is received
LOG_W(PHY,"%d.%d. Received k2 %ld\n",current_frame,current_slot,k2);
LOG_W(PHY,"%d.%d. Received k2 %ld\n",current_frame,current_slot,k2);
return-1;
}
...
...
@@ -1473,10 +1465,9 @@ int nr_ue_pusch_scheduler(NR_UE_MAC_INST_t *mac,
}
LOG_D(NR_MAC,"In %s: currently at [%d.%d] UL transmission in [%d.%d] (k2 %ld delta %d)\n",__FUNCTION__,current_frame,current_slot,*frame_tx,*slot_tx,k2,delta);
LOG_D(NR_MAC,"[%04d.%02d] UL transmission in [%04d.%02d] (k2 %ld delta %d)\n",current_frame,current_slot,*frame_tx,*slot_tx,k2,delta);
return0;
}
// Build the list of all the valid RACH occasions in the maximum association pattern period according to the PRACH config