lte: (fixes #2666) remove deprecated variables/config paths (thanks to Hongyu Deng)
This commit is contained in:
@@ -706,7 +706,6 @@ LteHelper::InstallSingleEnbDevice (Ptr<Node> n)
|
||||
dev->SetAttribute ("LteEnbComponentCarrierManager", PointerValue (ccmEnbManager));
|
||||
dev->SetCcMap (ccMap);
|
||||
std::map<uint8_t,Ptr<ComponentCarrierEnb> >::iterator it = ccMap.begin ();
|
||||
dev->SetAttribute ("FfMacScheduler", PointerValue (it->second->GetFfMacScheduler ()));
|
||||
dev->SetAttribute ("LteEnbRrc", PointerValue (rrc));
|
||||
dev->SetAttribute ("LteHandoverAlgorithm", PointerValue (handoverAlgorithm));
|
||||
dev->SetAttribute ("LteFfrAlgorithm", PointerValue (it->second->GetFfrAlgorithm ()));
|
||||
|
||||
@@ -82,21 +82,6 @@ TypeId LteEnbNetDevice::GetTypeId (void)
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteEnbNetDevice::m_ffrAlgorithm),
|
||||
MakePointerChecker <LteFfrAlgorithm> ())
|
||||
.AddAttribute ("LteEnbMac",
|
||||
"The MAC associated to this EnbNetDevice",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteEnbNetDevice::m_mac),
|
||||
MakePointerChecker <LteEnbMac> ())
|
||||
.AddAttribute ("FfMacScheduler",
|
||||
"The scheduler associated to this EnbNetDevice",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteEnbNetDevice::m_scheduler),
|
||||
MakePointerChecker <FfMacScheduler> ())
|
||||
.AddAttribute ("LteEnbPhy",
|
||||
"The PHY associated to this EnbNetDevice",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteEnbNetDevice::m_phy),
|
||||
MakePointerChecker <LteEnbPhy> ())
|
||||
.AddAttribute ("LteEnbComponentCarrierManager",
|
||||
"The RRC associated to this EnbNetDevice",
|
||||
PointerValue (),
|
||||
|
||||
@@ -228,14 +228,8 @@ private:
|
||||
*/
|
||||
void UpdateConfig ();
|
||||
|
||||
Ptr<LteEnbMac> m_mac; /**< DEPRECATED - It is maintained for backward compatibility after adding CA feature*/
|
||||
|
||||
Ptr<LteEnbPhy> m_phy; /**< DEPRECATED - It is maintained for backward compatibility after adding CA feature*/
|
||||
|
||||
Ptr<LteEnbRrc> m_rrc; ///< the RRC
|
||||
|
||||
Ptr<FfMacScheduler> m_scheduler; /**< DEPRECATED - It is maintained for backward compatibility after adding CA feature*/
|
||||
|
||||
Ptr<LteHandoverAlgorithm> m_handoverAlgorithm; ///< the handover algorithm
|
||||
|
||||
Ptr<LteAnr> m_anr; ///< ANR
|
||||
|
||||
@@ -74,16 +74,6 @@ TypeId LteUeNetDevice::GetTypeId (void)
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteUeNetDevice::m_rrc),
|
||||
MakePointerChecker <LteUeRrc> ())
|
||||
.AddAttribute ("LteUeMac",
|
||||
"The MAC associated to this UeNetDevice",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteUeNetDevice::m_mac),
|
||||
MakePointerChecker <LteUeMac> ())
|
||||
.AddAttribute ("LteUePhy",
|
||||
"The PHY associated to this UeNetDevice",
|
||||
PointerValue (),
|
||||
MakePointerAccessor (&LteUeNetDevice::m_phy),
|
||||
MakePointerChecker <LteUePhy> ())
|
||||
.AddAttribute ("LteUeComponentCarrierManager",
|
||||
"The ComponentCarrierManager associated to this UeNetDevice",
|
||||
PointerValue (),
|
||||
|
||||
@@ -190,8 +190,6 @@ private:
|
||||
|
||||
Ptr<LteEnbNetDevice> m_targetEnb; ///< target ENB
|
||||
|
||||
Ptr<LteUeMac> m_mac; ///< the MAC
|
||||
Ptr<LteUePhy> m_phy; ///< the Phy
|
||||
Ptr<LteUeRrc> m_rrc; ///< the RRC
|
||||
Ptr<EpcUeNas> m_nas; ///< the NAS
|
||||
Ptr<LteUeComponentCarrierManager> m_componentCarrierManager; ///< the component carrier manager
|
||||
|
||||
@@ -198,7 +198,7 @@ LenaMimoTestCase::DoRun (void)
|
||||
Ptr<LteEnbNetDevice> enbNetDev = enbDevs.Get (0)->GetObject<LteEnbNetDevice> ();
|
||||
|
||||
PointerValue ptrval;
|
||||
enbNetDev->GetAttribute ("FfMacScheduler", ptrval);
|
||||
enbNetDev->GetCcMap()[0]->GetAttribute ("FfMacScheduler", ptrval);
|
||||
Ptr<PfFfMacScheduler> pfsched;
|
||||
Ptr<RrFfMacScheduler> rrsched;
|
||||
if (m_schedulerType.compare ("ns3::RrFfMacScheduler") == 0)
|
||||
|
||||
Reference in New Issue
Block a user