Get scrambler initialization range
Configure transmission parameters by creating a
wlanNonHTConfig object, specifying a channel bandwidth of 80 MHz and static bandwidth operation.
cfg = wlanNonHTConfig('ChannelBandwidth','CBW80','SignalChannelBandwidth',true, ... 'BandwidthOperation','Static');
Generate a random PSDU of the appropriate length.
psdu = randi([0 1],8*cfg.PSDULength,1,'int8');
Generate the initial pseudorandom scrambler sequence.
[range,numBits] = scramblerRange(cfg); scramInit = randi(range);
Generate the non-HT Data field signal.
y = wlanNonHTData(psdu,cfg,scramInit);
range— Scrambler initialization range
Scrambler initialization range, returned as an integer-valued row vector of the form [min max]. The values of min and max represent the minimum and maximum values, respectively, of pseudorandom bits required for scrambler initialization in a non-HT transmission.
numBits— Number of bits required for scrambler initialization
Number of bits required by the
wlanNonHTData function for scrambler initialization in a non-HT
transmission, returned as
7. The value of this output depends on whether the transmission
signals bandwidth operation in accordance with the
BandwidthOperation property values of the
cfg input. For more information, see Table 17-7 of .
 IEEE Std 802.11™-2016 (Revision of IEEE Std 802.11-2012). “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.