A Discrete-Event Network Simulator
API
Public Member Functions | Private Attributes | List of all members
ns3::SimpleUeCcmMacSapUser Class Reference

SimpleUeCcmMacSapUser class. More...

+ Inheritance diagram for ns3::SimpleUeCcmMacSapUser:

Public Member Functions

 SimpleUeCcmMacSapUser (SimpleUeComponentCarrierManager *mac)
 Constructor. More...
 
virtual void NotifyHarqDeliveryFailure ()
 Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed. More...
 
virtual void NotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId, uint8_t componentCarrierId, uint16_t rnti, uint8_t lcid)
 Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC instance. More...
 
virtual void ReceivePdu (Ptr< Packet > p, uint16_t rnti, uint8_t lcid)
 Called by the MAC to notify the RLC of the reception of a new PDU. More...
 
- Public Member Functions inherited from ns3::LteMacSapUser
virtual ~LteMacSapUser ()
 

Private Attributes

SimpleUeComponentCarrierManagerm_mac
 the component carrier manager More...
 

Detailed Description

SimpleUeCcmMacSapUser class.

Definition at line 82 of file simple-ue-component-carrier-manager.cc.

Constructor & Destructor Documentation

◆ SimpleUeCcmMacSapUser()

ns3::SimpleUeCcmMacSapUser::SimpleUeCcmMacSapUser ( SimpleUeComponentCarrierManager mac)

Constructor.

Parameters
macthe component carrier manager

Definition at line 102 of file simple-ue-component-carrier-manager.cc.

Member Function Documentation

◆ NotifyHarqDeliveryFailure()

void ns3::SimpleUeCcmMacSapUser::NotifyHarqDeliveryFailure ( )
virtual

Called by the MAC to notify the RLC that an HARQ process related to this RLC instance has failed.

Todo:
eventual parameters to be defined

Implements ns3::LteMacSapUser.

Definition at line 122 of file simple-ue-component-carrier-manager.cc.

References ns3::SimpleUeComponentCarrierManager::DoNotifyHarqDeliveryFailure(), and m_mac.

◆ NotifyTxOpportunity()

void ns3::SimpleUeCcmMacSapUser::NotifyTxOpportunity ( uint32_t  bytes,
uint8_t  layer,
uint8_t  harqId,
uint8_t  componentCarrierId,
uint16_t  rnti,
uint8_t  lcid 
)
virtual

Called by the MAC to notify the RLC that the scheduler granted a transmission opportunity to this RLC instance.

Parameters
bytesthe number of bytes to transmit
layerthe layer of transmission (MIMO)
harqIdthe HARQ ID
componentCarrierIdcomponent carrier ID
rntithe RNTI
lcidthe LCID

Implements ns3::LteMacSapUser.

Definition at line 108 of file simple-ue-component-carrier-manager.cc.

References ns3::SimpleUeComponentCarrierManager::DoNotifyTxOpportunity(), m_mac, and NS_LOG_INFO.

◆ ReceivePdu()

void ns3::SimpleUeCcmMacSapUser::ReceivePdu ( Ptr< Packet p,
uint16_t  rnti,
uint8_t  lcid 
)
virtual

Called by the MAC to notify the RLC of the reception of a new PDU.

Parameters
pthe packet
rntithe RNTI
lcidthe LCID

Implements ns3::LteMacSapUser.

Definition at line 116 of file simple-ue-component-carrier-manager.cc.

References ns3::SimpleUeComponentCarrierManager::DoReceivePdu(), and m_mac.

Member Data Documentation

◆ m_mac

SimpleUeComponentCarrierManager* ns3::SimpleUeCcmMacSapUser::m_mac
private

the component carrier manager

Definition at line 99 of file simple-ue-component-carrier-manager.cc.

Referenced by NotifyHarqDeliveryFailure(), NotifyTxOpportunity(), and ReceivePdu().


The documentation for this class was generated from the following file: