Main Content

wlanHtConfig

配置HT传输

Description

wlanHtConfigobject is a configuration object for the WLAN high throughput (HT) packet format.

Creation

Description

例子

cfght= wlanhtconfig创建一个配置对象,该对象初始化IEEE参数®802。11™ HTPPDU

例子

cfght= wlanhtconfig((名称,价值使用一个或多个名称值对设置属性。将每个属性名称包装在引号中。例如,wlanhtconfig('GuardInterval','Short')specifies a 400 nanosecond guard interval (cyclic prefix) duration.

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

Properties

expand all

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

  • 'cbw20'- 20 MHz的频道带宽

  • 'cbw40'– Channel bandwidth of 40 MHz

Data Types:char|string

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

Data Types:double

Cyclic shift values, in nanoseconds, of additional transmit antennas for the pre-HT fields of the waveform. The first four antennas use the cyclic shift values specified in Table 19-9 of[1]。这remaininglantennas use the values you specify in this property, wherel=numTransmitAntennas– 4。Specify this property as one of these values:

  • An integer in the interval [–200, 0] – thewlanHtConfigobject uses this cyclic shift value for each of theladditional antennas.

  • A row vector of lengthlof integers in the interval [–200, 0] – thewlanHtConfigobject uses thekth element as the cyclic shift value for the((k+4)th transmit antenna.

    笔记

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

Dependencies

to enable this property, set thenumTransmitAntennas财产的价值大于4

Data Types:double

number of space-time streams in the transmission, specified as1,,,,2,,,,3,,,,或者4

Data Types:double

number of extension spatial streams in the transmission, specified as0,,,,1,,,,2,,,,或者3

Data Types:double

Spatial mapping scheme, specified as'直接的',,,,'Hadamard',,,,“傅立叶”,,,,或者'风俗'

Dependencies

默认值,'直接的',仅在设置numTransmitAntennasnumSpaceTimeStreamsproperties to the same value. This property must be set to'风俗'when thenumExtensionStreamsproperty is greater than zero.

空间映射矩阵,指定为以下值之一:

  • 一个复杂值的标量。此值适用于所有子载波。

  • 大小的复杂值矩阵(nSTS+nESS)-by-nt,,,,where:

    • nSTS是时空流的数量;

    • nESSis the number of extension spatial streams;

    • nt是发射天线的数量。

    In this case, the spatial mapping matrix applies to all the subcarriers.

  • A complex-valued 3-D array of sizenST-by-(nSTS+nESS)-经过-nt,,,,wherenST是被占领的副载波的数量。值啊fnST是被占用数据和试点子载体的总和。这ChannelBandwidth属性确定的值nST。In this case, each occupied subcarrier has its own spatial mapping matrix.

    this table shows theChannelBandwidthsetting and the correspondingnST

    ChannelBandwidth number of Occupied Subcarriers,nST 数字副载波的数据 number of Pilot Subcarriers
    'cbw20' 56 52 4
    'cbw40' 114 108 6

使用此属性旋转和扩展星座映射器的输出向量。空间映射矩阵用于在发射天线上进行波束形成和混合时空流。有关更多信息,请参见第19.3.11.11.2节[1]。调用功能使每个子载波的空间映射矩阵归一化。

Example:[0.5 0.3; 0.4 0.4; 0.5 0.8]represents a spatial mapping matrix with three space-time streams and two transmit antennas.

Dependencies

this property applies only when you set the空间图财产为'风俗'

Data Types:double
复杂的数字支持:金宝appYes

Modulation and coding scheme (MCS) used for transmission, specified as an integer in the interval [0, 31]. Each value of this property corresponds to a modulation type and coding rate in accordance with this table.

MCS Modulation 编码率

0,,,,8,,,,16,,,,或者24

二进制移相键合(BPSK) 1/2

1,,,,9,,,,17,,,,或者25

Quadrature phase-shift keying (QPSK) 1/2

2,,,,10,,,,18,,,,或者26

qpsk 3/4

3,,,,11,,,,19,,,,或者27

16点正交振幅调制(16-QAM) 3/4

4,,,,12,,,,20,,,,或者28

16-QAM 3/4

5,,,,13,,,,21,,,,或者29

64-QAM 2/3

6,,,,14,,,,22,,,,或者30

64-QAM 3/4

7,,,,15,,,,23,,,,或者31

64-QAM 5/6

Values of this property in the interval [0, 7] specify one spatial stream. Values in the interval [8, 15] specify two spatial streams. Values in the interval [16, 23] specify three spatial streams. Values in the interval [24, 31] specify four spatial streams.

For more information on MCS-dependent transmission parameters, see Section 19.5 of[1]。If the number of space-time streams is equal to the number of spatial streams, no space-time block coding (STBC) is applied to the HT-Data field. For a description of STBC, see Section 19.3.11.9.2 of[1]

Example:一个值22指定具有三个空间流,64-QAM和¾的编码速率的MC。

Data Types:double

数据包中数据字段的后卫间隔(循环前缀)持续时间,指定为以下值之一:

  • 'Long'- 警卫间隔持续时间为800 ns

  • '短的'– Guard interval duration of 400 ns

Data Types:char|string

Forward-error-correction (FEC) coding type for the HT-Data field, specified as'BCC'用于二进制卷积编码(BCC)或'LDPC'for low-density parity-check (LDPC) coding.

Data Types:char|string

物理层收敛过程(PLCP)服务数据单元(PSDU)长度,字节,在间隔[0,2中指定为整数16- 1]。要指示一个没有可恢复的数据位的发声数据包,请将此属性设置为0

Data Types:double

MAC protocol data unit (MPDU) aggregation indicator, specified as a numeric or logical1((真的) 或者0((错误的)。to specify that the generated packet uses MPDU aggregation, set this property to1((真的)。

Dependencies

设置该属性时,此属性不适用MCS财产为0

Data Types:逻辑

建议平滑以进行通道估计,指定为数字或逻辑1((真的) 或者0((错误的)。

  • If the frequency profile does not vary across the channel, the receiver sets this property to1((真的)。In this case, frequency-domain smoothing is recommended as part of channel estimation.

  • If the frequency profile varies across the channel, the receiver sets this property to0((错误的)。在这种情况下,不建议将频域平滑作为通道估计的一部分。

Data Types:逻辑

Examples

全部收缩

创建一个HT配置对象。创建对象后,更新了传输天线和时空流的数量。

cfght = wlanhtconfig
cfght = wlanhtconfig具有属性:channelbandwidth:'cbw20'num Transmitantennas:1 numspacetimestreams:1个空间映射:'Direct'MCS:0 GuardInterval:'long'long'Channel coding:'bcc'psdulength:bcc'psdulength:1024聚集:1024聚集:0推荐:0推荐:1 1.1 1 1

将天线的数量更新为两个,并将时空流的数量更新为四个。

cfght.numtransmitantennas = 2;cfght.numspacetimestreams = 4
cfght = wlanhtconfigwith properties: ChannelBandwidth: 'CBW20' NumTransmitAntennas: 2 NumSpaceTimeStreams: 4 SpatialMapping: 'Direct' MCS: 0 GuardInterval: 'Long' ChannelCoding: 'BCC' PSDULength: 1024 AggregatedMPDU: 0 RecommendSmoothing: 1

Create awlanHtConfig对象的PSDU长度为2048字节,并使用BCC转发误差校正。

cfght = wlanhtconfig((“ psdulength”,,,,2048); cfgHT.ChannelBandwidth ='cbw20'
cfght = wlanhtconfigwith properties: ChannelBandwidth: 'CBW20' NumTransmitAntennas: 1 NumSpaceTimeStreams: 1 SpatialMapping: 'Direct' MCS: 0 GuardInterval: 'Long' ChannelCoding: 'BCC' PSDULength: 2048 AggregatedMPDU: 0 RecommendSmoothing: 1

更多关于

expand all

References

[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 ++代码。

版本历史记录

在R2015B中引入