主要内容

wlanHESIGBCommonBitRecover

在HE-SIG-B场中恢复普通野外位

描述

example

[,地位,cfgupded] = wlanHESIGBCommonBitRecover(符号,noyevarest,cfg)恢复,IEEE中的He-Sig-b公共场所®802.11AX™高效多用户(HE MU)传输。

功能恢复符号, the demodulated and equalized HE-SIG-B common field symbols. Thecfg输入参数化传输,该传输会受到估计方差的通道噪声的约束noyevarest.

The function also returns地位, the result of content channel decoding, andcfgupded,从解码的HE-SIG-B字段中恢复了更新的传输参数。

有关802.11ax信号恢复的更多信息,请参见802.11ax数据包的恢复过程例子。

example

[,地位,cfgupded] = wlanHESIGBCommonBitRecover(符号,noyevarest,CSI,cfg)还可以使用通道状态信息来增强正交频分多路复用(OFDM)子载波的拆除CSI.

例子

全部收缩

在He-s-b公共场中恢复信息位的信息位。

为指定的信息位和He-Mu-Format配置对象生成HE MU波形。

分配索引= 192;cfghe = wlanhemuconfig(alapocation indindex,'SIGBCompression',错误的);位= [1; 0];waveform = wlanwaveformgenerator(位,cfghe);

从波形中提取L-SIG和HE-SIG-A部分。

ind = wlanfieldIndices(cfghe);rxlsig = waveform(ind.lsig(1):ind.lsig(2),:);rxsiga =波形(ind.hesiga(1):ind.hesiga(2),:);

Create an HE recovery configuration object for an HE-MU-format packet, specifying the channel bandwidth and packet format.

cbw = cfghe.channelbandwidth;cfgrecovery = wlanherecoverycounceconfig('ChannelBandwidth',CBW,“ packetformat','HE-MU');

假设没有通道噪声,则执行OFDM解调以提取L-SIG和HE-SIG-A场。

noyevarest= 0; info = wlanHEOFDMInfo('L-SIG',CBW);lsigdemod = wlanhedemeDemulate(rxlsig,,,'L-SIG',CBW);sigaDemod = wlanHEDemodulate(rxSIGA,'he-sig-a',CBW);[〜,〜,lsiginfo] = wlanlsigbitRecover(lsigdemod(info.dataindices,:),noisevarest);cfgrecovery.lsiglength = lsiginfo.length;siga = wlanhesigabitRecover(sigademod(info.dataindices,:),noingsvarest);

Update the HE recovery configuration object with the HE-SIG-A information bits.

cfg =解释(Cfgrecovery,siga);

提取HE-SIG-B场。

s = getSIGBLength(cfg); rxSIGB = waveform(double(ind.HESIGA(2))+(1:s.NumSIGBCommonFieldSamples),:);

Demodulate and decode the HE-SIG-B common field, displaying the result.

sigbdemod = wlanhedemeDemulate(rxsigb,,'He-sig-b',CBW);sigb = sigbdemod(info.dataindices,:,::);[位,状态,cfgupdated] = wlanhesigbCommonBitRecover(sigb,noingsvarest,cfg);disp(位')
0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0
分配(状态)
Success

通过解释恢复的HE-SIG-A和HE-SIG-B信息位来更新WLAN HE恢复配置对象。

产生他的MU波形

创建一个WLAN HE MU配置对象,将分配索引设置为0.

cfghemu = wlanhemuconfig(0);

为指定配置生成WLAN波形和PPDU字段索引。

waveform = wlanwaveformgenerator(1,cfghemu);ind = wlanfieldindices(cfghemu);

Recover L-SIG Bits

创建一个WLAN恢复配置对象,指定HE MU数据包格式和L-SIG字段的长度。

cfg = wlanherecoveryconconfig(“ packetformat','HE-MU','ChannelBandwidth','CBW20');

解码L-SIG字段并获得正交频段多路复用(OFDM)信息。恢复配置对象需要此信息才能获得L-SIG长度。

lsig = waveform(ind.LSIG(1):ind.LSIG(2)); lsigDemod = wlanHEDemodulate(lsig,'L-SIG',cfg.channelbandwidth);info = wlanheofdminfo('L-SIG',cfg.channelbandwidth);lsigdemod = lsigdemod(info.dataindices,:);

Recover the L-SIG bits and related information, making sure that the bits pass the parity check, and update the recovery configuration object with the L-SIG length. For this example we assume a noiseless channel. For more realistic results you can pass the waveform through an 802.11ax™ channel model by using thewlanTGaxChannel系统对象™并使用接收的波形。

CSI =一个(52,1);[lsigbits,failcheck,lsiginfo] = wlanlsigbitrecover(lsigdemod,0,csi);cfg.lsiglength = lsiginfo.length;

Update Recovery Configuration Object with HE-SIG-A Bits

解码HE-SIG-A字段并恢复He-Sig-A位,以确保位通过循环冗余检查(CRC)。

siga =波形(ind.hesiga(1):ind.hesiga(2));sigadeMod = wlanhedemeDemulate(siga,'he-sig-a',cfg.channelbandwidth);sigaDemod = sigaDemod(info.DataIndices,:); [sigaBits,failCRC] = wlanHESIGABitRecover(sigaDemod,0,csi); disp(failCRC)
0

使用恢复的HE-SIG-A位更新恢复配置对象。显示更新的对象。财产价值的-1或者'未知'表示未知或未定义的属性,可以在解码He Mu数据包的He-Sig-B公共和用户字段后进行更新。

[cfg,failInterpretation] = interpretHESIGABits(cfg,sigaBits)
cfg = wlanHERecoveryConfig with properties: PacketFormat: 'HE-MU' ChannelBandwidth: 'CBW20' LSIGLength: 878 SIGBCompression: 0 SIGBMCS: 0 SIGBDCM: 0 NumSIGBSymbolsSignaled: 10 STBC: 0 LDPCExtraSymbol: 1 PreFECPaddingFactor: 1 PEDisambiguity: 0 GuardInterval: 3.2000 HELTFType:4 NumHELTFSymbols: 1 UplinkIndication: 0 BSSColor: 0 SpatialReuse: 0 TXOPDuration: 127 HighDoppler: 0 AllocationIndex: -1 NumUsersPerContentChannel: -1 RUTotalSpaceTimeStreams: -1 RUSize: -1 RUIndex: -1 STAID: -1 MCS: -1 DCM: -1 ChannelCoding: 'Unknown' Beamforming: -1 NumSpaceTimeStreams: -1 SpaceTimeStreamStartingIndex: -1
Failitnerpretation =logical0

更新带有HE-SIG-B公共字段位的恢复配置对象

Decode the HE-SIG-B common field, ensuring that all content channels pass the CRC.

len = getsigblength(cfg);sigbCommon =波形(double(ind.hesiga(2))+(1:len.numsigbcommonfieldsamples),:);sigbCommonDemod = wlanhedemeDemutal(sigbcommon,'He-sig-b',cfghemu.channelbandwidth);sigbCommondeMod = sigbCommondeMod(info.dataindices);[sigbcommonbits,状态,〜] = wlanhesigbCommonBitRecover(SigbCommondeMod,0,CSI,CFG);分配(状态)
Success

Update the recovery configuration object with the recovered HE-SIG-B common field bits and display the updated object. A field returned as-1或者'未知'表示未知或未定义的属性值,可以在解码He MU数据包的HE-SIG-B用户字段后进行更新。

[CFG,FAILENTERPRETATION] =解释eTheThesigBCommonBits(CFG,SigbCommonBits,状态)
cfg = wlanHERecoveryConfig with properties: PacketFormat: 'HE-MU' ChannelBandwidth: 'CBW20' LSIGLength: 878 SIGBCompression: 0 SIGBMCS: 0 SIGBDCM: 0 NumSIGBSymbolsSignaled: 10 STBC: 0 LDPCExtraSymbol: 1 PreFECPaddingFactor: 1 PEDisambiguity: 0 GuardInterval: 3.2000 HELTFType:4 NumHELTFSymbols: 1 UplinkIndication: 0 BSSColor: 0 SpatialReuse: 0 TXOPDuration: 127 HighDoppler: 0 AllocationIndex: 0 NumUsersPerContentChannel: 9 RUTotalSpaceTimeStreams: -1 RUSize: -1 RUIndex: -1 STAID: -1 MCS: -1 DCM: -1 ChannelCoding:'未知'波束形成:-1 numspacetimestreams:-1 spaceTimeStreamStartingIndex:-1
Failitnerpretation =logical0

使用HE-SIG-B用户字段位更新恢复配置对象

Decode the HE-SIG-B user field, ensuring that all users pass the CRC.

sigbuser =波形(ind.hesigb(1):ind.hesigb(2));sigbuserdemod = wlanhedemeDemulate(sigbuser,,'He-sig-b',cfghemu.channelbandwidth);sigbUserDemod = sigbUserDemod(info.DataIndices,:); [sigbUserBits,failCRC,~] = wlanHESIGBUserBitRecover(sigbUserDemod,0,csi,cfg); disp(failCRC)
0 0 0 0 0 0 0 0 0 0

使用恢复的HE-SIG-B用户字段位更新恢复配置对象。

[user,failInterpretation] = interpretHESIGBUserBits(cfg,sigbUserBits,failCRC);

显示解释结果和第三个元素用户输出。

disp(failInterpretation)
0 0 0 0 0 0 0 0 0 0
disp(用户{3})
带有属性的wlanherecoveryCounceconconfig:packetformat:'He-mu'channelbandwidth:'cbw20'lsiglength:878 sigbCompression:0 sigBMCS:0 sigbdcm:0 numsigbsymbolssignaled:10 stbc:0 ldpcextrasymbol:1 predelligy hullyly:1 predelly:1 prederly:1: 1 UplinkIndication: 0 BSSColor: 0 SpatialReuse: 0 TXOPDuration: 127 HighDoppler: 0 AllocationIndex: 0 NumUsersPerContentChannel: 9 RUTotalSpaceTimeStreams: 1 RUSize: 26 RUIndex: 3 STAID: 0 MCS: 0 DCM: 0 ChannelCoding: 'LDPC' Beamforming: 0 NumSpaceTimeStreams:1 spacetimestreamStartingIndex:1

输入参数

全部收缩

被解调和均衡的HE-SIG-B符号,指定为复杂值列矢量。向量的长度等于活动子载波的数量,这取决于传输的通道带宽。

  • 如果通道带宽为20 MHz,请将此参数指定为52 x-1矢量。

  • 如果通道带宽为40 MHz,80 MHz或160 MHz,则将此参数指定为104 by-1矢量。该矢量必须包含组合的20 MHz亚通道重复。

TheChannelBandwidth属性cfginput determines the channel bandwidth.

数据类型:双倍的
复杂的数字支持:金宝app是的

噪声差异估计, specified as a nonnegative scalar.

数据类型:双倍的

HE MU传输参数, specified as awlanherecoveryconconfig目的。

渠道状态信息,指定为NSD-by-1 real-valued vector, whereNSD是HE-SIG-B字段中数据子载波的数量。

数据类型:双倍的

输出参数

全部收缩

Recovered HE-SIG-B common field bits for each content channel of the HE-SIG-B field, returned as a binary column vector or matrix. The size of this output depends on the channel bandwidth of the transmission according to this table.

Channel Bandwidth/MHz Size of
20 18-by-1
40 18-by-2
80 27-by-2
160 43-by-2

数据类型:int8

Result of content channel decoding, returned as one of these values.

  • '成功'- 所有内容通道都通过了循环冗余检查(CRC)。

  • “ ContentChannel1fail”– Content channel 1 failed the CRC, and the number of HE-SIG-B symbols signaled in the HE-SIG-A field is less than 16.

  • “ ContentChannel2Fail”– Content channel 2 failed the CRC, and the number of HE-SIG-B symbols signaled in the HE-SIG-A field is less than 16.

  • 'UnknownNumUsersContentChannel1'- Content Channel 1失败了CRC,HE-SIG-B字段中信号的HE-SIG-B符号的数量为16。

  • “不知名的NumusersContentChannel2”- 内容频道2失败了CRC,HE-SIG-B字段中信号的HE-SIG-B符号的数量为16。

  • “ AllContentChannelcrcfail”- 所有内容渠道都使CRC失败。

如果在HE-SIG-A字段中发出的HE-SIG-B符号的数量小于16,并且任何内容通道都会使CRC失败,则HE-SIG-A字段确定HE-SIG-B场的长度。如果在HE-SIG-A字段中发出的HE-SIG-B符号的数量为16,并且任何内容通道失败了CRC,则不确定HE-SIG-B字段的长度。

数据类型:char

更新他恢复frμ传输参数om the decoded HE-SIG-B field, returned as awlanherecoveryconconfig目的。

参考

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

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

扩展功能

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

Version History

Introduced in R2019b