Compute TDA startSymbolIndex and nrOfSymbols everytime function nr_set_pdsch_semi_static is called
This commit is contained in:
@@ -603,7 +603,6 @@ void nr_set_pdsch_semi_static(const NR_SIB1_t *sib1,
|
|||||||
NR_PDSCH_Config_t *pdsch_Config = NULL;
|
NR_PDSCH_Config_t *pdsch_Config = NULL;
|
||||||
if (bwpd && bwpd->pdsch_Config) pdsch_Config = bwpd->pdsch_Config->choice.setup;
|
if (bwpd && bwpd->pdsch_Config) pdsch_Config = bwpd->pdsch_Config->choice.setup;
|
||||||
LOG_D(NR_MAC,"tda %d, ps->time_domain_allocation %d,layers %d, ps->nrOfLayers %d, pdsch_config %p\n",tda,ps->time_domain_allocation,layers,ps->nrOfLayers,pdsch_Config);
|
LOG_D(NR_MAC,"tda %d, ps->time_domain_allocation %d,layers %d, ps->nrOfLayers %d, pdsch_config %p\n",tda,ps->time_domain_allocation,layers,ps->nrOfLayers,pdsch_Config);
|
||||||
if (ps->time_domain_allocation != tda) {
|
|
||||||
reset_dmrs = true;
|
reset_dmrs = true;
|
||||||
ps->time_domain_allocation = tda;
|
ps->time_domain_allocation = tda;
|
||||||
NR_PDSCH_TimeDomainResourceAllocationList_t *tdaList = get_pdsch_TimeDomainAllocationList(bwp, scc, sib1);
|
NR_PDSCH_TimeDomainResourceAllocationList_t *tdaList = get_pdsch_TimeDomainAllocationList(bwp, scc, sib1);
|
||||||
@@ -619,7 +618,6 @@ void nr_set_pdsch_semi_static(const NR_SIB1_t *sib1,
|
|||||||
ps->dmrsConfigType = NFAPI_NR_DMRS_TYPE1;
|
ps->dmrsConfigType = NFAPI_NR_DMRS_TYPE1;
|
||||||
const int startSymbolAndLength = tdaList->list.array[tda]->startSymbolAndLength;
|
const int startSymbolAndLength = tdaList->list.array[tda]->startSymbolAndLength;
|
||||||
SLIV2SL(startSymbolAndLength, &ps->startSymbolIndex, &ps->nrOfSymbols);
|
SLIV2SL(startSymbolAndLength, &ps->startSymbolIndex, &ps->nrOfSymbols);
|
||||||
}
|
|
||||||
|
|
||||||
const long f = ((bwp || bwpd) &&
|
const long f = ((bwp || bwpd) &&
|
||||||
sched_ctrl->search_space &&
|
sched_ctrl->search_space &&
|
||||||
|
|||||||
Reference in New Issue
Block a user