diff --git a/src/lte/model/lte-net-device.cc b/src/lte/model/lte-net-device.cc index 52f50f00b..5ffa10226 100644 --- a/src/lte/model/lte-net-device.cc +++ b/src/lte/model/lte-net-device.cc @@ -76,7 +76,6 @@ LteNetDevice::DoDispose (void) NS_LOG_FUNCTION (this); m_node = 0; - m_phyMacTxStartCallback = MakeNullCallback< bool, Ptr > (); NetDevice::DoDispose (); } @@ -184,14 +183,6 @@ LteNetDevice::SupportsSendFrom (void) const } -void -LteNetDevice::SetGenericPhyTxStartCallback (GenericPhyTxStartCallback c) -{ - NS_LOG_FUNCTION (this); - m_phyMacTxStartCallback = c; -} - - void LteNetDevice::Receive (Ptr p) { diff --git a/src/lte/model/lte-net-device.h b/src/lte/model/lte-net-device.h index b668f94af..1a176a8f6 100644 --- a/src/lte/model/lte-net-device.h +++ b/src/lte/model/lte-net-device.h @@ -51,13 +51,6 @@ public: virtual void DoDispose (void); - /** - * \brief set the callback used to instruct the lower layer to start a TX - * \param c - */ - void SetGenericPhyTxStartCallback (GenericPhyTxStartCallback c); - - // inherited from NetDevice virtual void SetIfIndex (const uint32_t index); virtual uint32_t GetIfIndex (void) const; @@ -139,7 +132,7 @@ private: NetDevice::ReceiveCallback m_rxCallback; NetDevice::PromiscReceiveCallback m_promiscRxCallback; - GenericPhyTxStartCallback m_phyMacTxStartCallback; + TracedCallback<> m_linkChangeCallbacks; uint32_t m_ifIndex;