examples, wifi: Fix typos

This commit is contained in:
Sébastien Deronne
2025-01-22 11:36:16 +01:00
committed by Gabriel Ferreira
parent 6db29eecb0
commit 1ad1642e6f
4 changed files with 7 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ ReceivePacket(Ptr<Socket> socket)
/**
* Generate traffic
*
* @param socket The seding socket.
* @param socket The sending socket.
* @param pktSize The packet size.
* @param pktCount The packet counter.
* @param pktInterval The interval between two packets.

View File

@@ -1935,11 +1935,11 @@ ContextToMac(std::string context)
// Functions for tracing.
/**
* Incremement the counter for a given address.
* Increment the counter for a given address.
*
* @param [out] counter The counter to increment.
* @param addr The address to incremement the counter for.
* @param increment The incremement (1 if omitted).
* @param addr The address to increment the counter for.
* @param increment The increment (1 if omitted).
*/
void
IncrementCounter(std::map<Mac48Address, uint64_t>& counter,

View File

@@ -91,7 +91,7 @@ class Event : public SimpleRefCount<Event>
/**
* Update the PPDU that initially generated the event.
* This is needed to have the PPDU holding the correct TXVECTOR
* upon reception of multiple signals carring the same content
* upon reception of multiple signals carrying the same content
* but over different channel width (typically non-HT duplicates).
*
* @param ppdu the new PPDU to use for this event.

View File

@@ -548,7 +548,7 @@ WifiPrimaryChannelsTest::DoRun()
* | |-----| |-----| |-----| |-----|
*
* Then, we double the transmission channel width. We will have four rounds
* of transmissions. We avoid using adjacent channels to avoid interfence
* of transmissions. We avoid using adjacent channels to avoid interference
* among transmissions:
*
* AP0 AP4
@@ -607,7 +607,7 @@ WifiPrimaryChannelsTest::DoRun()
// To have simultaneous transmissions on adjacent channels, just initialize
// nRounds to 1 and nApsPerRound to m_channelWidth / 20. Of course, the test
// will fail because some stations will not receive some frames due to interfence
// will fail because some stations will not receive some frames due to interference
uint16_t nRounds = 2;
uint16_t nApsPerRound = Count20MHzSubchannels(m_channelWidth) / 2;
for (MHz_u txChannelWidth{20}; txChannelWidth <= m_channelWidth;