made ue_cc_idx int to set to -1 for rar and bc allocs

This commit is contained in:
Francisco Paisana 2020-03-10 11:57:15 +00:00 committed by Xavier Arteaga
parent f3c3c52fcd
commit 1e63fa41cf
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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;
}