|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
22 #ifndef LTE_HARQ_PHY_MODULE_H
23 #define LTE_HARQ_PHY_MODULE_H
28 #include <ns3/assert.h>
32 #include <ns3/simple-ref-count.h>
HarqProcessInfoList_t GetHarqProcessInfoDl(uint8_t harqProcId, uint8_t layer)
Return the info of the HARQ procId in case of retransmissions for DL (asynchronous)
uint16_t m_infoBits
info bits
double GetAccumulatedMiDl(uint8_t harqProcId, uint8_t layer)
Return the cumulated MI of the HARQ procId in case of retransmissions for DL (asynchronous)
double GetAccumulatedMiUl(uint16_t rnti)
Return the cumulated MI of the HARQ procId in case of retransmissions for UL (synchronous)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
The LteHarqPhy class implements the HARQ functionalities related to PHY layer (i.e....
void ResetDlHarqProcessStatus(uint8_t id)
Reset the info associated to the decodification of an HARQ process for DL (asynchronous)
double m_mi
Mutual information.
std::map< uint16_t, std::vector< HarqProcessInfoList_t > > m_miUlHarqProcessesInfoMap
MI UL HARQ processes info map.
A template-based reference counting class.
std::vector< std::vector< HarqProcessInfoList_t > > m_miDlHarqProcessesInfoMap
MI DL HARQ processes info map.
void ClearDlHarqBuffer(uint16_t rnti)
Clear the downlink HARQ buffer.
uint16_t m_codeBits
code bits
log2() macro definition; to deal with Bug 1467.
void UpdateDlHarqProcessStatus(uint8_t id, uint8_t layer, double mi, uint16_t infoBytes, uint16_t codeBytes)
Update the Info associated to the decodification of an HARQ process for DL (asynchronous)
void SubframeIndication(uint32_t frameNo, uint32_t subframeNo)
Subframe Indication function.
HarqProcessInfoElement_t structure.
std::vector< HarqProcessInfoElement_t > HarqProcessInfoList_t
HarqProcessInfoList_t typedef.
uint8_t m_rv
Redundancy version.
HarqProcessInfoList_t GetHarqProcessInfoUl(uint16_t rnti, uint8_t harqProcId)
Return the info of the HARQ procId in case of retransmissions for UL (asynchronous)
void ResetUlHarqProcessStatus(uint16_t rnti, uint8_t id)
Reset the info associated to the decodification of an HARQ process for DL (asynchronous)
void UpdateUlHarqProcessStatus(uint16_t rnti, double mi, uint16_t infoBytes, uint16_t codeBytes)
Update the MI value associated to the decodification of an HARQ process for DL (asynchronous)