24 #include <ns3/pointer.h>
25 #include <ns3/packet.h>
26 #include <ns3/simulator.h>
33 #include <ns3/lte-enb-mac.h>
34 #include <ns3/lte-radio-bearer-tag.h>
35 #include <ns3/lte-ue-phy.h>
37 #include "ns3/lte-mac-sap.h"
38 #include <ns3/lte-common.h>
62 virtual void ConfigureMac (uint8_t ulBandwidth, uint8_t dlBandwidth);
63 virtual void AddUe (uint16_t rnti);
64 virtual void RemoveUe (uint16_t rnti);
67 virtual void ReleaseLc (uint16_t rnti, uint8_t lcid);
319 .AddConstructor<LteEnbMac> ()
320 .AddAttribute (
"NumberOfRaPreambles",
321 "how many random access preambles are available for the contention based RACH process",
324 MakeUintegerChecker<uint8_t> (4, 64))
325 .AddAttribute (
"PreambleTransMax",
326 "Maximum number of random access preamble transmissions",
329 MakeUintegerChecker<uint8_t> (3, 200))
330 .AddAttribute (
"RaResponseWindowSize",
331 "length of the window (in TTIs) for the reception of the random access response (RAR); the resulting RAR timeout is this value + 3 ms",
334 MakeUintegerChecker<uint8_t> (2, 10))
335 .AddTraceSource (
"DlScheduling",
336 "Information regarding DL scheduling.",
338 .AddTraceSource (
"UlScheduling",
339 "Information regarding UL scheduling.",
449 NS_LOG_FUNCTION (
this <<
" EnbMac - frame " << frameNo <<
" subframe " << subframeNo);
461 dlcqiInfoReq.
m_sfnSf = ((0x3FF & frameNo) << 4) | (0xF & subframeNo);
477 NS_ASSERT (subframeNo > 0 && subframeNo <= 10);
482 NS_LOG_INFO (
this <<
" preambleId " << (uint32_t) it->first <<
": " << it->second <<
" received");
486 NS_LOG_INFO (
"preambleId " << (uint32_t) it->first <<
": collision");
496 rnti = jt->second.rnti;
497 NS_LOG_INFO (
"preambleId previously allocated for NC based RA, RNTI =" << (uint32_t) rnti <<
", sending RAR");
503 NS_LOG_INFO (
"preambleId " << (uint32_t) it->first <<
": allocated T-C-RNTI " << (uint32_t) rnti <<
", sending RAR");
509 rachInfoReqParams.
m_rachList.push_back (rachLe);
510 m_rapIdRntiMap.insert (std::pair <uint16_t, uint32_t> (rnti, it->first));
530 dlparams.
m_sfnSf = ((0x3FF & dlSchedFrameNo) << 4) | (0xF & dlSchedSubframeNo);
545 std::vector <FfMacSchedSapProvider::SchedUlCqiInfoReqParameters>::iterator itCqi;
550 m_ulCqiReceived.at (i).m_sfnSf = ((0x3FF & frameNo) << 4) | (0xF & (subframeNo - 1));
554 m_ulCqiReceived.at (i).m_sfnSf = ((0x3FF & (frameNo-1)) << 4) | (0xF & 10);
564 ulMacReq.
m_sfnSf = ((0x3FF & frameNo) << 4) | (0xF & subframeNo);
585 ulparams.
m_sfnSf = ((0x3FF & ulSchedFrameNo) << 4) | (0xF & ulSchedSubframeNo);
621 NS_LOG_LOGIC (
this <<
" LteControlMessage type " << msg->GetMessageType () <<
" not recognized");
710 uint16_t rnti = tag.
GetRnti ();
712 std::map <uint16_t, std::map<uint8_t, LteMacSapUser*> >::iterator rntiIt =
m_rlcAttached.find (rnti);
714 std::map<uint8_t, LteMacSapUser*>::iterator lcidIt = rntiIt->second.find (lcid);
715 NS_ASSERT_MSG (lcidIt != rntiIt->second.end (),
"could not find LCID" << lcid);
716 (*lcidIt).second->ReceivePdu (p);
729 NS_LOG_FUNCTION (
this <<
" ulBandwidth=" << (uint16_t) ulBandwidth <<
" dlBandwidth=" << (uint16_t) dlBandwidth);
744 std::map<uint8_t, LteMacSapUser*>
empty;
745 std::pair <std::map <uint16_t, std::map<uint8_t, LteMacSapUser*> >::iterator,
bool>
746 ret =
m_rlcAttached.insert (std::pair <uint16_t, std::map<uint8_t, LteMacSapUser*> >
748 NS_ASSERT_MSG (ret.second,
"element already present, RNTI already existed");
757 std::vector < Ptr<PacketBurst> > dlHarqLayer0pkt;
758 dlHarqLayer0pkt.resize (8);
759 for (uint8_t i = 0; i < 8; i++)
762 dlHarqLayer0pkt.at (i) = pb;
764 std::vector < Ptr<PacketBurst> > dlHarqLayer1pkt;
765 dlHarqLayer1pkt.resize (8);
766 for (uint8_t i = 0; i < 8; i++)
769 dlHarqLayer1pkt.at (i) = pb;
772 buf.push_back (dlHarqLayer0pkt);
773 buf.push_back (dlHarqLayer1pkt);
793 std::map <LteFlowId_t, LteMacSapUser* >::iterator it;
797 std::map <uint16_t, std::map<uint8_t, LteMacSapUser*> >::iterator rntiIt =
m_rlcAttached.find (lcinfo.
rnti);
799 std::map<uint8_t, LteMacSapUser*>::iterator lcidIt = rntiIt->second.find (lcinfo.
lcId);
800 if (lcidIt == rntiIt->second.end ())
802 rntiIt->second.insert (std::pair<uint8_t, LteMacSapUser*> (lcinfo.
lcId, msu));
813 if (lcinfo.
lcId != 0)
886 preambleInfo.
rnti = rnti;
887 NS_LOG_INFO (
"allocated preamble for NC based RA: preamble " << preambleId <<
", RNTI " << preambleInfo.
rnti <<
", exiryTime " << preambleInfo.
expiryTime);
960 std::map <LteFlowId_t, LteMacSapUser* >::iterator it;
964 for (uint16_t layer = 0; layer < ind.
m_buildDataList.at (i).m_dci.m_ndi.size (); layer++)
971 for (uint16_t lcId = 0; lcId < (*it).second.size (); lcId ++)
974 (*it).second.at (lcId).at (ind.
m_buildDataList.at (i).m_dci.m_harqProcess) = pb;
978 for (
unsigned int j = 0; j < ind.
m_buildDataList.at (i).m_rlcPduList.size (); j++)
980 for (uint16_t k = 0; k < ind.
m_buildDataList.at (i).m_rlcPduList.at (j).size (); k++)
986 uint8_t lcid = ind.
m_buildDataList.at (i).m_rlcPduList.at (j).at (k).m_logicalChannelIdentity;
987 std::map <uint16_t, std::map<uint8_t, LteMacSapUser*> >::iterator rntiIt =
m_rlcAttached.find (rnti);
989 std::map<uint8_t, LteMacSapUser*>::iterator lcidIt = rntiIt->second.find (lcid);
990 NS_ASSERT_MSG (lcidIt != rntiIt->second.end (),
"could not find LCID" << lcid);
991 NS_LOG_DEBUG (
this <<
" rnti= " << rnti <<
" lcid= " << (uint32_t) lcid <<
" layer= " << k);
992 (*lcidIt).second->NotifyTxOpportunity (ind.
m_buildDataList.at (i).m_rlcPduList.at (j).at (k).m_size, k, ind.
m_buildDataList.at (i).m_dci.m_harqProcess);
1042 NS_FATAL_ERROR (
"Found element with more than two transport blocks");
1059 rarMsg->SetRaRnti (raRnti);
1068 rar.
rapId = itRapId->second;
1070 rarMsg->AddRar (rar);
1086 for (
unsigned int i = 0; i < ind.
m_dciList.size (); i++)
1095 for ( uint32_t i = 0; i < ind.
m_dciList.size (); i++ )
1176 for (uint8_t layer = 0; layer < params.
m_harqStatus.size (); layer++)
std::vector< struct UlInfoListElement_s > m_ulInfoList
void DoConfigureMac(uint8_t ulBandwidth, uint8_t dlBandwidth)
void DoReconfigureLc(LteEnbCmacSapProvider::LcInfo lcinfo)
FfMacSchedSapUser * m_schedSapUser
Parameters of the CSCHED_LC_CONFIG_CNF primitive.
virtual void UlCqiReport(FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ulcqi)
Returns to MAC level the UL-CQI evaluated.
uint8_t GetLcid(void) const
EnbMacMemberFfMacCschedSapUser(LteEnbMac *mac)
void DoDlInfoListElementHarqFeeback(DlInfoListElement_s params)
a MAC RAR and the corresponding RAPID subheader
#define NS_LOG_FUNCTION(parameters)
std::vector< FfMacSchedSapProvider::SchedUlCqiInfoReqParameters > m_ulCqiReceived
uint8_t m_logicalChannelIdentity
uint16_t m_rnti
UE id within this cell.
virtual void CschedUeConfigReq(const struct CschedUeConfigReqParameters ¶ms)=0
Parameters of the CSCHED_UE_CONFIG_CNF primitive.
Parameters of the CSCHED_UE_RELEASE_REQ primitive.
uint8_t m_transmissionMode
Transmission mode 1..7
void DoReceivePhyPdu(Ptr< Packet > p)
virtual void ReconfigureLc(LcInfo lcinfo)
Reconfigure an existing logical channel.
uint16_t GetRnti(void) const
Parameters of the CSCHED_CELL_CONFIG_UPDATE_IND primitive.
void DoUlInfoListElementHarqFeeback(UlInfoListElement_s params)
LteEnbCmacSapProvider * m_cmacSapProvider
std::map< uint16_t, std::map< uint8_t, LteMacSapUser * > > m_rlcAttached
enum ns3::UlCqi_s::Type_e m_type
void DoAddLc(LteEnbCmacSapProvider::LcInfo lcinfo, LteMacSapUser *msu)
LteEnbCmacSapProvider::RachConfig DoGetRachConfig()
virtual void SchedDlConfigInd(const struct SchedDlConfigIndParameters ¶ms)
void DoCschedCellConfigUpdateInd(FfMacCschedSapUser::CschedCellConfigUpdateIndParameters params)
void DoReleaseLc(uint16_t rnti, uint8_t lcid)
void SetLteEnbCmacSapUser(LteEnbCmacSapUser *s)
Set the control MAC SAP user.
void AddPacketTag(const Tag &tag) const
Add a packet tag.
void DoSchedUlConfigInd(FfMacSchedSapUser::SchedUlConfigIndParameters params)
uint8_t raResponseWindowSize
std::vector< struct LogicalChannelConfigListElement_s > m_logicalChannelConfigList
uint8_t qci
QoS Class Identifier.
#define NS_ASSERT(condition)
NS_OBJECT_ENSURE_REGISTERED(NullMessageSimulatorImpl)
virtual void SchedUlTriggerReq(const struct SchedUlTriggerReqParameters ¶ms)=0
virtual void ReceiveRachPreamble(uint32_t prachId)
notify the reception of a RACH preamble on the PRACH
uint8_t m_preambleTransMax
uint8_t m_transmissionMode
Transmission mode 1..7
virtual uint8_t GetMacChTtiDelay()=0
Get the delay from MAC to Channel expressed in TTIs.
std::vector< struct UlDciListElement_s > m_dciList
See section 4.3.24 cqiListElement.
uint32_t retxQueueSize
the current size of the RLC retransmission queue in bytes
TracedCallback< uint32_t, uint32_t, uint16_t, uint8_t, uint16_t > m_ulScheduling
Trace information regarding UL scheduling Frame number, Subframe number, RNTI, MCS of TB...
Parameters of the CSCHED_UE_CONFIG_UPDATE_IND primitive.
virtual void AddLc(LcInfo lcinfo, LteMacSapUser *msu)
Add a new logical channel.
uint64_t mbrDl
maximum bitrate in downlink
void DoTransmitPdu(LteMacSapProvider::TransmitPduParameters)
friend class EnbMacMemberFfMacCschedSapUser
Service Access Point (SAP) offered by the eNB-PHY to the eNB-MAC.
uint32_t m_rlcRetransmissionQueueSize
virtual void SchedDlTriggerReq(const struct SchedDlTriggerReqParameters ¶ms)=0
uint8_t m_transmissionMode
See section 4.3.12 ulInfoListElement.
void DoAddUe(uint16_t rnti)
virtual void SchedDlRlcBufferReq(const struct SchedDlRlcBufferReqParameters ¶ms)=0
Parameters of the SCHED_DL_TRIGGER_REQ primitive.
uint8_t lcid
the logical channel id corresponding to the sending RLC instance
uint8_t m_logicalChannelIdentity
virtual void ConfigureMac(uint8_t ulBandwidth, uint8_t dlBandwidth)
Service Access Point (SAP) offered by the eNB-PHY to the eNB-MAC.
uint16_t rnti
the C-RNTI identifying the UE
FfMacCschedSapUser * GetFfMacCschedSapUser(void)
Get the control scheduler SAP user.
uint64_t m_eRabGuaranteedBitrateDl
#define NS_FATAL_ERROR(msg)
fatal error handling
virtual AllocateNcRaPreambleReturnValue AllocateNcRaPreamble(uint16_t rnti)
Allocate a random access preamble for non-contention based random access (e.g., for handover)...
LteMacSapProvider * GetLteMacSapProvider(void)
Get the MAC SAP provider.
Parameters for LteMacSapProvider::ReportBufferStatus.
std::map< uint8_t, uint32_t > m_receivedRachPreambleCount
FfMacCschedSapUser * m_cschedSapUser
See section 4.3.4 logicalChannelConfigListElement.
Service Access Point (SAP) offered by the MAC to the RRC See Femto Forum MAC Scheduler Interface Spec...
uint16_t txQueueHolDelay
the Head Of Line delay of the transmission queue
void SetFfMacCschedSapProvider(FfMacCschedSapProvider *s)
Set the control scheduler SAP provider.
uint8_t lcId
logical channel identifier
Parameters of the CSCHED_LC_RELEASE_CNF primitive.
uint16_t m_rnti
UE id within this cell.
LteEnbPhySapProvider * m_enbPhySapProvider
enum ns3::LogicalChannelConfigListElement_s::Direction_e m_direction
virtual void CschedLcConfigCnf(const struct CschedLcConfigCnfParameters ¶ms)
LteEnbPhySapUser * m_enbPhySapUser
FfMacSchedSapUser * GetFfMacSchedSapUser(void)
Get the scheduler SAP user.
make Callback use a separate empty type
void DoCschedUeConfigCnf(FfMacCschedSapUser::CschedUeConfigCnfParameters params)
virtual void RrcConfigurationUpdateInd(UeConfig params)=0
Notify the RRC of a UE config updated requested by the MAC (normally, by the scheduler) ...
virtual void SendMacPdu(Ptr< Packet > p)=0
Send the MAC PDU to the channel.
virtual void CschedLcReleaseCnf(const struct CschedLcReleaseCnfParameters ¶ms)
void DoUeUpdateConfigurationReq(LteEnbCmacSapProvider::UeConfig params)
Parameters of the SCHED_UL_TRIGGER_REQ primitive.
Hold an unsigned integer type.
EnbMacMemberLteEnbCmacSapProvider(LteEnbMac *mac)
Logical Channel information to be passed to CmacSapProvider::ConfigureLc.
std::map< uint8_t, uint32_t > m_rapIdRntiMap
uint16_t rnti
rnti previously allocated for this non-contention based RA procedure
uint16_t rnti
the C-RNTI identifying the UE
void DoCschedLcReleaseCnf(FfMacCschedSapUser::CschedLcReleaseCnfParameters params)
Parameters of the API primitives.
static TypeId GetTypeId(void)
void DoUlCqiReport(FfMacSchedSapProvider::SchedUlCqiInfoReqParameters ulcqi)
virtual void UlInfoListElementHarqFeeback(UlInfoListElement_s params)
Notify the HARQ on the UL tranmission status.
virtual void SchedDlRachInfoReq(const struct SchedDlRachInfoReqParameters ¶ms)=0
virtual void AddUe(uint16_t rnti)
uint64_t m_eRabGuaranteedBitrateUl
friend class EnbMacMemberLteEnbCmacSapProvider
NS_LOG_COMPONENT_DEFINE("LteEnbMac")
virtual void DoDispose(void)
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
enum ns3::LogicalChannelConfigListElement_s::QosBearerType_e m_qosBearerType
void ReceiveBsrMessage(MacCeListElement_s bsr)
Receive a CE element containing the buffer status report.
virtual RachConfig GetRachConfig()
virtual void SchedUlConfigInd(const struct SchedUlConfigIndParameters ¶ms)
#define NS_LOG_LOGIC(msg)
uint16_t m_rlcRetransmissionHolDelay
std::vector< struct CqiListElement_s > m_cqiList
uint8_t m_raResponseWindowSize
std::vector< struct DlInfoListElement_s > m_dlInfoList
See section 4.3.23 dlInfoListElement.
virtual void CschedCellConfigReq(const struct CschedCellConfigReqParameters ¶ms)=0
CSCHED_CELL_CONFIG_REQ.
BuildRarListElement_s rarPayload
void DoReceiveRachPreamble(uint8_t prachId)
void DoRemoveUe(uint16_t rnti)
See section 4.3.14 macCEListElement.
Parameters for [re]configuring the UE.
Ptr< Packet > Copy(void) const
virtual void ReleaseLc(uint16_t rnti, uint8_t lcid)
release an existing logical channel
uint64_t m_eRabMaximulBitrateUl
LteEnbCmacSapProvider::AllocateNcRaPreambleReturnValue DoAllocateNcRaPreamble(uint16_t rnti)
uint8_t m_numberOfRaPreambles
Parameters of the API primitives.
uint8_t numberOfRaPreambles
uint8_t layer
the layer value that was passed by the MAC in the call to NotifyTxOpportunity that generated this PDU...
virtual void CschedUeConfigCnf(const struct CschedUeConfigCnfParameters ¶ms)
virtual void CschedUeReleaseReq(const struct CschedUeReleaseReqParameters ¶ms)=0
uint8_t lcGroup
logical channel group
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
uint64_t m_eRabMaximulBitrateDl
void DoReportBufferStatus(LteMacSapProvider::ReportBufferStatusParameters)
virtual void CschedUeReleaseCnf(const struct CschedUeReleaseCnfParameters ¶ms)
Parameters of the CSCHED_LC_CONFIG_REQ primitive.
std::vector< enum HarqStatus_e > m_harqStatus
virtual void CschedCellConfigUpdateInd(const struct CschedCellConfigUpdateIndParameters ¶ms)
LteEnbCmacSapProvider * GetLteEnbCmacSapProvider(void)
Get the control MAC SAP provider.
uint32_t m_rlcTransmissionQueueSize
Parameters for [re]configuring the UE.
uint8_t lcid
the logical channel id corresponding to the sending RLC instance
std::vector< UlInfoListElement_s > m_ulInfoListReceived
uint32_t txQueueSize
the current size of the RLC transmission queue
static Time Now(void)
Return the "current simulation time".
EnbMacMemberLteEnbPhySapUser(LteEnbMac *mac)
See section 4.3.6 rachListElement.
LteMacSapProvider * m_macSapProvider
std::vector< CqiListElement_s > m_dlCqiReceived
virtual void CschedCellConfigCnf(const struct CschedCellConfigCnfParameters ¶ms)
virtual void UeUpdateConfigurationReq(UeConfig params)
update the configuration of the UE
#define NS_ASSERT_MSG(condition, message)
virtual void SchedUlCqiInfoReq(const struct SchedUlCqiInfoReqParameters ¶ms)=0
uint16_t rnti
C-RNTI identifying the UE.
std::vector< MacCeListElement_s > m_ulCeReceived
Parameters of the SCHED_DL_CQI_INFO_REQ primitive.
std::vector< struct MacCeListElement_s > m_macCeList
virtual void SchedUlMacCtrlInfoReq(const struct SchedUlMacCtrlInfoReqParameters ¶ms)=0
Parameters of the API primitives.
std::vector< std::vector< Ptr< PacketBurst > > > DlHarqProcessesBuffer_t
uint64_t mbrUl
maximum bitrate in uplink
void DoCschedUeReleaseCnf(FfMacCschedSapUser::CschedUeReleaseCnfParameters params)
std::vector< struct RachListElement_s > m_rachList
std::vector< DlInfoListElement_s > m_dlInfoListReceived
void SetLteEnbPhySapProvider(LteEnbPhySapProvider *s)
Set the PHY SAP Provider.
LteEnbCmacSapUser * m_cmacSapUser
uint64_t gbrUl
guaranteed bitrate in uplink
virtual void SubframeIndication(uint32_t frameNo, uint32_t subframeNo)
Trigger the start from a new frame (input from Phy layer)
uint16_t statusPduSize
the current size of the pending STATUS RLC PDU message in bytes
Parameters of the SCHED_UL_CQI_INFO_REQ primitive.
LteEnbPhySapUser * GetLteEnbPhySapUser()
Get the eNB-PHY SAP User.
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
uint8_t m_transmissionMode
struct defining the RACH configuration of the MAC
FfMacSchedSapProvider * m_schedSapProvider
bool RemovePacketTag(Tag &tag)
Remove a packet tag.
Parameters of the API primitives.
Parameters of the SCHED_UL_MAC_CTRL_INFO_REQ primitive.
#define NS_LOG_DEBUG(msg)
virtual void ReceivePhyPdu(Ptr< Packet > p)
Called by the Phy to notify the MAC of the reception of a new PHY-PDU.
void DoCschedUeConfigUpdateInd(FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params)
LteMacSapUser * m_macSapUser
void DoSchedDlConfigInd(FfMacSchedSapUser::SchedDlConfigIndParameters ind)
uint16_t retxQueueHolDelay
the Head Of Line delay of the retransmission queue
virtual void CschedLcConfigReq(const struct CschedLcConfigReqParameters ¶ms)=0
Ptr< Packet > pdu
the RLC PDU
Service Access Point (SAP) offered by the MAC to the RLC See Femto Forum MAC Scheduler Interface Spec...
Tag used to define the RNTI and LC id for each MAC packet trasmitted.
bool valid
true if a valid RA config was allocated, false otherwise
uint16_t m_rlcStatusPduSize
void SetLteMacSapUser(LteMacSapUser *s)
Set the MAC SAP user.
virtual void SendLteControlMessage(Ptr< LteControlMessage > msg)=0
Send SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.
virtual void ReceiveLteControlMessage(Ptr< LteControlMessage > msg)
Receive SendLteControlMessage (PDCCH map, CQI feedbacks) using the ideal control channel.
#define NS_LOG_ERROR(msg)
Parameters of the SCHED_DL_RACH_INFO_REQ primitive.
void DoCschedLcConfigCnf(FfMacCschedSapUser::CschedLcConfigCnfParameters params)
Parameters of the SCHED_UL_CONFIG_IND primitive.
virtual void SchedDlCqiInfoReq(const struct SchedDlCqiInfoReqParameters ¶ms)=0
void DoReceiveLteControlMessage(Ptr< LteControlMessage > msg)
a base class which provides memory management and object aggregation
uint16_t m_rlcTransmissionQueueHolDelay
virtual void CschedUeConfigUpdateInd(const struct CschedUeConfigUpdateIndParameters ¶ms)
friend class EnbMacMemberLteEnbPhySapUser
Parameters of the CSCHED_UE_CONFIG_REQ primitive.
std::map< uint8_t, NcRaPreambleInfo > m_allocatedNcRaPreambleMap
map storing as key the random acccess preamble IDs allocated for non-contention based access...
Service Access Point (SAP) offered by the eNB MAC to the eNB RRC See Femto Forum MAC Scheduler Interf...
uint64_t gbrDl
guaranteed bitrate in downlink
uint8_t harqProcessId
the HARQ process id that was passed by the MAC in the call to NotifyTxOpportunity that generated this...
friend class EnbMacMemberFfMacSchedSapUser
uint8_t raPreambleId
random access preamble id
TracedCallback< uint32_t, uint32_t, uint16_t, uint8_t, uint16_t, uint8_t, uint16_t > m_dlScheduling
Trace information regarding DL scheduling Frame number, Subframe number, RNTI, MCS of TB1...
virtual void DlInfoListElementHarqFeeback(DlInfoListElement_s params)
Notify the HARQ on the DL tranmission status.
std::vector< struct BuildRarListElement_s > m_buildRarList
std::map< uint16_t, DlHarqProcessesBuffer_t > m_miDlHarqProcessesPackets
info associated with a preamble allocated for non-contention based RA
a unique identifier for an interface.
void DoSubframeIndication(uint32_t frameNo, uint32_t subframeNo)
EnbMacMemberFfMacSchedSapUser(LteEnbMac *mac)
uint8_t GetLayer(void) const
TypeId SetParent(TypeId tid)
virtual uint16_t AllocateTemporaryCellRnti()=0
request the allocation of a Temporary C-RNTI
This class implements the MAC layer of the eNodeB device.
Parameters of the CSCHED_UE_RELEASE_CNF primitive.
void SetFfMacSchedSapProvider(FfMacSchedSapProvider *s)
Set the scheduler SAP provider.
virtual void RemoveUe(uint16_t rnti)
remove the UE, e.g., after handover or termination of the RRC connection
FfMacCschedSapProvider * m_cschedSapProvider
bool isGbr
true if the bearer is GBR, false if the bearer is NON-GBR
std::vector< struct BuildDataListElement_s > m_buildDataList
#define UL_PUSCH_TTIS_DELAY
Time expiryTime
value the expiration time of this allocation (so that stale preambles can be reused) ...
void ReceiveDlCqiLteControlMessage(Ptr< DlCqiLteControlMessage > msg)
Receive a DL CQI ideal control message.
void DoCschedCellConfigCnf(FfMacCschedSapUser::CschedCellConfigCnfParameters params)
uint8_t m_logicalChannelGroup
Parameters for LteMacSapProvider::TransmitPdu.