Skip to content

Commit

Permalink
lte: Update global pathloss database to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
ZorazeAli committed Aug 26, 2018
1 parent d495008 commit 07bd8e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/lte/helper/lte-global-pathloss-database.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ LteGlobalPathlossDatabase::GetPathloss (uint16_t cellId, uint64_t imsi)

void
DownlinkLteGlobalPathlossDatabase::UpdatePathloss (std::string context,
Ptr<SpectrumPhy> txPhy,
Ptr<SpectrumPhy> rxPhy,
Ptr<const SpectrumPhy> txPhy,
Ptr<const SpectrumPhy> rxPhy,
double lossDb)
{
NS_LOG_FUNCTION (this << lossDb);
Expand All @@ -85,8 +85,8 @@ DownlinkLteGlobalPathlossDatabase::UpdatePathloss (std::string context,

void
UplinkLteGlobalPathlossDatabase::UpdatePathloss (std::string context,
Ptr<SpectrumPhy> txPhy,
Ptr<SpectrumPhy> rxPhy,
Ptr<const SpectrumPhy> txPhy,
Ptr<const SpectrumPhy> rxPhy,
double lossDb)
{
NS_LOG_FUNCTION (this << lossDb);
Expand Down
6 changes: 3 additions & 3 deletions src/lte/helper/lte-global-pathloss-database.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class LteGlobalPathlossDatabase
* \param rxPhy the receiving PHY
* \param lossDb the loss in dB
*/
virtual void UpdatePathloss (std::string context, Ptr<SpectrumPhy> txPhy, Ptr<SpectrumPhy> rxPhy, double lossDb) = 0;
virtual void UpdatePathloss (std::string context, Ptr<const SpectrumPhy> txPhy, Ptr<const SpectrumPhy> rxPhy, double lossDb) = 0;

/**
*
Expand Down Expand Up @@ -87,7 +87,7 @@ class DownlinkLteGlobalPathlossDatabase : public LteGlobalPathlossDatabase
{
public:
// inherited from LteGlobalPathlossDatabase
virtual void UpdatePathloss (std::string context, Ptr<SpectrumPhy> txPhy, Ptr<SpectrumPhy> rxPhy, double lossDb);
virtual void UpdatePathloss (std::string context, Ptr<const SpectrumPhy> txPhy, Ptr<const SpectrumPhy> rxPhy, double lossDb);
};

/**
Expand All @@ -98,7 +98,7 @@ class UplinkLteGlobalPathlossDatabase : public LteGlobalPathlossDatabase
{
public:
// inherited from LteGlobalPathlossDatabase
virtual void UpdatePathloss (std::string context, Ptr<SpectrumPhy> txPhy, Ptr<SpectrumPhy> rxPhy, double lossDb);
virtual void UpdatePathloss (std::string context, Ptr<const SpectrumPhy> txPhy, Ptr<const SpectrumPhy> rxPhy, double lossDb);
};


Expand Down

0 comments on commit 07bd8e2

Please sign in to comment.