wlanVHTConfig
配置VHT传输
描述
ThewlanVHTConfig
object is a configuration object for the WLAN very high throughput (VHT) packet format.
Creation
描述
creates a configuration object that initializes parameters for an IEEE®802.11™ VHTPPDU。cfgVHT
= wlanVHTConfig
sets properties using one or more name-value pairs. Enclose each property name in quotation marks. For example,cfgVHT
= wlanvhtconfig(名称,值)wlanVHTConfig('GuardInterval','Short')
specifies a 400-nanosecond guard interval (cyclic prefix) duration.
在运行时,调用函数验证了与该函数操作相关的属性的对象设置。
Properties
ChannelBandwidth
—PPDU传输的频道带宽
'CBW80'
(default) |'CBW20'
|'CBW40'
|'CBW160'
PPDU传输的通道带宽,指定为以下值之一:
'CBW20'
– Channel bandwidth of 20 MHz'CBW40'
- 40 MHz的频道带宽'CBW80'
– Channel bandwidth of 80 MHz'CBW160'
- 160 MHz的频道带宽
数据类型:char
|string
NumUsers
—用户数
1
(default) |2
|3
|4
用户数, specified as1
,2
,3
, or4
。
数据类型:双倍的
UserPositions
—用户位置
[0 1]
(default) |向量的整数
用户位置,指定为1乘NumUsers
向量的整数in the interval [0, 3] in strictly increasing order.
例子:[0 2 3]
specifies the positions for three users. The first user occupies position 0, the second user occupies position 2, and the third user occupies position 3.
Dependencies
仅当您指定NumUsers
property as a value greater than1
。
数据类型:双倍的
Num Transmitantennas
—发射天线的数量
1
(default) |positive integer
发射天线的数量, specified as a positive integer.
数据类型:双倍的
prevhtcyclicshifts
—Cyclic shift values of additional transmit antennas
-75
(default) |integer in the interval [–200, 0]|row vector
纳米秒中的循环移位值,用于波形前VHT场的附加传输天线。前八个天线使用表21-10中指定的循环偏移值[1]。剩余的L天线使用您在此属性中指定的值,其中L=Num Transmitantennas
- 8。将此属性指定为以下值之一:
间隔[–200,0]中的整数 -
wlanVHTConfig
对象为每个循环移动值Ladditional antennas.长度的行矢量L间隔中的整数[–200,0] -
wlanVHTConfig
对象使用kth element as the cyclic shift value for the(k+ 8)TH传输天线。Note
If you specify this property as a row vector of length greater thanL,
wlanVHTConfig
object uses only the firstLelements. For example, if you set theNum Transmitantennas
property to16
,wlanVHTConfig
object uses only the firstL= 16 - 8 = 8elements of this vector.
Dependencies
要启用此属性,请设置Num Transmitantennas
property to a value greater than8
。
数据类型:双倍的
numspacetimestreams
—Number of space-time streams
1
(default) |integer in the interval [1, 8]|向量的整数in the interval [1, 4]
SpatialMapping
—Spatial mapping scheme
'Direct'
(default) |'Hadamard'
|'Fourier'
|'Custom'
空间映射方案,指定为'Direct'
,'Hadamard'
,'Fourier'
, or'Custom'
。
Dependencies
The default value,'Direct'
, applies only when you set theNum Transmitantennas
andnumspacetimestreams
属性为相同的值。
数据类型:char
|string
SpatialMappingMatrix
—Spatial mapping matrix
1
(default) |complex-valued scalar|complex-valued matrix|complex-valued 3-D array
Spatial mapping matrix, specified as one of these values:
A complex-valued scalar. This value applies to all the subcarriers.
A complex-valued matrix of sizeNSTS-经过-NT, 在哪里:
NSTSis the number of space-time streams;
NTis the number of transmit antennas.
在这种情况下,空间映射矩阵适用于所有子载波。
A complex-valued 3-D array of sizeNST-经过-NSTS-经过-NT, 在哪里NSTis the number of occupied subcarriers. The value ofNSTis the number of occupied subcarriers. The
ChannelBandwidth
property determines the value ofNST。在这种情况下,每个被占领的子载波都有自己的空间映射矩阵。This table shows the
ChannelBandwidth
设置和相应的NST:ChannelBandwidth
Number of Occupied Subcarriers,NST 数据子载波的数量 Number of Pilot Subcarriers 'CBW20'
56 52 4 'CBW40'
114 108 6 'CBW80'
242 234 8 'CBW160'
484
468 16
Use this property to rotate and scale the output vector of the constellation mapper. The spatial mapping matrix is used for beamforming and mixing space-time streams over the transmit antennas. For more information, see Section 19.3.11.11.2 of[1]。The calling function normalizes the spatial mapping matrix for each subcarrier.
例子:[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 theSpatialMapping
property to'Custom'
。
数据类型:双倍的
Complex Number Support:Yes
Beamforming
—启用波束形成
true
or1
(default) |false
or0
启用波束形成, specified as a numeric or logical value of1
(true
) or0
(false
). To apply a beamforming steering matrix, set this property to1
(true
). TheSpatialMappingMatrix
property specifies the beamforming steering matrix.
Dependencies
This property applies only when theNumUsers
属性是set to1
and theSpatialMapping
属性是set to'Custom'
。
数据类型:logical
STBC
—Enable STBC
false
or0
(default) |true
or1
Enable space-time block coding (STBC) of the PPDU data field, specified as a numeric or logical value of1
(true
) or0
(false
). STBC transmits multiple copies of the data stream across assigned antennas.
When you set this property to
0
(false
), STBC is not applied to the data field. The number of space-time streams is equal to the number of spatial streams.When you set this property to
1
(true
), STBC is applied to the data field. The number of space-time streams is twice the number of spatial streams.
For more information, see Section 22.3.10.9.4 of
Dependencies
This property applies only when theNumUsers
属性是1
。
数据类型:logical
MCS
—调制and coding scheme used for transmission
0
(default) |间隔[0,9]中的整数|向量的整数
用于传输的调制和编码方案,指定为以下值之一:
an integer in the interval [0, 9], applicable when the
NumUsers
属性是1
a 1-by-
NumUsers
向量的整数in the interval [0, 9], applicable when theNumUsers
财产大于1
。
This table shows the modulation type and coding rate for each valid value ofMCS
:
MCS |
调制 | Coding Rate |
---|---|---|
0 |
Binary phase-shift keying (BPSK) | 1/2 |
1 |
正交相移键合(qpsk) | 1/2 |
2 |
QPSK | 3/4 |
3 |
16-point quadrature amplitude modulation (16-QAM) | 1/2 |
4 |
16-QAM | 3/4 |
5 |
64-qam | 2/3 |
6 |
64-qam | 3/4 |
7 |
64-qam | 5/6 |
8 |
256-qam | 3/4 |
9 |
256-qam | 5/6 |
数据类型:双倍的
渠道编码
—FEC编码类型
'BCC'
(default) |'LDPC'
|字符向量的单元格数|细胞阵列
Forward-error-correction (FEC) coding type for the VHT-Data field, specified as one of these values:
'LDPC'
- 低密度平价检查(LDPC)编码适用于传输中的所有用户'BCC'
– binary convolutional coding (BCC) applies to all users in the transmissionA 1-by-
NumUsers
cell array containing the values'LDPC'
and'BCC'
,那里的k元素指定用户的频道编码k
有关更多信息,请参见第21.3.10.5节[1]。
数据类型:char
|cell
|string
apeplength
—APEP长度
1024
(default) |nonnegative integer|vector of nonnegative integers
Aggregated MPDU (A-MPDU) pre-end-of-frame (pre-EOF) padding (APEP) length, in bytes.
The object uses this property to determine the number of OFDM symbols in the data field. For more information, see Table 21-1 of[1]。
Note
该对象仅支持汇总的数据传金宝app输。
数据类型:双倍的
PSDULength
—PSDU length
integer in the interval [0, 220- 1]|向量的整数in the interval [0, 220–1]
此属性仅阅读。
Physical layer convergence procedure (PLCP) service data unit (PSDU) length, in bytes, specified as one of these values:
The object calculates this property based on the value of theapeplength
property and other coding related properties. For more information, see section 21.4.3 of[1]。
例子:[1035 4150]
is the PSDU length vector for awlanVHTConfig
object where theNumUsers
属性是2
and theMCS
属性是[0 3]
。
数据类型:双倍的
GuardInterval
—后卫间隔(循环前缀)持续时间
'长'
(default) |'Short'
后卫间隔(循环前缀)持续时间for the data field within a packet specified as one of these values:
'长'
– Guard interval duration of 800 ns'Short'
- 后卫间隔持续时间为400 ns
数据类型:char
|string
groupID
—Group identification number
63
(default) |integer in the interval [0, 63]
组标识号,在间隔[0,63]中指定为整数。
Dependencies
The values0
and63
apply only when you set theNumUsers
property to1
。间隔中的值[1,62]仅在设置NumUsers
property to a value other than1
。
数据类型:双倍的
PartialAID
—Abbreviated indication of PSDU recipients
275
(default) |间隔[0,511]中的整数
Abbreviated indication of the PSDU recipients, specified as an integer in the interval [0, 511].
对于上行链路传输,部分标识号是基本服务集标识符(BSSID)的最后9位。
For a downlink transmission, the partial identification number is an identifier that combines the association ID with the BSSID of its serving AP.
For more information, see Table 21-1 of[1]。
数据类型:双倍的
例子
Create wlanVHTConfig Object for Single User
Create a VHT configuration object with the default settings.
cfgvht = wlanvhtconfig
cfgVHT = wlanVHTConfig属性:ChannelBandwidth: 'CBW80' NumUsers: 1 NumTransmitAntennas: 1 NumSpaceTimeStreams: 1 SpatialMapping: 'Direct' STBC: 0 MCS: 0 ChannelCoding: 'BCC' APEPLength: 1024 GuardInterval: 'Long' GroupID: 63 PartialAID: 275 Read-only properties: PSDULength: 1035
更新频道带宽。
cfgVHT.ChannelBandwidth ='CBW40'
cfgVHT = wlanVHTConfig with properties: ChannelBandwidth: 'CBW40' NumUsers: 1 NumTransmitAntennas: 1 NumSpaceTimeStreams: 1 SpatialMapping: 'Direct' STBC: 0 MCS: 0 ChannelCoding: 'BCC' APEPLength: 1024 GuardInterval: 'Long' GroupID: 63 PartialAID: 275仅阅读属性:psdulength:1030
Create wlanVHTConfig Object for Two Users
Create a VHT configuration object for a 20 MHz two-user transmission with one antenna per user.
Create awlanVHTConfig
对象使用名称值对和内联初始化的组合来更改默认设置。矢量值属性应用特定于用户的设置。
cfgMU = wlanVHTConfig('ChannelBandwidth','CBW20','NumUsers',2,。。。'GroupID',2,'num Transmitantennas',2); cfgMU.NumSpaceTimeStreams = [1 1]; cfgMU.MCS = [4 8]; cfgMU.APEPLength = [1024 2048]; cfgMU.ChannelCoding = {'BCC''LDPC'}
cfgMU = wlanVHTConfig with properties: ChannelBandwidth: 'CBW20' NumUsers: 2 UserPositions: [0 1] NumTransmitAntennas: 2 NumSpaceTimeStreams: [1 1] SpatialMapping: 'Direct' MCS: [4 8] ChannelCoding: {'BCC' 'LDPC'} APEPLength: [1024 2048] GuardInterval: 'Long' GroupID: 2 Read-only properties: PSDULength: [1030 2065]
The configuration object settings reflect the updates specified. Properties that aren't modified take their default values.
More About
PPDU
物理层(PHY)协议数据单元(PPDU)是完整的物理层收敛过程(PLCP)帧,包括PLCP标头,MAC标头,MAC数据字段以及MAC和PLCP拖车。
参考
[1]IEEE Std 802.11-2020 (Revision of IEEE Std 802.11-2016). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.” IEEE Standard for Information technology — Telecommunications and information exchange between systems. Local and metropolitan area networks — Specific requirements.
Extended Capabilities
C/C ++代码生成
Generate C and C++ code using MATLAB® Coder™.
用法注释和限制:After the first use of this object for a VHT MU-MIMO transmission, you cannot change the number of elements in any of these properties.
In addition, if you specify the渠道编码
作为单元格数组的属性,您无法在首次使用此对象进行VHT MU-MIMO传输之后更改此属性的任何元素。
Version History
See Also
Objects
Wlandmgconfig
|wlanhesuconfig
|wlanHEMUConfig
|wlanHETBConfig
|wlanhtconfig
|wlanNonHTConfig
|wlanS1GConfig
Functions
wlanVHTData
|wlanVHTDataRecover
|wlanVHTLTF
|wlanVHTLTFDemodulate
|wlanVHTOFDMInfo
|wlanVHTSIGA
|wlanvhtsigarecover
|wlanVHTSIGB
|wlanVHTSIGBRecover
|wlanVHTSTF
|wlanwaveformgenerator
Apps
MATLABコマンド
Matlabコマンドコマンドにするがクリックされまし。。
matlabコマンドコマンドに入力してしください。。。。ブラウザー
Select a Web Site
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:。
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- AméricaLatina(Español)
- Canada(英语)
- United States(英语)
Europe
- 比利时(英语)
- 丹麦(英语)
- Deutschland(Deutsch)
- España(Español)
- Finland(英语)
- France(Français)
- Ireland(英语)
- Italia(Italiano)
- Luxembourg(英语)
- Netherlands(英语)
- Norway(英语)
- Österreich(Deutsch)
- Portugal(英语)
- Sweden(英语)
- Switzerland
- 英国(英语)