Main Content

getTRSConfiguration

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

Description

example

cfgTRS= getTRSConfiguration(cfgHETB)generatescfgTRS, a valid PHY configuration for the IEEE®802.11™ high-efficiency trigger-based (HE TB) packet format. The function sets properties ofcfgTRS通过更改输入PHY配置的属性子集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 thecfgTRSoutput. For a detailed description of the HE WLAN formats, see[1].

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 thegetTRSConfigurationobject 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频道编码:“ bcc” prefecpaddingFactor:4 numDatasymbols:10默认过程:0 GuardInterval:3.2000 HeltfType:4 numHeltfSymbols:1 SingleSteramPilots:1 BSSCOLOT:1 BSSCOLOR:1 BSSCOLOR:1 BSSCOLOR:0 SPATIALREUSE1:0 SpatialReuse1:15 Spatialreuse2:15 Spatialig oferique2:15 Hessre:15 spatialreuse3:15 spatialreuse 3:[9x1 double] Postfecpaddingsource:'MT19937AR与种子'Postfecpaddinged: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');

图包含一个轴对象。带有标题的轴对象TB波形包含类型线的对象。

Input Arguments

collapse all

HE TB PHY configuration, specified as awlanHETBConfig目的。

Output Arguments

collapse all

Valid HE TB PHY configuration, returned as awlanHETBConfig目的。ThegetTRSConfigurationfunction 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.

参考

[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™.

版本历史

Introduced in R2020a

See Also

Objects