From 4f8f110e7d9bdcd6205cdb9338e46e01862910b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sun, 18 Aug 2024 09:31:25 +0200 Subject: [PATCH] wifi: Correct user documentation --- src/wifi/doc/source/wifi-user.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wifi/doc/source/wifi-user.rst b/src/wifi/doc/source/wifi-user.rst index 4b4aefb6cb..a281184138 100644 --- a/src/wifi/doc/source/wifi-user.rst +++ b/src/wifi/doc/source/wifi-user.rst @@ -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 @@ -550,8 +550,8 @@ that will be created upon a call to ``ns3::WifiHelper::Install``: .. sourcecode:: cpp - SpectrumWifiPhyHelper::SetPcapDataLinkType(const Ptr channel, - const FrequencyRange& freqRange) + SpectrumWifiPhyHelper::AddChannel(const Ptr 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.