Generate non-HT-Data field waveform
Generate the waveform for a 20MHz non-HT-Data field for 36 Mbps.
Create a non-HT configuration object and assign
MCS to 5.
cfg = wlanNonHTConfig('MCS',5);
Assign random data to the PSDU and generate the data field waveform.
psdu = randi([0 1],cfg.PSDULength*8,1); y = wlanNonHTData(psdu,cfg); size(y)
ans = 1×2 4480 1
cfg— Format configuration
Format configuration, specified as a
wlanNonHTData function uses the
wlanNonHTConfig object properties associated
'OFDM' setting for
y— Non-HT-Data field time-domain waveform
Non-HT-Data field 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.
Physical layer convergence procedure (PLCP) service data unit (PSDU). This field is composed of a variable number of octets. The minimum is 0 (zero) and the maximum is 2500. For more information, see IEEE Std 802.11™-2012, Section 220.127.116.11.
The non-high throughput data (non-HT data) field is used to transmit MAC frames and is composed of a service field, a PSDU, tail bits, and pad bits.
Service field — Contains 16 zeros to initialize the data scrambler.
PSDU — Variable-length field containing the PLCP service data unit (PSDU).
Tail — Tail bits required to terminate a convolutional code. The field uses six zeros for the single encoding stream.
Pad Bits — Variable-length field required to ensure that the non-HT data field contains an integer number of symbols.
The non-HT-Data field follows the L-SIG in the packet structure.
For algorithm details, refer to IEEE Std 802.11-2012 , Section 18.3.5.
The non-HT-Data field includes
the user payload in the PSDU plus 16 service bits,
6 tail bits, and additional padding bits as required to fill out the
last OFDM symbol. The
performs transmitter processing on the non-HT-Data field and outputs the time-domain waveform.
 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.
 IEEE Std 802.11-2012 Adapted and reprinted with permission from IEEE. Copyright IEEE 2012. All rights reserved.