Commit 1c2c853b authored by Guy De Souza's avatar Guy De Souza

DCI alloc fix

parent 2733425f
......@@ -34,7 +34,7 @@
#include "nr_dci.h"
#include "nr_sch_dmrs.h"
#define DEBUG_DLSCH
//#define DEBUG_DLSCH
uint8_t mod_order[5] = {1, 2, 4, 6, 8};
uint16_t mod_offset[5] = {1,3,7,23,87};
......
......@@ -152,7 +152,7 @@ NR_gNB_DLSCH_t *new_gNB_dlsch(unsigned char Kmimo,unsigned char Mdlharq,uint32_t
}
for (i=0; i<10; i++)
dlsch->harq_ids[i] = i;
dlsch->harq_ids[i] = 0;
for (i=0; i<Mdlharq; i++) {
......
......@@ -23,6 +23,7 @@
#include "PHY/defs_gNB.h"
#include "sched_nr.h"
#include "PHY/NR_TRANSPORT/nr_transport.h"
#include "PHY/NR_TRANSPORT/nr_dlsch.h"
#include "SCHED/sched_eNB.h"
#include "SCHED/sched_common_extern.h"
#include "nfapi_interface.h"
......@@ -197,7 +198,7 @@ void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB,
if (num_pdsch_rnti) {
LOG_I(PHY, "PDSCH generation started (%d)\n", num_pdsch_rnti);
nr_generate_pdsch(*gNB->dlsch[0][0],
gNB->pdcch_vars,
gNB->pdcch_vars.dci_alloc[0],
gNB->nr_gold_pdsch_dmrs[slot_idx],
gNB->common_vars.txdataF,
AMP, subframe, *fp, *cfg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment