wlanHtConfig
配置HT传输
Description
这wlanHtConfig
object is a configuration object for the WLAN high throughput (HT) packet format.
Creation
Description
使用一个或多个名称值对设置属性。将每个属性名称包装在引号中。例如,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
ChannelBandwidth
-Channel bandwidth of PPDU transmission
'cbw20'
((default) |'cbw40'
Channel bandwidth of PPDU transmission, specified as one of these values:
'cbw20'
- 20 MHz的频道带宽'cbw40'
– Channel bandwidth of 40 MHz
Data Types:char
|string
numTransmitAntennas
-number of transmit antennas
1
((default) |positive integer
发射天线的数量,指定为正整数。
Data Types:double
PreHTCyclicShifts
-Cyclic shift values of additional transmit antennas
-75
((default) |间隔中的整数[–200,0]|行矢量
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] – the
wlanHtConfig
object uses this cyclic shift value for each of theladditional antennas.A row vector of lengthlof integers in the interval [–200, 0] – the
wlanHtConfig
object uses thekth element as the cyclic shift value for the((k+4)th transmit antenna.笔记
如果将此属性指定为长度大于的行矢量l, 这
wlanHtConfig
object uses only the firstlelements. For example, if you set thenumTransmitAntennas
财产为16
, 这wlanHtConfig
object uses only the firstl=16– 4 = 12该向量的要素。
Dependencies
to enable this property, set thenumTransmitAntennas
财产的价值大于4
。
Data Types:double
numSpaceTimeStreams
-number of space-time streams
1
((default) |2
|3
|4
number of space-time streams in the transmission, specified as1
,,,,2
,,,,3
,,,,或者4
。
Data Types:double
numExtensionStreams
-number of extension spatial streams
0
((default) |1
|2
|3
number of extension spatial streams in the transmission, specified as0
,,,,1
,,,,2
,,,,或者3
。
Data Types:double
空间图
-Spatial mapping scheme
'直接的'
((default) |'Hadamard'
|“傅立叶”
|'风俗'
Spatial mapping scheme, specified as'直接的'
,,,,'Hadamard'
,,,,“傅立叶”
,,,,或者'风俗'
。
Dependencies
默认值,'直接的'
,仅在设置numTransmitAntennas
和numSpaceTimeStreams
properties to the same value. This property must be set to'风俗'
when thenumExtensionStreams
property is greater than zero.
空间映射matrix
-空间映射矩阵
1
((default) |complex-valued scalar|复杂值矩阵|complex-valued 3-D array
空间映射矩阵,指定为以下值之一:
一个复杂值的标量。此值适用于所有子载波。
大小的复杂值矩阵(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 the
ChannelBandwidth
setting 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
MCS
-MCSused for transmission
0
((default) |间隔[0,31]中的整数
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 | 编码率 |
---|---|---|
|
二进制移相键合(BPSK) | 1/2 |
|
Quadrature phase-shift keying (QPSK) | 1/2 |
|
qpsk | 3/4 |
|
16点正交振幅调制(16-QAM) | 3/4 |
|
16-QAM | 3/4 |
|
64-QAM | 2/3 |
|
64-QAM | 3/4 |
|
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
GuardInterval
-Guard interval (cyclic prefix) duration
'Long'
((default) |'短的'
数据包中数据字段的后卫间隔(循环前缀)持续时间,指定为以下值之一:
'Long'
- 警卫间隔持续时间为800 ns'短的'
– Guard interval duration of 400 ns
Data Types:char
|string
ChannelCoding
-FEC coding type
'BCC'
((default) |'LDPC'
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
psdulength
-PSDU长度
1024
((default) |间隔[0,216– 1]
物理层收敛过程(PLCP)服务数据单元(PSDU)长度,字节,在间隔[0,2中指定为整数16- 1]。要指示一个没有可恢复的数据位的发声数据包,请将此属性设置为0
。
Data Types:double
聚合
-MPDU聚合指标
错误的
或者0
((default) |真的
或者1
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:逻辑
RecommendSmoothing
-Recommend smoothing for channel estimation
真的
或者1
((default) |错误的
或者0
建议平滑以进行通道估计,指定为数字或逻辑1
((真的
) 或者0
((错误的
)。
If the frequency profile does not vary across the channel, the receiver sets this property to
1
((真的
)。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 to
0
((错误的
)。在这种情况下,不建议将频域平滑作为通道估计的一部分。
Data Types:逻辑
Examples
Create HT Configuration Object with Default Settings
创建一个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
创建wlanhtconfig对象
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
更多关于
PPDU
这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.11-2020(IEEE STD 802.11-2016的修订版)。“第11部分:无线LAN中型访问控制(MAC)和物理层(PHY)规格。”IEEE信息技术标准 - 系统之间的电信和信息交换。本地和都会区网络 - 特定要求。
Extended Capabilities
C/C++ Code Generation
使用MATLAB®CODER™生成C和C ++代码。
版本历史记录
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
选择一个网站
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:。
您还可以从以下列表中选择一个网站:
How to Get Best Site Performance
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
美洲
- América Latina(Español)
- 加拿大((英语)
- 美国((英语)
欧洲
- netherlands((英语)
- 挪威((英语)
- Österreich(德意志)
- 葡萄牙((英语)
- Sweden((英语)
- 瑞士
- United Kingdom((英语)