LEFT | RIGHT |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 { | 48 { |
49 m_miDlHarqProcessesInfoMap.clear (); | 49 m_miDlHarqProcessesInfoMap.clear (); |
50 m_miUlHarqProcessesInfoMap.clear (); | 50 m_miUlHarqProcessesInfoMap.clear (); |
51 } | 51 } |
52 | 52 |
53 | 53 |
54 void | 54 void |
55 LteHarqPhy::SubframeIndication (uint32_t frameNo, uint32_t subframeNo) | 55 LteHarqPhy::SubframeIndication (uint32_t frameNo, uint32_t subframeNo) |
56 { | 56 { |
57 NS_LOG_FUNCTION (this); | 57 NS_LOG_FUNCTION (this); |
58 NS_UNUSED(frameNo); | 58 NS_UNUSED (frameNo); |
59 NS_UNUSED(subframeNo); | 59 NS_UNUSED (subframeNo); |
60 | 60 |
61 // left shift UL HARQ buffers | 61 // left shift UL HARQ buffers |
62 std::map <uint16_t, std::vector <HarqProcessInfoList_t> >::iterator it; | 62 std::map <uint16_t, std::vector <HarqProcessInfoList_t> >::iterator it; |
63 for (it = m_miUlHarqProcessesInfoMap.begin (); it != m_miUlHarqProcessesInfoMa
p.end (); it++) | 63 for (it = m_miUlHarqProcessesInfoMap.begin (); it != m_miUlHarqProcessesInfoMa
p.end (); it++) |
64 { | 64 { |
65 (*it).second.erase ((*it).second.begin ()); | 65 (*it).second.erase ((*it).second.begin ()); |
66 HarqProcessInfoList_t h; | 66 HarqProcessInfoList_t h; |
67 (*it).second.push_back (h);······ | 67 (*it).second.push_back (h);······ |
68 } | 68 } |
69 | 69 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 else | 216 else |
217 { | 217 { |
218 (*it).second.at (id).clear (); | 218 (*it).second.at (id).clear (); |
219 } | 219 } |
220 } | 220 } |
221 | 221 |
222 | 222 |
223 | 223 |
224 | 224 |
225 } // end namespace | 225 } // end namespace |
LEFT | RIGHT |