Skip to content

Commit

Permalink
codespell: Fix additional typos found by codespell 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielcarvfer committed May 23, 2024
1 parent 8a2d461 commit bf3d763
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/energy/model/generic-battery-model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>())
Expand Down
2 changes: 1 addition & 1 deletion src/internet/helper/internet-stack-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/internet/model/tcp-bbr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion src/internet/test/tcp-bic-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/lte/doc/source/lte-design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/lte/helper/no-backhaul-epc-helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/lte/model/fading-traces/fading_trace_generator.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
% 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
Expand Down
2 changes: 1 addition & 1 deletion src/lte/model/fdbet-ff-mac-scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/lte/model/fdtbfq-ff-mac-scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/lte/model/lte-enb-mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/lte/test/lte-test-carrier-aggregation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/network/test/lollipop-counter-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/traffic-control/examples/fqcodel-l4s-example.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/wimax/helper/wimax-helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/wimax/helper/wimax-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down

0 comments on commit bf3d763

Please sign in to comment.