From 82b9b602f61cc8039959096090f9186d47eb25c2 Mon Sep 17 00:00:00 2001 From: Ashish Reddy Date: Tue, 23 Sep 2025 15:58:36 +0000 Subject: [PATCH] Fix typos --- doc/manual/source/troubleshoot.rst | 2 +- src/csma/model/backoff.h | 2 +- src/lte/doc/source/lte-design.rst | 2 +- src/network/model/socket.h | 2 +- src/uan/model/uan-phy-dual.cc | 2 +- src/uan/model/uan-phy-dual.h | 2 +- src/uan/model/uan-phy-gen.cc | 2 +- src/wifi/examples/wifi-bianchi.cc | 4 +- src/wifi/model/block-ack-manager.h | 2 +- src/wifi/model/channel-access-manager.h | 2 +- src/wifi/model/phy-entity.h | 2 +- src/wifi/model/wifi-phy-state-helper.cc | 2 +- src/wifi/model/wifi-phy-state-helper.h | 4 +- src/wifi/model/wifi-remote-station-manager.h | 4 +- src/wifi/test/wifi-gcr-test.cc | 48 ++++++++++---------- src/wifi/test/wifi-phy-reception-test.cc | 4 +- src/wifi/test/wifi-phy-thresholds-test.cc | 2 +- src/wifi/test/wifi-test.cc | 4 +- 18 files changed, 46 insertions(+), 46 deletions(-) diff --git a/doc/manual/source/troubleshoot.rst b/doc/manual/source/troubleshoot.rst index 21a2bc98c..f7b6370b0 100644 --- a/doc/manual/source/troubleshoot.rst +++ b/doc/manual/source/troubleshoot.rst @@ -28,7 +28,7 @@ Here is an example of what might occur:: Compilation finished successfully Command ['/home/tomh/ns-3-nsc/build/debug/examples/tcp-point-to-point'] exited with code -11 -The error message says that the program terminated unsuccessfuly, but it is +The error message says that the program terminated unsuccessfully, but it is not clear from this information what might be wrong. To examine more closely, try running it under the `gdb debugger `_: diff --git a/src/csma/model/backoff.h b/src/csma/model/backoff.h index c88963089..4cbf41eb4 100644 --- a/src/csma/model/backoff.h +++ b/src/csma/model/backoff.h @@ -105,7 +105,7 @@ class Backoff private: /** - * Number of times that the transmitter has tried to unsuccessfuly transmit the current packet. + * Number of times that the transmitter has tried to unsuccessfully transmit the current packet. */ uint32_t m_numBackoffRetries; diff --git a/src/lte/doc/source/lte-design.rst b/src/lte/doc/source/lte-design.rst index cf924bb2f..27ed50450 100644 --- a/src/lte/doc/source/lte-design.rst +++ b/src/lte/doc/source/lte-design.rst @@ -2269,7 +2269,7 @@ the PCFICH errors [R4-081920]_ (also refer to :ref:`sec-control-channels-phy-error-model`). Once, the UE is unable to decode 20 consecutive frames, i.e., the Qout evaluation period (200ms) is reached, an out-of-sync indication is sent to the UE RRC layer (see ``LteUeRrc::DoNotifyOutOfSync``). -Else, the counter for the unsuccessfuly decoded frames is reset to zero. At the +Else, the counter for the unsuccessfully decoded frames is reset to zero. At the LteUeRrc, when the number of consecutive out-of-sync indications matches with the value of N310 parameter, the T310 timer is started and LteUePhy is notified to start measuring for in-sync indications (see ``LteUePhy::DoStartInSyncDetection``). We note diff --git a/src/network/model/socket.h b/src/network/model/socket.h index 1a848a8b8..fe9c3fc2b 100644 --- a/src/network/model/socket.h +++ b/src/network/model/socket.h @@ -169,7 +169,7 @@ class Socket : public Object * completed. The callback is passed back a pointer to * the same socket object. * @param connectionFailed this callback is invoked when the - * connection request initiated by the user is unsuccessfuly + * connection request initiated by the user is unsuccessfully * completed. The callback is passed back a pointer to the * same socket object. */ diff --git a/src/uan/model/uan-phy-dual.cc b/src/uan/model/uan-phy-dual.cc index 2246dbf1c..86faf7436 100644 --- a/src/uan/model/uan-phy-dual.cc +++ b/src/uan/model/uan-phy-dual.cc @@ -226,7 +226,7 @@ UanPhyDual::GetTypeId() MakeTraceSourceAccessor(&UanPhyDual::m_rxOkLogger), "ns3::UanPhy::TracedCallback") .AddTraceSource("RxError", - "A packet was received unsuccessfuly.", + "A packet was received unsuccessfully.", MakeTraceSourceAccessor(&UanPhyDual::m_rxErrLogger), "ns3::UanPhy::TracedCallback") .AddTraceSource("Tx", diff --git a/src/uan/model/uan-phy-dual.h b/src/uan/model/uan-phy-dual.h index 8daa74d93..8af5dc7ba 100644 --- a/src/uan/model/uan-phy-dual.h +++ b/src/uan/model/uan-phy-dual.h @@ -230,7 +230,7 @@ class UanPhyDual : public UanPhy /** A packet was received successfully. */ ns3::TracedCallback, double, UanTxMode> m_rxOkLogger; - /** A packet was received unsuccessfuly. */ + /** A packet was received unsuccessfully. */ ns3::TracedCallback, double, UanTxMode> m_rxErrLogger; /** A packet was sent from this Phy. */ ns3::TracedCallback, double, UanTxMode> m_txLogger; diff --git a/src/uan/model/uan-phy-gen.cc b/src/uan/model/uan-phy-gen.cc index 4125f9f86..e9b04c2a6 100644 --- a/src/uan/model/uan-phy-gen.cc +++ b/src/uan/model/uan-phy-gen.cc @@ -609,7 +609,7 @@ UanPhyGen::GetTypeId() MakeTraceSourceAccessor(&UanPhyGen::m_rxOkLogger), "ns3::UanPhy::TracedCallback") .AddTraceSource("RxError", - "A packet was received unsuccessfuly.", + "A packet was received unsuccessfully.", MakeTraceSourceAccessor(&UanPhyGen::m_rxErrLogger), "ns3::UanPhy::TracedCallback") .AddTraceSource("Tx", diff --git a/src/wifi/examples/wifi-bianchi.cc b/src/wifi/examples/wifi-bianchi.cc index 439b9a1db..d695f7c76 100644 --- a/src/wifi/examples/wifi-bianchi.cc +++ b/src/wifi/examples/wifi-bianchi.cc @@ -69,14 +69,14 @@ std::map std::map packetsTransmitted; ///< Map that stores the total packets transmitted per STA std::map - psduFailed; ///< Map that stores the total number of unsuccessfuly received PSDUS (for which + psduFailed; ///< Map that stores the total number of unsuccessfully received PSDUS (for which ///< the PHY header was successfully received) per STA (including PSDUs not ///< addressed to that STA) std::map psduSucceeded; ///< Map that stores the total number of successfully received PSDUs per STA ///< (including PSDUs not addressed to that STA) std::map phyHeaderFailed; ///< Map that stores the total number of - ///< unsuccessfuly received PHY headers per STA + ///< unsuccessfully received PHY headers per STA std::map rxEventWhileTxing; ///< Map that stores the number of reception events per STA that occurred ///< while PHY was already transmitting a PPDU diff --git a/src/wifi/model/block-ack-manager.h b/src/wifi/model/block-ack-manager.h index b23e756f9..73f36e557 100644 --- a/src/wifi/model/block-ack-manager.h +++ b/src/wifi/model/block-ack-manager.h @@ -414,7 +414,7 @@ class BlockAckManager : public Object void SetTxOkCallback(TxOk callback); /** * @param callback the callback to invoke when a - * packet transmission was completed unsuccessfuly. + * packet transmission was completed unsuccessfully. */ void SetTxFailedCallback(TxFailed callback); /** diff --git a/src/wifi/model/channel-access-manager.h b/src/wifi/model/channel-access-manager.h index b0bba6c69..f51d81827 100644 --- a/src/wifi/model/channel-access-manager.h +++ b/src/wifi/model/channel-access-manager.h @@ -275,7 +275,7 @@ class ChannelAccessManager : public Object void NotifyRxEndOkNow(); /** * Notify the Txop that a packet reception was just - * completed unsuccessfuly. + * completed unsuccessfully. * * @param txVector the TXVECTOR used for transmission */ diff --git a/src/wifi/model/phy-entity.h b/src/wifi/model/phy-entity.h index b86fa1138..f0d6f9c6a 100644 --- a/src/wifi/model/phy-entity.h +++ b/src/wifi/model/phy-entity.h @@ -681,7 +681,7 @@ class WIFI_EXPORT PhyEntity uint16_t staId, const std::vector& statusPerMpdu); /** - * Perform amendment-specific actions when the payload is unsuccessfuly received. + * Perform amendment-specific actions when the payload is unsuccessfully received. * * @param psdu the PSDU that we failed to received * @param snr the SNR of the received PSDU in linear scale diff --git a/src/wifi/model/wifi-phy-state-helper.cc b/src/wifi/model/wifi-phy-state-helper.cc index 7fdec91d6..90beeb5d4 100644 --- a/src/wifi/model/wifi-phy-state-helper.cc +++ b/src/wifi/model/wifi-phy-state-helper.cc @@ -51,7 +51,7 @@ WifiPhyStateHelper::GetTypeId() MakeTraceSourceAccessor(&WifiPhyStateHelper::m_rxOutcomeTrace), "ns3::WifiPhyStateHelper::RxOutcomeTracedCallback") .AddTraceSource("RxError", - "A packet has been received unsuccessfuly.", + "A packet has been received unsuccessfully.", MakeTraceSourceAccessor(&WifiPhyStateHelper::m_rxErrorTrace), "ns3::WifiPhyStateHelper::RxEndErrorTracedCallback") .AddTraceSource("Tx", diff --git a/src/wifi/model/wifi-phy-state-helper.h b/src/wifi/model/wifi-phy-state-helper.h index 84bec55fb..e693680c3 100644 --- a/src/wifi/model/wifi-phy-state-helper.h +++ b/src/wifi/model/wifi-phy-state-helper.h @@ -51,9 +51,9 @@ typedef Callback&> RxOkCallback; /** - * Callback if PSDU unsuccessfuly received + * Callback if PSDU unsuccessfully received * - * arg1: PSDU received unsuccessfuly + * arg1: PSDU received unsuccessfully */ typedef Callback> RxErrorCallback; diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index 526ffe2c6..cc33c6bd2 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -1055,7 +1055,7 @@ class WifiRemoteStationManager : public Object * @param address the address of the receiver * @param nSuccessfulMpdus number of successfully transmitted MPDUs * A value of 0 means that the Block ACK was missed. - * @param nFailedMpdus number of unsuccessfuly transmitted MPDUs + * @param nFailedMpdus number of unsuccessfully transmitted MPDUs * @param rxSnr received SNR of the block ack frame itself * @param dataSnr data SNR reported by remote station * @param dataTxVector the TXVECTOR of the MPDUs we sent @@ -1540,7 +1540,7 @@ class WifiRemoteStationManager : public Object * @param station the station that sent the DATA to us * @param nSuccessfulMpdus number of successfully transmitted MPDUs. * A value of 0 means that the Block ACK was missed. - * @param nFailedMpdus number of unsuccessfuly transmitted MPDUs. + * @param nFailedMpdus number of unsuccessfully transmitted MPDUs. * @param rxSnr received SNR of the block ack frame itself * @param dataSnr data SNR reported by remote station * @param dataChannelWidth the channel width of the A-MPDU we sent diff --git a/src/wifi/test/wifi-gcr-test.cc b/src/wifi/test/wifi-gcr-test.cc index 14a0a16b0..e596f81a5 100644 --- a/src/wifi/test/wifi-gcr-test.cc +++ b/src/wifi/test/wifi-gcr-test.cc @@ -1806,7 +1806,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() std::vector>{{false, "A-MPDU disabled"}, {true, "A-MPDU enabled"}}) { - for (auto& [rtsThreshold, gcrPotection, protectionName] : + for (auto& [rtsThreshold, gcrProtection, protectionName] : std::vector>{ {maxRtsCtsThreshold, GroupcastProtectionMode::RTS_CTS, "no protection"}, {500, GroupcastProtectionMode::RTS_CTS, "RTS-CTS"}, @@ -1850,7 +1850,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = useAmpdu ? uint16_t(4) : uint16_t(2), .maxNumMpdusInPsdu = useAmpdu ? uint16_t(2) : uint16_t(1), .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection}, + .gcrProtectionMode = gcrProtection}, {}), useSpectrum ? TestCase::Duration::EXTENSIVE : TestCase::Duration::QUICK); AddTestCase( @@ -1859,7 +1859,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = useAmpdu ? uint16_t(4) : uint16_t(2), .maxNumMpdusInPsdu = useAmpdu ? uint16_t(2) : uint16_t(1), .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, // if no MPDU aggregation, MPDUs list is ignored .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}}}, {}), @@ -1870,7 +1870,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = useAmpdu ? uint16_t(4) : uint16_t(2), .maxNumMpdusInPsdu = useAmpdu ? uint16_t(2) : uint16_t(1), .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, // if no MPDU aggregation, MPDUs list is ignored .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}, {2, {{0, {1, 2}}}}, @@ -1887,7 +1887,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = useAmpdu ? uint16_t(4) : uint16_t(2), .maxNumMpdusInPsdu = useAmpdu ? uint16_t(2) : uint16_t(1), .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, // if no MPDU aggregation, MPDUs list is ignored .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}, {2, {{0, {1, 2}}}}, @@ -1909,7 +1909,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {2}}}}, {2, {{0, {1}}}}, {3, {{0, {2}}}}, @@ -1928,7 +1928,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1}}}}, {2, {{0, {2}}}}, {3, {{0, {1}}}}, @@ -1947,7 +1947,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}, {2, {{0, {1, 2}}}}, {3, {{0, {1, 2}}}}, @@ -1966,7 +1966,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}, {2, {{0, {1, 2}}}}, {3, {{0, {1, 2}}}}, @@ -1984,7 +1984,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}, {2, {{0, {1, 2}}}}, {3, {{0, {1, 2}}}}, @@ -2003,7 +2003,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{9, {{0, {2}}}}, {10, {{0, {1}}}}, {11, {{0, {2}}}}, @@ -2023,7 +2023,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{9, {{0, {1}}}}, {10, {{0, {2}}}}, {11, {{0, {1}}}}, @@ -2043,7 +2043,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{9, {{0, {1, 2}}}}, {10, {{0, {1, 2}}}}, {11, {{0, {1, 2}}}}, @@ -2062,7 +2062,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{9, {{0, {1, 2}}}}, {10, {{0, {1, 2}}}}, {11, {{0, {1, 2}}}}, @@ -2080,7 +2080,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .numGroupcastPackets = 4, .maxNumMpdusInPsdu = 2, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{9, {{0, {1, 2}}}}, {10, {{0, {1, 2}}}}, {11, {{0, {1, 2}}}}, @@ -2200,7 +2200,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() {{}, {1}}, {{1}, {1}}}) { - for (auto& [rtsThreshold, gcrPotection, protectionName] : + for (auto& [rtsThreshold, gcrProtection, protectionName] : std::vector>{ {maxRtsCtsThreshold, GroupcastProtectionMode::RTS_CTS, "no protection"}, {500, GroupcastProtectionMode::RTS_CTS, "RTS-CTS"}, @@ -2267,7 +2267,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection}, + .gcrProtectionMode = gcrProtection}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE : TestCase::Duration::QUICK); @@ -2281,7 +2281,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {2}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2294,7 +2294,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2307,7 +2307,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{0, {1, 2}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2324,7 +2324,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{1, {2}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2339,7 +2339,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{1, {1}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2355,7 +2355,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{1, {1}}, {2, {2}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE @@ -2371,7 +2371,7 @@ WifiGcrTestSuite::WifiGcrTestSuite() .startGroupcast = groupcastStartTime, .startUnicast = unicastStartTime, .rtsThreshold = rtsThreshold, - .gcrProtectionMode = gcrPotection, + .gcrProtectionMode = gcrProtection, .mpdusToCorruptPerPsdu = {{1, {{1, {2}}, {2, {1}}}}}}, {corruptedBars, corruptedBlockAcks}), useSpectrum ? TestCase::Duration::EXTENSIVE diff --git a/src/wifi/test/wifi-phy-reception-test.cc b/src/wifi/test/wifi-phy-reception-test.cc index f15fa2664..ea57e02a7 100644 --- a/src/wifi/test/wifi-phy-reception-test.cc +++ b/src/wifi/test/wifi-phy-reception-test.cc @@ -849,7 +849,7 @@ class TestThresholdPreambleDetectionWithFrameCapture : public WifiPhyReceptionTe /** * Check the number of received packets * @param expectedSuccessCount the number of successfully received packets - * @param expectedFailureCount the number of unsuccessfuly received packets + * @param expectedFailureCount the number of unsuccessfully received packets */ void CheckRxPacketCount(uint32_t expectedSuccessCount, uint32_t expectedFailureCount); }; @@ -4207,7 +4207,7 @@ class TestUnsupportedBandwidthReception : public TestCase const std::vector& statusPerMpdu); /** - * Function called upon a PSDU received unsuccessfuly + * Function called upon a PSDU received unsuccessfully * @param psdu the PSDU */ void RxFailure(Ptr psdu); diff --git a/src/wifi/test/wifi-phy-thresholds-test.cc b/src/wifi/test/wifi-phy-thresholds-test.cc index 978ee2d8b..634d92f7f 100644 --- a/src/wifi/test/wifi-phy-thresholds-test.cc +++ b/src/wifi/test/wifi-phy-thresholds-test.cc @@ -101,7 +101,7 @@ class WifiPhyThresholdsTest : public TestCase Ptr m_phy; ///< PHY object uint32_t m_rxSuccess; ///< count number of successfully received packets - uint32_t m_rxFailure; ///< count number of unsuccessfuly received packets + uint32_t m_rxFailure; ///< count number of unsuccessfully received packets uint32_t m_rxDropped; ///< count number of dropped packets uint32_t m_stateChanged; ///< count number of PHY state change uint32_t m_rxStateCount; ///< count number of PHY state change to RX state diff --git a/src/wifi/test/wifi-test.cc b/src/wifi/test/wifi-test.cc index 240f426e9..0c41663fe 100644 --- a/src/wifi/test/wifi-test.cc +++ b/src/wifi/test/wifi-test.cc @@ -2618,7 +2618,7 @@ class Issue40TestCase : public TestCase uint16_t m_rxCount; ///< Count number of successfully received data packets uint16_t m_txCount; ///< Count number of transmitted data packets uint16_t - m_txMacFinalDataFailedCount; ///< Count number of unsuccessfuly transmitted data packets + m_txMacFinalDataFailedCount; ///< Count number of unsuccessfully transmitted data packets }; Issue40TestCase::Issue40TestCase() @@ -2736,7 +2736,7 @@ Issue40TestCase::RunOne(bool useAmpdu) staDevice.Get(0)->GetAddress()); // Transmit a second data packet once the station is away from the access point: it should be - // sent with the same high modulation and be unsuccessfuly received + // sent with the same high modulation and be unsuccessfully received Simulator::Schedule(Seconds(2), &Issue40TestCase::SendPackets, this,