diff --git a/lib/include/srslte/phy/phch/dci.h b/lib/include/srslte/phy/phch/dci.h index ba977b97d..f57f2d87c 100644 --- a/lib/include/srslte/phy/phch/dci.h +++ b/lib/include/srslte/phy/phch/dci.h @@ -82,7 +82,7 @@ typedef struct SRSLTE_API { uint16_t rnti; srslte_dci_format_t format; srslte_dci_location_t location; - uint32_t ue_cc_idx; + int ue_cc_idx; // Resource Allocation srslte_ra_type_t alloc_type; @@ -133,7 +133,7 @@ typedef struct SRSLTE_API { uint16_t rnti; srslte_dci_format_t format; srslte_dci_location_t location; - uint32_t ue_cc_idx; + int ue_cc_idx; srslte_ra_type2_t type2_alloc; /* 36.213 Table 8.4-2: SRSLTE_RA_PUSCH_HOP_HALF is 0 for < 10 Mhz and 10 for > 10 Mhz. diff --git a/srsenb/src/stack/mac/scheduler_grid.cc b/srsenb/src/stack/mac/scheduler_grid.cc index 301479c2d..4d83bc1ed 100644 --- a/srsenb/src/stack/mac/scheduler_grid.cc +++ b/srsenb/src/stack/mac/scheduler_grid.cc @@ -1000,6 +1000,7 @@ int sf_sched::generate_format1a(uint32_t rb_start, dci->tb[0].rv = rv; dci->format = SRSLTE_DCI_FORMAT1A; dci->rnti = rnti; + dci->ue_cc_idx = -1; return tbs; }