📄 mfpdltxharness.m
字号:
%***************************************************************************
% 802.16-2004 OFDMA PHY - mFPDLTxHarness Downlink function
%
% [NFFToutToTP] = mFPDLTxHarness(ZoneConfig, AsyncPhyControl,...
% DlCarrierMap, PRBS, PayLoadFromUP, SymbolIndex)
%
% Description: Main function for the downlink Frequency Domain
% processing in OFDMA (8.4) of IEEE802.16e standard
%
% Input:
% ZoneConfig: Data Structure that contains zone configuration
% params, including number of carriers, number of
% used carriers, maximum number of subchanels, etc.
% For details please see WiMAX Integration Framework
% Specification document
% AsyncPhyControl:Asynchronous PHY control data structure
% contains info such as DlPremableBase IdCell, etc.
% PayLoadFromUP: Information elemnts recieved from the User
% Processing, organized as a slots vector, with Nx48
% datums. N depends on the FFT size. This info
% vector is mapped into 2 OFDMA symbols.
% SymbolIndex: Symbol index within frame of the first OFDMA symbol to
% be output.
%
% Output:
% NFFToutToTP: Output 2 OFDMA symbols for data or a single
% Premable symbol. In each case the output is a full FFT sized.
%
% Functions:
% N/A
%
% Data Files:
% N/A
%
%***************************************************************************
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Property of Freescale
% Freescale Confidential Proprietary
% Freescale Copyright (C) 2005 All rights reserved
% ----------------------------------------------------------------------------
% $RCSfile: mFPDLTxHarness.m.rca $
% $Revision: 1.9 $
% $Date: Fri Oct 20 17:33:17 2006 $
% Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [NFFToutToTP] = mFPDLTxHarness(ZoneConfig, AsyncPhyControl,...
DlCarrierMap, PRBS, ...
PayLoadFromUP, SymbolIndex)
%path is relative to the FP/*/SPManager/matlab folder
addpath('../../../DL/SPKernel/MapDL/matlab/');
addpath('../../../DL/SPKernel/CarrierScrambler/matlab/');
addpath('../../../DL/SPKernel/DataMod/matlab/');
%downlink mapping of slot vector to OFDMA symbols
MappedSymbols = mMapDL(PayLoadFromUP);
%scramble carriers
ScrambledPayLoad = mCarrierScrambler(ZoneConfig, MappedSymbols, DlCarrierMap);
%insert pilots
ScrambledPayLoadPilots = mPilotInsert(ZoneConfig, AsyncPhyControl,ScrambledPayLoad);
%add DC ... modulate data, pilots and DC
ModPayLoadToTP = mDataModulation(ScrambledPayLoadPilots, PRBS, SymbolIndex);
NFFToutToTP = ModPayLoadToTP;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -