Main Content

getTRSConfiguration

Valid HE TB PHY configuration in response to triggering frame containing TRS Control subfield

Since R2020a

Description

cfgTRS = getTRSConfiguration(cfgHETB) generates cfgTRS, a valid PHY configuration for the IEEE® 802.11™ high-efficiency trigger-based (HE TB) packet format. The function sets properties of cfgTRS by changing a subset of the properties of input PHY configuration cfgHETB. You can parameterize an HE TB uplink PPDU transmitted in response to a frame containing a triggered response scheduling (TRS) Control subfield by using the cfgTRS output. For a detailed description of the HE WLAN formats, see [1].

example

Examples

collapse all

Configure and generate a WLAN HE TB waveform to be transmitted in response to a frame containing a TRS Control subfield.

Create an HE TB configuration object, specifying the triggering frame type.

cfgHETB = wlanHETBConfig('TriggerMethod','TRS');

Generate a valid configuration by using the getTRSConfiguration object function, displaying the result.

cfgTRS = getTRSConfiguration(cfgHETB)
cfgTRS = 
  wlanHETBConfig with properties:

                FeedbackNDP: 0
              TriggerMethod: 'TRS'
           ChannelBandwidth: 'CBW20'
                     RUSize: 242
                    RUIndex: 1
    PreHEPowerScalingFactor: 1
        NumTransmitAntennas: 1
        NumSpaceTimeStreams: 1
    StartingSpaceTimeStream: 1
             SpatialMapping: 'Direct'
                       STBC: 0
                        MCS: 0
                        DCM: 0
              ChannelCoding: 'BCC'
        PreFECPaddingFactor: 4
             NumDataSymbols: 10
          DefaultPEDuration: 0
              GuardInterval: 3.2000
                  HELTFType: 4
            NumHELTFSymbols: 1
         SingleStreamPilots: 1
                   BSSColor: 0
              SpatialReuse1: 15
              SpatialReuse2: 15
              SpatialReuse3: 15
              SpatialReuse4: 15
               TXOPDuration: 127
                HighDoppler: 0
         HESIGAReservedBits: [9x1 double]
       PostFECPaddingSource: 'mt19937ar with seed'
         PostFECPaddingSeed: 73

Get the PSDU length in bytes and generate a PSDU for transmission.

psduLength = getPSDULength(cfgTRS);
psdu = randi([0 1],8*psduLength,1);

Generate and plot the waveform.

waveform = wlanWaveformGenerator(psdu,cfgTRS);
figure;
plot(abs(waveform));
title('HE TB Waveform');
xlabel('Time (nanoseconds)');
ylabel('Amplitude');

Figure contains an axes object. The axes object with title HE TB Waveform, xlabel Time (nanoseconds), ylabel Amplitude contains an object of type line.

Input Arguments

collapse all

HE TB PHY configuration, specified as a wlanHETBConfig object.

Output Arguments

collapse all

Valid HE TB PHY configuration, returned as a wlanHETBConfig object. The getTRSConfiguration function sets property values such that this object can parameterize an HE TB uplink PPDU in response to a frame containing a TRS Control subfield.

More About

collapse all

PPDU

The physical layer (PHY) protocol data unit (PPDU) is the complete physical layer convergence procedure (PLCP) frame, including PLCP headers, MAC headers, the MAC data field, and the MAC and PLCP trailers.

References

[1] 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 R2020a

See Also

Objects