reset rnti and harq_mask in dlsch structure

This commit is contained in:
Francesco Mani
2020-05-12 14:14:41 +02:00
parent 88e5203dfa
commit ad246f961b
+4
View File
@@ -156,6 +156,10 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
int pdcch_received=0;
gNB->num_pdsch_rnti=0;
for (int i=0; i<NUMBER_OF_NR_DLSCH_MAX; i++) {
gNB->dlsch[i][0]->rnti=0;
gNB->dlsch[i][0]->harq_mask=0;
}
gNB->pdcch_pdu = NULL;
gNB->pbch_configured=0;