lte: Add method to flush DL HARQ buffer
This commit is contained in:
@@ -216,6 +216,22 @@ LteHarqPhy::ResetUlHarqProcessStatus (uint16_t rnti, uint8_t id)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
LteHarqPhy::ClearDlHarqBuffer (uint16_t rnti)
|
||||
{
|
||||
NS_LOG_FUNCTION (this << rnti);
|
||||
// flush the DL harq buffers
|
||||
m_miDlHarqProcessesInfoMap.clear ();
|
||||
// Recreate DL Decodification HARQ buffers
|
||||
std::vector<HarqProcessInfoList_t> dlHarqLayer0;
|
||||
dlHarqLayer0.resize (8);
|
||||
std::vector<HarqProcessInfoList_t> dlHarqLayer1;
|
||||
dlHarqLayer1.resize (8);
|
||||
m_miDlHarqProcessesInfoMap.push_back (dlHarqLayer0);
|
||||
m_miDlHarqProcessesInfoMap.push_back (dlHarqLayer1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -137,6 +137,13 @@ public:
|
||||
*/
|
||||
void ResetUlHarqProcessStatus(uint16_t rnti, uint8_t id);
|
||||
|
||||
/**
|
||||
* \brief Clear the downlink HARQ buffer
|
||||
*
|
||||
* \param rnti the RNTI of the UE
|
||||
*/
|
||||
void ClearDlHarqBuffer (uint16_t rnti);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user