wlanHESIGABitRecover

Recover information bits in HE-SIG-A field

Syntax

[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst)
[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst,csi)

Description

example

[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst) recovers information bits, bits, for high-efficiency signal-A (HE-SIG-A) field siga and channel noise variance estimate noiseVarEst. The function also returns failCRC, the result of the cyclic redundancy check (CRC) on bits.

example

[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst,csi) recovers information bits for channel state information csi.

Examples

collapse all

Recover the information bits in the HE-SIG-A field of a WLAN HE single-user (HE-SU) waveform.

Create a WLAN HE-SU-format configuration object with default settings and use it to generate an HE-SU waveform.

cfgHE = wlanHESUConfig;
cbw = cfgHE.ChannelBandwidth;
waveform = wlanWaveformGenerator(1,cfgHE);

Obtain the WLAN field indices, which contain the HE-SIG-A field.

ind = wlanFieldIndices(cfgHE);
rxSIGA = waveform(ind.HESIGA(1):ind.HESIGA(2),:);

Perform orthogonal frequency-division multiplexing (OFDM) demodulation to extract the HE-SIG-A field.

sigaDemod = wlanHEDemodulate(rxSIGA,'HE-SIG-A',cbw);

Return the pre-HE OFDM information and extract the demodulated HE-SIG-A symbols.

preHEInfo = wlanHEOFDMInfo('HE-SIG-A',cbw);
siga = sigaDemod(preHEInfo.DataIndices,:);

Recover the HE-SIG-A information bits and other information, assuming no channel noise. Display the parity check result.

noiseVarEst = 0;
[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst);
disp(failCRC);
   0

Recover the information bits in the HE-SIG-A field of a WLAN HE multiuser (HE-MU) waveform with specified channel state information.

Create a WLAN HE-MU-format configuration object with default settings and use it to generate an HE-MU waveform.

cfgHE = wlanHEMUConfig(0);
cbw = cfgHE.ChannelBandwidth;
waveform = wlanWaveformGenerator(1,cfgHE);

Obtain the WLAN field indices, which contain the modulated HE-SIG-A symbols.

ind = wlanFieldIndices(cfgHE);
rxSIGA = waveform(ind.HESIGA(1):ind.HESIGA(2),:);

Perform OFDM demodulation to extract the HE-SIG-A field.

sigaDemod = wlanHEDemodulate(rxSIGA,'HE-SIG-A',cbw);

Return the pre-HE OFDM information and extract the demodulated HE-SIG-A symbols.

preHEInfo = wlanHEOFDMInfo('HE-SIG-A',cbw);
siga = sigaDemod(preHEInfo.DataIndices,:);

Specify the channel state information and assume no channel noise.

csi = ones(52,1);
noiseVarEst = 0;

Recover the HE-SIG-A information bits and other information. Display the CRC result.

[bits,failCRC] = wlanHESIGABitRecover(siga,noiseVarEst,csi);
disp(failCRC);
   0

Input Arguments

collapse all

Demodulated HE-SIG-A symbols, specified as a complex-valued matrix. The size of siga depends on the packet format. For a high-efficiency single-user (HE-SU) or high-efficiency multiuser (HE-MU) format, specify siga as a 52-by-2 matrix. For a high-efficiency extended single-user (HE-EXT-SU) format, specify siga as a 52-by-4 matrix.

Data Types: double
Complex Number Support: Yes

Channel noise variance estimate, specified as a nonnegative scalar.

Data Types: double

Channel state information, specified as a 52-by-1 real-valued column vector. To use the channel state information for enhanced demapping of the orthogonal frequency-division multiplexing (OFDM) symbols, specify csi.

Data Types: double

Output Arguments

collapse all

Information bits recovered from HE-SIG-A field, returned as a 52-by-1 binary column vector.

Data Types: int8

CRC result, returned as a logical value of 1 (true) or 0 (false). The function returns failCRC as 1 if the recovered bits fail the CRC.

Data Types: logical

References

[1] 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 P802.11ax™/D3.1 “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. Amendment 6: Enhancements for High Efficiency WLAN." Draft 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™.

Introduced in R2019a