codespell: Fix additional typos found by codespell 2.3.0

This commit is contained in:
Gabriel Ferreira
2024-05-23 17:52:52 -03:00
parent 8a2d461acf
commit bf3d7634cb
15 changed files with 21 additions and 21 deletions

View File

@@ -87,7 +87,7 @@ GenericBatteryModel::GetTypeId()
MakeDoubleAccessor(&GenericBatteryModel::m_internalResistance),
MakeDoubleChecker<double>())
.AddAttribute("TypicalDischargeCurrent",
"Typical discharge current used in manufacters datasheets (A)",
"Typical discharge current used in manufacturers datasheets (A)",
DoubleValue(2.33),
MakeDoubleAccessor(&GenericBatteryModel::m_typicalCurrent),
MakeDoubleChecker<double>())

View File

@@ -96,7 +96,7 @@ class InternetStackHelper : public PcapHelperForIpv4,
* and global routing by default. The static routing protocol
* (ns3::Ipv4StaticRouting) and the global routing protocol are
* stored in an ns3::Ipv4ListRouting protocol with priorities 0, and -10
* by default. If you wish to use different priorites and different
* by default. If you wish to use different priorities and different
* routing protocols, you need to use an adhoc ns3::Ipv4RoutingHelper,
* such as ns3::OlsrHelper
*/

View File

@@ -385,7 +385,7 @@ class TcpBbr : public TcpCongestionOps
//!< filter window, default 10 secs.
Time m_rtPropStamp{
Seconds(0)}; //!< The wall clock time at which the current BBR.RTProp sample was obtained
bool m_isInitialized{false}; //!< Set to true after first time initializtion variables
bool m_isInitialized{false}; //!< Set to true after first time initialization variables
Ptr<UniformRandomVariable> m_uv{nullptr}; //!< Uniform Random Variable
uint64_t m_delivered{0}; //!< The total amount of data in bytes delivered so far
uint32_t m_appLimited{

View File

@@ -372,7 +372,7 @@ class TcpBicTestSuite : public TestSuite
9 * 1000,
2,
16,
"Bic increment test: linear incrase but not enough ACKs received"),
"Bic increment test: linear increase but not enough ACKs received"),
TestCase::Duration::QUICK);
AddTestCase(new TcpBicDecrementTest(

View File

@@ -288,7 +288,7 @@ The control interfaces that are modeled explicitly are the S1-MME, the S11, and
interfaces. The X2 interface is also modeled explicitly and it is described in more
detail in section :ref:`sec-x2`
The S1-MME, the S11 and the S5 interfaces are modeled using procotol data units sent
The S1-MME, the S11 and the S5 interfaces are modeled using protocol data units sent
over its respective links. These interfaces use the SCTP protocol as transport protocol
but currently, the SCTP protocol is not modeled in the ns-3 simulator, so the
UDP protocol is used instead of the SCTP protocol.

View File

@@ -105,7 +105,7 @@ NoBackhaulEpcHelper::NoBackhaulEpcHelper()
NetDeviceContainer tunDeviceContainer;
tunDeviceContainer.Add(m_tunDevice);
// the TUN device is on the same subnet as the UEs, so when a packet
// addressed to an UE arrives at the intenet to the WAN interface of
// addressed to an UE arrives at the internet to the WAN interface of
// the PGW it will be forwarded to the TUN device.
Ipv4InterfaceContainer tunDeviceIpv4IfContainer = AssignUeIpv4Address(tunDeviceContainer);

View File

@@ -31,7 +31,7 @@ fd = v_m_s / lambda; % doppler shift
% when working with an FFT, the normalized frequency w is
% w = 2 * pi * (f/fs) * t
% hence the max normalized frequency w=2*pi corresponds to f = fs,
% hence fs is also the max frequecy of our PowerSpectralDensity
% hence fs is also the max frequency of our PowerSpectralDensity
fs = 20e6;
% sampling period must be determined corresponding to the sampling

View File

@@ -192,7 +192,7 @@ class FdBetFfMacScheduler : public FfMacScheduler
/**
* Sched UL SR info request function
* \param params the Schedul UL SR info request parameters
* \param params the Schedule UL SR info request parameters
*/
void DoSchedUlSrInfoReq(const FfMacSchedSapProvider::SchedUlSrInfoReqParameters& params);

View File

@@ -125,7 +125,7 @@ class FdTbfqFfMacScheduler : public FfMacScheduler
friend class MemberSchedSapProvider<FdTbfqFfMacScheduler>;
/**
* Transmisson mode config update function
* Transmission mode config update function
* \param rnti the RNTI
* \param txMode the transmit mode
*/

View File

@@ -364,12 +364,12 @@ class LteEnbMac : public Object
private:
/**
* \brief UL Info List ELements HARQ Feedback function
* \brief UL Info List Elements HARQ Feedback function
* \param params UlInfoListElement_s
*/
void DoUlInfoListElementHarqFeedback(UlInfoListElement_s params);
/**
* \brief DL Info List ELements HARQ Feedback function
* \brief DL Info List Elements HARQ Feedback function
* \param params DlInfoListElement_s
*/
void DoDlInfoListElementHarqFeedback(DlInfoListElement_s params);

View File

@@ -71,7 +71,7 @@ class CarrierAggregationTestCase : public TestCase
*/
void DlScheduling(DlSchedulingCallbackInfo dlInfo);
/**
* UL Scheduling function that is used in this test as callback function of UL sceduling trace
* UL Scheduling function that is used in this test as callback function of UL scheduling trace
* \param frameNo the frame number
* \param subframeNo the subframe number
* \param rnti the RNTI

View File

@@ -150,19 +150,19 @@ LollipopCounterTest::DoRun()
*
* \brief Lollipop Counter TestSuite
*/
class LolipopCounterTestSuite : public TestSuite
class LollipopCounterTestSuite : public TestSuite
{
public:
LolipopCounterTestSuite();
LollipopCounterTestSuite();
private:
};
LolipopCounterTestSuite::LolipopCounterTestSuite()
LollipopCounterTestSuite::LollipopCounterTestSuite()
: TestSuite("lollipop-counter", Type::UNIT)
{
AddTestCase(new LollipopCounterTest(), TestCase::Duration::QUICK);
}
static LolipopCounterTestSuite
static LollipopCounterTestSuite
g_lollipopCounterTestSuite; //!< Static variable for test initialization

View File

@@ -681,7 +681,7 @@ main(int argc, char* argv[])
}
else
{
NS_FATAL_ERROR("Fatal error: scenario unavailble");
NS_FATAL_ERROR("Fatal error: scenario unavailable");
}
std::ofstream pingOfStream;

View File

@@ -442,14 +442,14 @@ WimaxHelper::AsciiTxEvent(Ptr<OutputStreamWrapper> stream,
ServiceFlow
WimaxHelper::CreateServiceFlow(ServiceFlow::Direction direction,
ServiceFlow::SchedulingType schedulinType,
ServiceFlow::SchedulingType schedulingType,
IpcsClassifierRecord classifier)
{
CsParameters csParam(CsParameters::ADD, classifier);
ServiceFlow serviceFlow = ServiceFlow(direction);
serviceFlow.SetConvergenceSublayerParam(csParam);
serviceFlow.SetCsSpecification(ServiceFlow::IPV4);
serviceFlow.SetServiceSchedulingType(schedulinType);
serviceFlow.SetServiceSchedulingType(schedulingType);
serviceFlow.SetMaxSustainedTrafficRate(100);
serviceFlow.SetMinReservedTrafficRate(1000000);
serviceFlow.SetMinTolerableTrafficRate(1000000);

View File

@@ -245,13 +245,13 @@ class WimaxHelper : public PcapHelperForDevice, public AsciiTraceHelperForDevice
/**
* \brief Creates a transport service flow.
* \param direction the direction of the service flow: UP or DOWN.
* \param schedulinType The service scheduling type to be used: UGS, RTPS, NRTPS, BE
* \param schedulingType The service scheduling type to be used: UGS, RTPS, NRTPS, BE
* \param classifier The classifier to be used for this service flow
* \return ServiceFlow
*
*/
ServiceFlow CreateServiceFlow(ServiceFlow::Direction direction,
ServiceFlow::SchedulingType schedulinType,
ServiceFlow::SchedulingType schedulingType,
IpcsClassifierRecord classifier);
/**