Create non-HT-format configuration object


The wlanNonHTConfig object is a non-high-throughput-format (non-HT-format) configuration object for the WLAN non-HT packet format.




cfgNonHT = wlanNonHTConfig creates a configuration object that initializes parameters for an IEEE® 802.11™ non-HT-format PPDU.


cfgNonHT = wlanNonHTConfig(Name,Value) sets properties using one or more name-value pairs. Enclose each property name in quotation marks. For example, wlanNonHTConfig('Modulation','DSSS') specifies the modulation type as direct-sequence spread spectrum (DSSS).

At runtime, the calling function validates object settings for properties relevant to the operation of the function.


expand all

Modulation type for the non-HT transmission, specified as 'OFDM' for orthogonal frequency division multiplexing (OFDM) or 'DSSS' for direct-sequence spread spectrum (DSSS).

Data Types: char | string

Channel bandwidth of PPDU transmission, specified as one of these values:

  • 'CBW5' – Channel bandwidth of 5 MHz

  • 'CBW10' – Channel bandwidth of 10 MHz

  • 'CBW20' – Channel bandwidth of 20 MHz

Data Types: char | string

OFDM MCS used for transmission, specified as an integer in the interval [0, 7]. This table shows the modulation type and coding rate for each valid value of MCS:

MCSModulationCoding RateCoded Bits Per Subcarrier Coded Bits Per OFDM SymbolData Bits Per OFDM SymbolData Rate in Mbps
5-MHz Channel Bandwidth10-MHz Channel Bandwidth20-MHz Channel Bandwidth
0Binary phase-shift keying (BPSK)1/2148241.536
2quadrature phase-shift keying (QPSK)1/2296483612
416-point quadrature amplitude modulation (16-QAM)1/241929661224

For more information, see Table 18-4 of [1].

Data Types: double

Data rate for DSSS modulation, specified as a one of these values:

  • '1Mbps' – Differential binary phase-shift keying (DBPSK) with a data rate of 1 Mbps

  • '2Mbps' – Differential quadrature phase-shift keying (DQPSK) with a data rate of 2 Mbps

  • '5.5Mbps' – Complementary code keying (CCK) with a data rate of 5.5 Mbps

  • '11Mbps' – CCK with a data rate of 11 Mbps

Data Types: char | string

DSSS modulation preamble type, specified as 'Long' or 'Short'.


The 'Short' value of this property does not apply when you set the DataRate property to '1Mbps'.

Data Types: char | string

Clock locking indicator for DSSS modulation, specified as a numeric or logical value of 1 (true) or 0 (false). This property corresponds to the locked clocks bit (bit b2) of the SERVICE field as specified in Section of [1]. To indicate that the physical layer (PHY) implementation derives its transmit frequency clock and symbol clock from the same oscillator, set this property to 1 (true). For more information, see Sections and 19.1.3 of [1].


Section of [1] specifies that the locked clocks bit must be 1 for all extended rate PHY (ERP) systems when transmitting at any of these rates:

  • An optional ERP-packet binary convolutional coding (ERP-PBCC) rate

  • A data rate described in Section 17 of [1]

Therefore, to model ERP systems, you must set this property to 1 (true).

Data Types: logical

Physical layer convergence procedure (PLCP) service data unit (PSDU) length, in bytes, specified as an integer in the interval [0, 4095].

Data Types: double

Number of transmit antennas, specified as an integer in the interval [1, 8].


This property applies only when you set the ChannelBandwidth property to 'CBW20'.

Data Types: double


collapse all

Create a wlanNonHTConfig object for OFDM operation for a PSDU length of 2048 bytes.

cfgNHT = wlanNonHTConfig('Modulation','OFDM');
cfgNHT.PSDULength = 2048;
cfgNHT = 
  wlanNonHTConfig with properties:

             Modulation: 'OFDM'
       ChannelBandwidth: 'CBW20'
                    MCS: 0
             PSDULength: 2048
    NumTransmitAntennas: 1

Create a wlanNonHTConfig object for DSSS operation for a PSDU length of 2048 bytes.

cfgNHT = wlanNonHTConfig('Modulation','DSSS','PSDULength',2048)
cfgNHT = 
  wlanNonHTConfig with properties:

      Modulation: 'DSSS'
        DataRate: '1Mbps'
    LockedClocks: 1
      PSDULength: 2048

More About

expand all


[1] IEEE Std 802.11ad™-2012. "Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications — Amendment 3: Enhancements for Very High Throughput in the 60 GHz Band." 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 R2015b

[1] IEEE Std 802.11-2012 Adapted and reprinted with permission from IEEE. Copyright IEEE 2012. All rights reserved.