Skip to content

Commit

Permalink
wifi: Correct user documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sderonne committed Aug 28, 2024
1 parent 02526a0 commit 4f8f110
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wifi/doc/source/wifi-user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Note that we haven't actually created any WifiPhy objects yet; we've just
prepared the YansWifiPhyHelper by telling it which channel it is connected to.
The Phy objects are created in the next step.

In order to enable 802.11n/ac/ax MIMO, the number of antennas as well as the number of supported spatial streams need to be configured.
In order to enable 802.11n/ac/ax/be MIMO, the number of antennas as well as the number of supported spatial streams need to be configured.
For example, this code enables MIMO with 2 antennas and 2 spatial streams:

.. sourcecode:: cpp
Expand Down Expand Up @@ -550,8 +550,8 @@ that will be created upon a call to ``ns3::WifiHelper::Install``:

.. sourcecode:: cpp

SpectrumWifiPhyHelper::SetPcapDataLinkType(const Ptr<SpectrumChannel> channel,
const FrequencyRange& freqRange)
SpectrumWifiPhyHelper::AddChannel(const Ptr<SpectrumChannel> channel,
const FrequencyRange& freqRange)

where FrequencyRange is a structure that contains the start and stop frequencies
expressed in MHz which corresponds to the spectrum portion that is covered by the channel.
Expand Down

0 comments on commit 4f8f110

Please sign in to comment.