void BuildK0K1TableForFdd(SchCellCb *cell, SchK0K1TimingInfoTbl *k0K1InfoTbl, bool pdschCfgCmnPres,SchPdschCfgCmn pdschCmnCfg,\
SchPdschConfig pdschDedCfg, uint8_t ulAckListCount, uint8_t *UlAckTbl)
{
- uint8_t k0TmpVal = 0, k1TmpVal =0, cfgIdx=0;
+
+ uint8_t k1TmpVal =0, cfgIdx=0;
uint8_t slotIdx=0, k0Index=0, k1Index=0, numK0=0, numK1=0, numTimeDomAlloc=0;
- SchPdschCfgCmnTimeDomRsrcAlloc cmnTimeDomRsrcAllocList[MAX_NUM_DL_ALLOC];
- SchPdschTimeDomRsrcAlloc dedTimeDomRsrcAllocList[MAX_NUM_DL_ALLOC];
+
+ /* TODO Commented these below lines for resolving warnings. Presently these variable are not
+ * required but this will require for harq processing */
+ // uint8_t k0TmpVal = 0;
+ // SchPdschCfgCmnTimeDomRsrcAlloc cmnTimeDomRsrcAllocList[MAX_NUM_DL_ALLOC];
+ // SchPdschTimeDomRsrcAlloc dedTimeDomRsrcAllocList[MAX_NUM_DL_ALLOC];
/* Initialization the structure and storing the total slot values. */
memset(k0K1InfoTbl, 0, sizeof(SchK0K1TimingInfoTbl));
numTimeDomAlloc = pdschCmnCfg.numTimeDomAlloc;
for(cfgIdx = 0; cfgIdx<numTimeDomAlloc; cfgIdx++)
{
- cmnTimeDomRsrcAllocList[cfgIdx] = pdschCmnCfg.timeDomRsrcAllocList[cfgIdx];
+ /*TODO uncomment this line during harq processing */
+ //cmnTimeDomRsrcAllocList[cfgIdx] = pdschCmnCfg.timeDomRsrcAllocList[cfgIdx];
}
}
else
numTimeDomAlloc = pdschDedCfg.numTimeDomRsrcAlloc;
for(cfgIdx = 0; cfgIdx<numTimeDomAlloc; cfgIdx++)
{
- dedTimeDomRsrcAllocList[cfgIdx] = pdschDedCfg.timeDomRsrcAllociList[cfgIdx];
+ /*TODO uncomment this line during harq processing */
+ //dedTimeDomRsrcAllocList[cfgIdx] = pdschDedCfg.timeDomRsrcAllociList[cfgIdx];
}
}
* As per 38.331 PDSCH-TimeDomainResourceAllocation field descriptions. */
for(k0Index = 0; ((k0Index < numTimeDomAlloc) && (k0Index < MAX_NUM_K0_IDX)); k0Index++)
{
+ /* TODO These if 0 we will remove during harq processing */
+#if 0
if(pdschCfgCmnPres == true)
{
k0TmpVal = cmnTimeDomRsrcAllocList[k0Index].k0;
k0TmpVal = DEFAULT_K0_VALUE;
}
}
-
+#endif
/* Checking all the Ul Alloc values. If value is less than MIN_NUM_K1_IDX
* then skip else continue storing the values. */
numK1 = 0;