Main Content

wlanLSTF

Generate L-STF waveform

Description

y = wlanLSTF(cfg) generates an L-STF1 time-domain waveform using the specified transmission parameters.

example

y = wlanLSTF(cfg,OversamplingFactor=osf) generates an L-STF waveform for the specified oversampling factor. For more information about oversampling, see FFT-Based Oversampling.

Examples

collapse all

Generate the L-STF waveform for a 40 MHz single antenna VHT packet.

Create a VHT configuration object. Use this object to generate the L-STF waveform.

cfgVHT = wlanVHTConfig('ChannelBandwidth','CBW40');
y = wlanLSTF(cfgVHT);
size(y)
ans = 1×2

   320     1

plot(abs(y))
xlabel('Samples')
ylabel('Amplitude')

Figure contains an axes object. The axes object with xlabel Samples, ylabel Amplitude contains an object of type line.

The output L-STF waveform contains 320 samples for a 40 MHz channel bandwidth.

Input Arguments

collapse all

Transmission parameters, specified as a wlanVHTConfig, wlanHTConfig, or wlanNonHTConfig object.

Example: wlanVHTConfig

Oversampling factor, specified as a scalar greater than or equal to 1. The oversampled cyclic prefix length must be an integer number of samples. The resultant inverse fast Fourier transform (IFFT) length must be even.

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

Output Arguments

collapse all

(L-STF) time-domain waveform, returned as an NS-by-NT matrix. NS is the number of time-domain samples, and NT is the number of transmit antennas.

NS is proportional to the channel bandwidth. The time-domain waveform consists of two symbols.

ChannelBandwidthNS
'CBW5', 'CBW10', 'CBW20'160
'CBW40'320
'CBW80'640
'CBW160'1280
'CBW320'2560

Data Types: double
Complex Number Support: Yes

More About

collapse all

Algorithms

collapse all

References

[1] IEEE Std 802.11ac™-2013 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 — Amendment 4: Enhancements for Very High Throughput for Operation in Bands below 6 GHz.

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.