22 #ifndef LTE_CCM_MAC_SAP_H
23 #define LTE_CCM_MAC_SAP_H
25 #include <ns3/lte-rrc-sap.h>
26 #include <ns3/eps-bearer.h>
27 #include <ns3/lte-enb-cmac-sap.h>
28 #include <ns3/lte-mac-sap.h>
29 #include <ns3/ff-mac-common.h>
102 virtual void UlReceiveSr (uint16_t rnti, uint8_t componentCarrierId) = 0;
141 m_owner->DoReportMacCeToScheduler (bsr);
147 m_owner->DoReportSrToScheduler (rnti);
163 virtual void UlReceiveSr (uint16_t rnti, uint8_t componentCarrierId);
184 m_owner->DoUlReceiveMacCe (bsr, componentCarrierId);
190 m_owner->DoUlReceiveSr (rnti, componentCarrierId);
196 m_owner->DoNotifyPrbOccupancy (prbOccupancy, componentCarrierId);
202 m_owner->DoNotifyTxOpportunity (txOpParams);
208 m_owner->DoReceivePdu (rxPduParams);
214 m_owner->DoNotifyHarqDeliveryFailure ();
Service Access Point (SAP) offered by the component carrier manager (CCM) by MAC to CCM.
virtual void ReportMacCeToScheduler(MacCeListElement_s bsr)=0
Add the Buffer Status Report to the list.
virtual ~LteCcmMacSapProvider()
virtual void ReportSrToScheduler(uint16_t rnti)=0
Report SR to the right scheduler.
Service Access Point (SAP) offered by MAC to the component carrier manager (CCM).
virtual ~LteCcmMacSapUser()
virtual void UlReceiveMacCe(MacCeListElement_s bsr, uint8_t componentCarrierId)=0
When the Primary Component carrier receive a buffer status report it is sent to the CCM.
virtual void NotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId)=0
Notifies component carrier manager about physical resource block occupancy.
virtual void UlReceiveSr(uint16_t rnti, uint8_t componentCarrierId)=0
The MAC received a SR.
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
MemberLteCcmMacSapProvider class.
MemberLteCcmMacSapProvider(C *owner)
Constructor.
C * m_owner
the owner class
virtual void ReportSrToScheduler(uint16_t rnti) override
Report SR to the right scheduler.
virtual void ReportMacCeToScheduler(MacCeListElement_s bsr) override
Add the Buffer Status Report to the list.
MemberLteCcmMacSapUser class.
virtual void ReceivePdu(LteMacSapUser::ReceivePduParameters rxPduParams)
Called by the MAC to notify the RLC of the reception of a new PDU.
C * m_owner
the owner class
virtual void NotifyTxOpportunity(LteMacSapUser::TxOpportunityParameters txOpParams)
Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC...
virtual void NotifyPrbOccupancy(double prbOccupancy, uint8_t componentCarrierId)
Notifies component carrier manager about physical resource block occupancy.
virtual void NotifyHarqDeliveryFailure()
Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed.
virtual void UlReceiveSr(uint16_t rnti, uint8_t componentCarrierId)
The MAC received a SR.
MemberLteCcmMacSapUser(C *owner)
Constructor.
virtual void UlReceiveMacCe(MacCeListElement_s bsr, uint8_t componentCarrierId)
When the Primary Component carrier receive a buffer status report it is sent to the CCM.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Parameters for LteMacSapUser::ReceivePdu.
Parameters for LteMacSapUser::NotifyTxOpportunity.
See section 4.3.14 macCEListElement.