10/18号完成下列data structure设计:
*PDSCH resource allocation(with DMRS)
2018/10/20号更新:
*NrDcixx中的timeAssignField移到NrPdschTimeAlloc中;
*NrPdschFreqAllocType0中的rbgConfig,p移到新增的NrType0PdschConfig中;
(5)PDSCH resource allocation(with DMRS)
struct NrDci10
{
NrRnti rnti;
int dciSlot; //n
int scsPdcch; //u_PDCCH of active DL BWP
int scsPdsch; //u_PDSCH of indicated DL BWP or active DL BWP
NrPdschTimeAlloc timeAlloc;
NrPdschFreqAllocType1 freqAlloc;
};
enum NrRnti
{
//{SI-RNTI, RA-RNTI, TC-RNTI, C-RNTI}
}
struct NrDci11RaType0
{
NrRnti rnti;
int dciSlot; //n
int scsPdcch; //u_PDCCH of active DL BWP
int scsPdsch; //u_PDSCH of indicated DL BWP or active DL BWP
int bwpIdAct;
int bwpIdIndicated;
NrPdschTimeAlloc timeAlloc;
NrPdschFreqAllocType0 freqAlloc;
int antPortsField; //the ‘antenna port(s)’ field of DCI 1_1
};
struct NrDci11RaType1
{
NrRnti rnti;
int dciSlot; //n
int scsPdcch; //u_PDCCH of active DL BWP
int scsPdsch; //u_PDSCH of indicated DL BWP or active DL BWP
int bwpIdAct;
int bwpIdIndicated;
NrPdschTimeAlloc timeAlloc;
NrPdschFreqAllocType1 freqAlloc;
int antPortsField; //the ‘antenna port(s)’ field of DCI 1_1
};
struct NrPdschTimeAlloc
{
int timeAssignField; //can be 0~15, the value of ‘Time domain resource assignment’ field
int mappingType; //can be typeA or typeB
int k0; //K0, based on scs of PDSCH
int sliv; //can be 0~127
int startingSymb; //S of SLIV
int symbLength; //L of SLIV
int aggFactor; //can be {1,2,4,8}, equal to 1 for DCI 1_0 with CSS0, limited to a single layer transmission
};
enum NrVrbPrbMappingType
{
//{non-interleaved, interleaved}
}
struct NrDmrsPdschConfig
{
NrDmrsType type;
bool pdschInDmrsSymb;
int addPos; //dmrs-additionalPosition, can be {pos0, pos1,po2, pos3}
int maxLength; //can be {len1, len2}
//NrPtrsPdschConfig ptrs;
int numCws; //the number of codewords, can be 1/2
std::vector<int> antPorts; //=1000 for DCI 1_0
int numCdmGroupsWoData; //can be 1~3
int frontLoadedSymbs; //the number of symbols for front-loaded DMRS
};
enum NrDmrsType
{
//{type1, type2}
}
struct NrPtrsPdschConfig
{
//TBD
};
(to be continued)