⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 global_var.cpp.bak

📁 在vc上做的802.16d ofdm phy的仿真
💻 BAK
📖 第 1 页 / 共 4 页
字号:
								//For DL, Ncbps=16*ncbpss, always.
			2,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			48,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			16,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			TWO_THIRDS,
			0,
			0,
		    QAM16,
			24,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			72,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QAM16,
			36,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			96,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			144,	//after FEC in bytes without subchannelization
			12,		//RS parity bytes without subchannelization
			144,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			THREE_FOURTHS,
			0,
			0,
		    QAM64,
			48,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			72,		//number of CC coded bits per (single) subchannel per symbol.
			4,		//number of coded bits per subcarrier.
			72,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			4,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			108,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			144,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			144,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QAM64,
			54,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			72,		//number of CC coded bits per (single) subchannel per symbol.
			4,		//number of coded bits per subcarrier.
			72,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			4,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
	};
	
	OfdmSymbolParam g_ssDlOfdmSymbolParam[DIUC_NUM_1] =
	{
		{
			12,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			24,	//after FEC in bytes without subchannelization
			0,		//RS parity bytes without subchannelization
			24,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			ONE_HALF,
			0,
			0,
		    BPSK,
			6,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			12,		//number of CC coded bits per (single) subchannel per symbol.
			1,		//number of coded bits per subcarrier.
			12,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			1,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			24,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			48,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			48,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			TWO_THIRDS,
			0,
			0,
		    QPSK,
			12,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			24,		//number of CC coded bits per (single) subchannel per symbol.
			2,		//number of coded bits per subcarrier.
			24,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			2,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			36,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			48,	//after FEC in bytes without subchannelization
			4,		//RS parity bytes without subchannelization
			48,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QPSK,
			18,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			24,		//number of CC coded bits per (single) subchannel per symbol.
			2,		//number of coded bits per subcarrier.
			24,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			2,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			48,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			16,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			TWO_THIRDS,
			0,
			0,
		    QAM16,
			24,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			72,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QAM16,
			36,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			96,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			144,	//after FEC in bytes without subchannelization
			12,		//RS parity bytes without subchannelization
			144,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			THREE_FOURTHS,
			0,
			0,
		    QAM64,
			48,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			72,		//number of CC coded bits per (single) subchannel per symbol.
			4,		//number of coded bits per subcarrier.
			72,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			4,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			108,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			144,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			144,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QAM64,
			54,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			72,		//number of CC coded bits per (single) subchannel per symbol.
			4,		//number of coded bits per subcarrier.
			72,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			4,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
	};


	OfdmSymbolParam g_bsDlFirstBurstOfdmSymbolParam[RATE_ID_NUM] =
	{
		{
			12,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			24,	//after FEC in bytes without subchannelization
			0,		//RS parity bytes without subchannelization
			24,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			ONE_HALF,
			0,
			0,
		    BPSK,
			6,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			12,		//number of CC coded bits per (single) subchannel per symbol.
			1,		//number of coded bits per subcarrier.
			12,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			1,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			24,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			48,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			48,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			TWO_THIRDS,
			0,
			0,
		    QPSK,
			12,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			24,		//number of CC coded bits per (single) subchannel per symbol.
			2,		//number of coded bits per subcarrier.
			24,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			2,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			36,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			48,	//after FEC in bytes without subchannelization
			4,		//RS parity bytes without subchannelization
			48,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QPSK,
			18,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			24,		//number of CC coded bits per (single) subchannel per symbol.
			2,		//number of coded bits per subcarrier.
			24,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			2,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			48,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			16,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			TWO_THIRDS,
			0,
			0,
		    QAM16,
			24,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			72,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			96,	//after FEC in bytes without subchannelization
			8,		//RS parity bytes without subchannelization
			96,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			FIVE_SIXTHS,
			0,
			0,
		    QAM16,
			36,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			48,		//number of CC coded bits per (single) subchannel per symbol.
			3,		//number of coded bits per subcarrier.
			48,		//number of coded bits per (single) sub-channel per OFDM symbol, 
								//=12*ncpc, Ncbps=ncbpss*number of allocated subChannels.
								//For DL, Ncbps=16*ncbpss, always.
			3,	//=nbpss/ncpc, the number of QAM symbols per symbol per (single) subchannel
		},
		{
			96,//before FEC in bytes including "0x00"tail byte, 
										//without subchannelization
			144,	//after FEC in bytes without subchannelization
			12,		//RS parity bytes without subchannelization
			144,	//after CC in bytes without subchannelization
			0,		//after BTC in bytes without subchannelization
			0,		//after CTC in bytes without subchannelization
			THREE_FOURTHS,
			0,
			0,
		    QAM64,
			48,		//max number of uncoded bits (before rand.) per subchannel per symbol.
			72,		//number of CC coded bits per (single) subchannel per symbol.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -