Main Content

wlanHTLTF

Generate HT-LTF waveform

Description

y = wlanHTLTF(cfg) generates an HT-LTF1 time-domain waveform for HT-mixed transmissions with parameters specified in cfg.

example

y = wlanHTLTF(cfg,OversamplingFactor=osf) generates an oversampled HT-LTF waveform with the specified oversampling factor.

example

Examples

collapse all

Create a wlanHTConfig object having a channel bandwidth of 40 MHz.

cfg = wlanHTConfig('ChannelBandwidth','CBW40');

Generate the corresponding HT-LTF.

hltfOut = wlanHTLTF(cfg);
size(hltfOut)
ans = 1×2

   160     1

The cfg parameters result in a 160-sample waveform having only one column corresponding to a single stream transmission.

Generate an oversampled HT-LTF waveform with four transmit antennas and four space-time streams.

Create a wlanHTConfig configuration with MCS index 31, four transmit antennas, and four space-time streams.

cfg = wlanHTConfig('MCS',31,'NumTransmitAntennas',4,'NumSpaceTimeStreams',4)
cfg = 
  wlanHTConfig with properties:

       ChannelBandwidth: 'CBW20'
    NumTransmitAntennas: 4
    NumSpaceTimeStreams: 4
         SpatialMapping: 'Direct'
                    MCS: 31
          GuardInterval: 'Long'
          ChannelCoding: 'BCC'
             PSDULength: 1024
         AggregatedMPDU: 0
     RecommendSmoothing: 1

Specify an oversampling factor and generate the corresponding HT-LTF waveform.

osf = 4;
y = wlanHTLTF(cfg,OversamplingFactor=osf);

Verify that the waveform output consists of four streams (one for each antenna). Because the channel bandwidth is 20 MHz and the waveform is oversampled and has four space-time streams, the waveform has four HT-LTF and 1280 time-domain samples.

size(y)
ans = 1×2

        1280           4

Input Arguments

collapse all

Transmission parameters, specified as a wlanHTConfig object.

Oversampling factor, specified as a scalar greater than or equal to 1. The oversampled cyclic prefix length must be an integer number of samples.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Output Arguments

collapse all

HT-LTF waveform, returned as an (NS × NHTLTF)-by-NT matrix. NS is the number of time domain samples per NHTLTF, where NHTLTF is the number of OFDM symbols in the HT-LTF. NT is the number of transmit antennas.

NS is proportional to the channel bandwidth. Each symbol contains 80 time samples per 20 MHz channel.

ChannelBandwidthNS
'CBW20'80
'CBW40'160

Determination of the number of NHTLTF is described in HT-LTF.

Data Types: double
Complex Number Support: Yes

More About

collapse all

References

[1] IEEE Std 802.11™-2012 IEEE Standard for Information technology — Telecommunications and information exchange between systems — Local and metropolitan area networks — Specific requirements — Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2015b


1 IEEE Std 802.11-2012 Adapted and reprinted with permission from IEEE. Copyright IEEE 2012. All rights reserved.