主要内容

wlannonhtconfig

Configure non-HT transmission

Description

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

Creation

Description

cfgNonHT= wlannonhtconfigcreates a configuration object that initializes parameters for an IEEE®802。11™ non-HTPPDU

例子

cfgNonHT= wlannonhtconfig((名称,价值设置使用一个或多个属性名称-值对。Enclose each property name in quotation marks. For example,wlannonhtconfig(('调制',,,,“ DSSS”)specifies the modulation type as direct-sequence spread spectrum (DSSS).

在运行时,调用函数验证了与该函数操作相关的属性的对象设置。

Properties

expand all

非HT传输的调制类型,指定为'ofdm'用于正交频施工多路复用(OFDM)或“ DSSS”对于直接序列扩散频谱(DSSS)。

Data Types:char|string

PPDU传输的通道带宽,指定为这些值之一。

  • 'CBW5'-Channel bandwidth of 5 MHz

  • 'cbw10'- 频道带宽10 MHz

  • 'cbw20'- 频道带宽20 MHz

  • 'cbw40'- 非HT重复的通道带宽40 MHz

  • 'cbw80'-Channel bandwidth of 80 MHz for non-HT duplicate

  • 'cbw160'-Channel bandwidth of 160 MHz for non-HT duplicate

Data Types:char|string

Indicate inactive 20 MHz subchannels in a non-HT duplicate packet, specified as a numeric or logical0((错误的)或至少一个元素设置为0((错误的)。指定向量时,元素按照绝对频率的顺序对应于亚通道。每个元素指示相应的20 MHz亚通道是否不活跃。要指示无活动的20 MHz亚渠道,请将相应元素设置为1((真的)。If you set this property to0((错误的), 这wlannonhtconfig对象将该值应用于所有20个MHz子渠道,表明所有亚渠道都是活动的。

例子:[0 0 0 1]指示非HT重复数据包,以使最高绝对频率值的子通道不活动。

Dependencies

要启用此属性,请设置ChannelBandwidth财产为either'cbw80'or'cbw160'

Data Types:逻辑

OFDM MC用于传输,在间隔[0,7]中指定为整数。该表显示了每个有效值的调制类型和编码率MCS

的价值MCS Modulation 编码率 Coded Bits Per Subcarrier 每个OFDM符号编码位 Data Bits Per OFDM Symbol Data Rate in Mbps
5-MHz频道带宽 10-MHz Channel Bandwidth 20 MHz频道带宽
0 二进制移相键合(BPSK) 1/2 1 48 24 1.5 3 6
1 BPSK 3/4 1 48 36 2.25 4.5 9
2 quadrature phase-shift keying (QPSK) 1/2 2 96 48 3 6 12
3 qpsk 3/4 2 96 72 4.5 9 18
4 16点正交振幅调制(16-QAM) 1/2 4 192 96 6 12 24
5 16-QAM 3/4 4 192 144 9 18 36
6 64-qam 2/3 6 288 192 12 24 48
7 64-qam 3/4 6 288 216 13.5 27 54

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

Data Types:double

DSS调制的数据速率,指定为以下值之一:

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

  • '2Mbps'- 数据速率为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'长'or'短的'

Dependencies

'短的'设置此属性的价值不适用数据速率财产为'1Mbps'

Data Types:char|string

DSS调制的时钟锁定指示器,,,,specified as a numeric or logical1((真的) 或者0((错误的)。此属性对应于锁定的时钟位(位B2)服务如第16.2.3.5节中指定的字段[1]。to indicate that the physical layer (PHY) implementation derives its transmit frequency clock and symbol clock from the same oscillator, set this property to1((真的)。有关更多信息,请参见第16.2.3.5和18.1.3节[1]

笔记

Section 18.3.2.2 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

  • 第16节中描述的数据速率[1]

这refore, to model ERP systems, you must set this property to1((真的)。

Data Types:逻辑

物理层收敛过程(PLCP)服务数据单元(PSDU)长度,字节,在间隔[0,4095]中指定为整数。

Data Types:double

发射天线的数量,指定为正整数。

Dependencies

要启用此属性,请设置ChannelBandwidth财产为'cbw20'

Data Types:double

纳秒中的循环移位值附加了额外的传输天线。前八个天线使用表21-10中指定的循环偏移值[1]。剩余的lantennas use the values you specify in this property, wherel=numTransmitAntennas– 8。Specify this property as one of these values:

  • An integer in the interval [–200, 0] – thewlannonhtconfig对象为每个循环移动值ladditional antennas.

  • 长度的行矢量l间隔中的整数[–200,0] -wlannonhtconfig对象使用kth element as the cyclic shift value for the((k+8)th transmit antenna.

    笔记

    如果将此属性指定为长度大于的行矢量l, 这wlannonhtconfigobject uses only the firstlelements. For example, if you set thenumTransmitAntennas财产为16, 这wlannonhtconfigobject uses only the firstl= 16 - 8 = 8该向量的要素。

Dependencies

要启用此属性,请设置numTransmitAntennas财产的价值大于8

Data Types:double

Signal channel bandwidth in the scrambler sequence, specified as a numeric or logical1((真的) 或者0((错误的)。要向通道带宽发出信号,请将此属性设置为1((真的)。否则,将此属性设置为0((错误的)。有关更多信息,请参见第17.3.5.5节[1]

Dependencies

要启用此属性,请设置Modulation财产为'ofdm'

Data Types:逻辑

Signal bandwidth operation in the scrambler sequence, specified as one of these values.

  • 'Absent'-Disable bandwidth operation signaling

  • '静止的'- 信号静态带宽操作

  • '动态的'- 信号动态带宽操作

有关更多信息,请参见第17.3.5.5节[1]

Data Types:char|string

对象功能

Scramblerrange Get scrambler initialization range

Examples

全部收缩

通过创建一个配置传输参数wlannonhtconfigobject, specifying a channel bandwidth of 80 MHz and static bandwidth operation.

cfg = wlannonhtconfig('ChannelBandwidth',,,,'cbw80',,,,'SignalChannelBandwidth',,,,真的,,,,。。。'BandwidthOperation',,,,'静止的');

生成适当长度的随机PSDU。

psdu = randi([0 1],8*cfg.psdulength,1,'int8');

生成初始伪随机扰动序列。

[范围,numbits] = scramblerrange(cfg);scraminit = randi(range);

生成非HT数据字段信号。

y = wlanNonHTData(psdu,cfg,scramInit);

Create awlannonhtconfigobject for DSSS operation for a PSDU length of 2048 bytes.

cfgnht = wlannonhtconfig('调制',,,,“ DSSS”,,,,“ psdulength”,2048)
cfgNHT = wlanNonHTConfig with properties: Modulation: 'DSSS' DataRate: '1Mbps' LockedClocks: 1 PSDULength: 2048

更多关于

expand all

参考

[1] IEEE STD 802.11-2020(IEEE STD 802.11-2016的修订版)。“第11部分:无线LAN中型访问控制(MAC)和物理层(PHY)规格。”IEEE信息技术标准 - 系统之间的电信和信息交换。本地和都会区网络 - 特定要求。

Extended Capabilities

C/C++ Code Generation
使用MATLAB®CODER™生成C和C ++代码。

版本历史记录

Introduced in R2015b

1IEEE STD 802.11-2016经IEEE许可改编并重印。版权IEEE2016。保留所有权利。