NG Toolset开发笔记--5GNR Resource Grid(31)

100 篇文章 0 订阅

10/18号完成下列data structure设计:

*PDSCH resource allocation(with DMRS)

2018/10/20号更新:

*NrDcixx中的timeAssignField移到NrPdschTimeAlloc中;

*NrPdschFreqAllocType0中的rbgConfigp移到新增的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)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值