Fix typos
This commit is contained in:
committed by
Eduardo Almeida
parent
1781b63b6a
commit
82b9b602f6
@@ -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 <https://www.nsnam.org/wiki/HOWTO_use_gdb_to_debug_program_errors>`_:
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -230,7 +230,7 @@ class UanPhyDual : public UanPhy
|
||||
|
||||
/** A packet was received successfully. */
|
||||
ns3::TracedCallback<Ptr<const Packet>, double, UanTxMode> m_rxOkLogger;
|
||||
/** A packet was received unsuccessfuly. */
|
||||
/** A packet was received unsuccessfully. */
|
||||
ns3::TracedCallback<Ptr<const Packet>, double, UanTxMode> m_rxErrLogger;
|
||||
/** A packet was sent from this Phy. */
|
||||
ns3::TracedCallback<Ptr<const Packet>, double, UanTxMode> m_txLogger;
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -69,14 +69,14 @@ std::map<Mac48Address, uint64_t>
|
||||
std::map<Mac48Address, uint64_t>
|
||||
packetsTransmitted; ///< Map that stores the total packets transmitted per STA
|
||||
std::map<Mac48Address, uint64_t>
|
||||
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<Mac48Address, uint64_t>
|
||||
psduSucceeded; ///< Map that stores the total number of successfully received PSDUs per STA
|
||||
///< (including PSDUs not addressed to that STA)
|
||||
std::map<Mac48Address, uint64_t> phyHeaderFailed; ///< Map that stores the total number of
|
||||
///< unsuccessfuly received PHY headers per STA
|
||||
///< unsuccessfully received PHY headers per STA
|
||||
std::map<Mac48Address, uint64_t>
|
||||
rxEventWhileTxing; ///< Map that stores the number of reception events per STA that occurred
|
||||
///< while PHY was already transmitting a PPDU
|
||||
|
||||
@@ -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);
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -681,7 +681,7 @@ class WIFI_EXPORT PhyEntity
|
||||
uint16_t staId,
|
||||
const std::vector<bool>& 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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -51,9 +51,9 @@ typedef Callback<void,
|
||||
const std::vector<bool>&>
|
||||
RxOkCallback;
|
||||
/**
|
||||
* Callback if PSDU unsuccessfuly received
|
||||
* Callback if PSDU unsuccessfully received
|
||||
*
|
||||
* arg1: PSDU received unsuccessfuly
|
||||
* arg1: PSDU received unsuccessfully
|
||||
*/
|
||||
typedef Callback<void, Ptr<const WifiPsdu>> RxErrorCallback;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1806,7 +1806,7 @@ WifiGcrTestSuite::WifiGcrTestSuite()
|
||||
std::vector<std::pair<bool, std::string>>{{false, "A-MPDU disabled"},
|
||||
{true, "A-MPDU enabled"}})
|
||||
{
|
||||
for (auto& [rtsThreshold, gcrPotection, protectionName] :
|
||||
for (auto& [rtsThreshold, gcrProtection, protectionName] :
|
||||
std::vector<std::tuple<uint32_t, GroupcastProtectionMode, std::string>>{
|
||||
{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<std::tuple<uint32_t, GroupcastProtectionMode, std::string>>{
|
||||
{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
|
||||
|
||||
@@ -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<bool>& statusPerMpdu);
|
||||
|
||||
/**
|
||||
* Function called upon a PSDU received unsuccessfuly
|
||||
* Function called upon a PSDU received unsuccessfully
|
||||
* @param psdu the PSDU
|
||||
*/
|
||||
void RxFailure(Ptr<const WifiPsdu> psdu);
|
||||
|
||||
@@ -101,7 +101,7 @@ class WifiPhyThresholdsTest : public TestCase
|
||||
|
||||
Ptr<SpectrumWifiPhy> 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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user