Main Content

wlanStreamDeparse

Stream-deparse spatial streams

Description

example

y = wlanStreamDeparse(bits,numES,numCBPS,numBPSCS) stream-deparses spatial streams bits for the specified number of encoded streams, numES, coded bits per OFDM symbol, numCBPS, and coded bits per subcarrier per spatial stream, numBPSCS. The function implements the inverse of the stream-parsing operation defined in sections 19.3.11.8.2 and 21.3.10.6 of [1] and section 27.3.12.6 of [2].

Examples

collapse all

Stream-deparse five OFDM symbols with two spatial streams into one encoded stream.

Specify the number of coded bits per OFDM symbol, coded bits per subcarrier per spatial stream, encoded streams, spatial streams, and OFDM symbols.

numCBPS = 432;
numBPSCS = 2;
numES = 1;
numSS = 2;
numSym = 5;

Create a parsed input of hard bits.

bits = randi([0 1],numCBPS/numSS*numSym,numSS);

Stream-deparse the bits.

y = wlanStreamDeparse(bits,numES,numCBPS,numBPSCS);

Input Arguments

collapse all

Spatial streams, specified as a real-valued matrix of size (NCBPSS × NSym)-by-NSS.

  • NCBPSS is the number of coded bits per OFDM symbol per spatial stream.

  • NSym is the number of OFDM symbols.

  • NSS is the number of spatial streams.

Data Types: single | double

Number of encoded streams, specified as a positive integer.

Data Types: double

Number of coded bits per OFDM symbol, specified as a positive integer. This value is typically NBPSCS × NSS × NSD, where:

  • NBPSCS is the number of coded bits per subcarrier per spatial stream (that is, the numBPSCS input).

  • NSS is the number of spatial streams.

  • NSD is the number of complex data numbers per frequency segment.

Data Types: double

Number of coded bits per subcarrier per spatial stream, specified as 1 or a positive even integer.

Data Types: double

Output Arguments

collapse all

Stream-deparsed data, returned as a matrix of size (NCBPS × NSym ÷ NES)-by-NES.

  • NCBPS is the number of coded bits per OFDM symbol (that is, the numCBPS input).

  • NSym is the number of OFDM symbols.

  • NES is the number of encoded streams.

The function returns this output with the same data type as the bits input.

Data Types: single | double

References

[1] IEEE Std 802.11™-2020 (Revision of IEEE Std 802.11-2016). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.” IEEE Standard for Information Technology — Telecommunications and Information Exchange between Systems — Local and Metropolitan Area Networks — Specific Requirements.

[2] IEEE® Std 802.11ax™-2021 (Amendment to IEEE Std 802.11-2020). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. Amendment 1: Enhancements for High Efficiency WLAN.” IEEE Standard for Information Technology — Telecommunications and Information Exchange between Systems. Local and Metropolitan Area Networks — Specific Requirements.

Extended Capabilities

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

Version History

Introduced in R2017b