Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various C++ fixes #224

Merged
merged 17 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
d117a43
LteMacEnb: check all accepted amcType value, throws error when not re…
ZoltanBojthe Apr 23, 2024
082eae4
CbrSender, VoIPSender: rename 'PacketSize' parameter to 'packetSize'
ZoltanBojthe Apr 15, 2024
49214bc
simulations: follow "CbrSender, VoIPSender: rename 'PacketSize' param…
ZoltanBojthe Apr 15, 2024
4840844
MecAppBase: fixed uninitialized pointer in HttpMessageStatus::process…
ZoltanBojthe Apr 16, 2024
b5f75ed
UERequestApp: fixed documentation
ZoltanBojthe Apr 19, 2024
c97285d
LteNicBase: fixed delegation of interfaceTableModule, routingTableMod…
ZoltanBojthe Apr 19, 2024
d32ab25
apps: mec: remove unused interfaceTableModule parameter
ZoltanBojthe Apr 19, 2024
725aaf3
LteMacEnb: fix: get const reference to HarqBuffers instead of copying it
ZoltanBojthe Apr 23, 2024
96b9dad
MecServiceBase: initialize(): call base class initialize() at the top
ZoltanBojthe May 9, 2024
b34f6f5
UALCMPApp: initialize(): call base class initialize() at the top
ZoltanBojthe May 9, 2024
efe5a7f
ServiceRegistry: initialize(): remove redundant call to indirect base…
ZoltanBojthe May 9, 2024
12eef8e
LteHarqProcessTx, LteHarqUnitTx, LteHarqBufferTx, etc: make classes n…
ZoltanBojthe May 28, 2024
8e9319c
LtePdcpRrc: removed redundant initialization of nodeId_
ZoltanBojthe May 28, 2024
d17c739
BackgroundTrafficManager: fix access of module parameter by the wrong…
ZoltanBojthe May 31, 2024
c321bf2
all: change calls to registerSignal(), as it is a *static* member fun…
ZoltanBojthe May 7, 2024
a2da3e0
LteRealisticChannelModel: remove duplicate binder_ member, already ex…
ZoltanBojthe May 21, 2024
727b1ec
LteDlFeedbackGenerator: replace getAncestorPar() call with par()
ZoltanBojthe Jun 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
LteMacEnb: check all accepted amcType value, throws error when not re…
…cognized it.
ZoltanBojthe committed May 8, 2024

Verified

This commit was signed with the committer’s verified signature.
Ant0wan Antoine Barthelemy
commit d117a43a01385932f4bbf6ccb9c6986d9515e444
4 changes: 3 additions & 1 deletion src/stack/mac/layer/LteMacEnb.cc
Original file line number Diff line number Diff line change
@@ -164,8 +164,10 @@ void LteMacEnb::initialize(int stage)
std::string amcType = par("amcType").stdstringValue();
if (amcType.compare("NRAmc") == 0)
amc_ = new NRAmc(this, binder_, cellInfo_, numAntennas_);
else
else if (amcType.compare("LteAmc") == 0)
amc_ = new LteAmc(this, binder_, cellInfo_, numAntennas_);
else
throw cRuntimeError("The amcType '%s' not recognized", amcType.c_str());

std::string modeString = par("pilotMode").stdstringValue();