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) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2011 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 return; | 156 return; |
157 } | 157 } |
158 | 158 |
159 void | 159 void |
160 TdBetFfMacScheduler::DoCschedUeConfigReq (const struct FfMacCschedSapProvider::C
schedUeConfigReqParameters& params) | 160 TdBetFfMacScheduler::DoCschedUeConfigReq (const struct FfMacCschedSapProvider::C
schedUeConfigReqParameters& params) |
161 { | 161 { |
162 NS_LOG_FUNCTION (this << " RNTI " << params.m_rnti << " txMode " << (uint16_t)
params.m_transmissionMode); | 162 NS_LOG_FUNCTION (this << " RNTI " << params.m_rnti << " txMode " << (uint16_t)
params.m_transmissionMode); |
163 std::map <uint16_t,uint8_t>::iterator it = m_uesTxMode.find (params.m_rnti); | 163 std::map <uint16_t,uint8_t>::iterator it = m_uesTxMode.find (params.m_rnti); |
164 if (it == m_uesTxMode.end ()) | 164 if (it == m_uesTxMode.end ()) |
165 { | 165 { |
166 m_uesTxMode.insert (std::pair <uint16_t, double> (params.m_rnti, params.m_
transmissionMode)); | 166 m_uesTxMode.insert (std::pair <uint16_t, uint8_t> (params.m_rnti, params.m
_transmissionMode)); |
167 // generate HARQ buffers | 167 // generate HARQ buffers |
168 m_dlHarqCurrentProcessId.insert (std::pair <uint16_t,uint8_t > (params.m_r
nti, 0)); | 168 m_dlHarqCurrentProcessId.insert (std::pair <uint16_t,uint8_t > (params.m_r
nti, 0)); |
169 DlHarqProcessesStatus_t dlHarqPrcStatus; | 169 DlHarqProcessesStatus_t dlHarqPrcStatus; |
170 dlHarqPrcStatus.resize (8,0); | 170 dlHarqPrcStatus.resize (8,0); |
171 m_dlHarqProcessesStatus.insert (std::pair <uint16_t, DlHarqProcessesStatus
_t> (params.m_rnti, dlHarqPrcStatus)); | 171 m_dlHarqProcessesStatus.insert (std::pair <uint16_t, DlHarqProcessesStatus
_t> (params.m_rnti, dlHarqPrcStatus)); |
172 DlHarqProcessesTimer_t dlHarqProcessesTimer; | 172 DlHarqProcessesTimer_t dlHarqProcessesTimer; |
173 dlHarqProcessesTimer.resize (8,0); | 173 dlHarqProcessesTimer.resize (8,0); |
174 m_dlHarqProcessesTimer.insert (std::pair <uint16_t, DlHarqProcessesTimer_t
> (params.m_rnti, dlHarqProcessesTimer)); | 174 m_dlHarqProcessesTimer.insert (std::pair <uint16_t, DlHarqProcessesTimer_t
> (params.m_rnti, dlHarqProcessesTimer)); |
175 DlHarqProcessesDciBuffer_t dlHarqdci; | 175 DlHarqProcessesDciBuffer_t dlHarqdci; |
176 dlHarqdci.resize (8); | 176 dlHarqdci.resize (8); |
(...skipping 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1971 { | 1971 { |
1972 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); | 1972 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); |
1973 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; | 1973 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; |
1974 params.m_rnti = rnti; | 1974 params.m_rnti = rnti; |
1975 params.m_transmissionMode = txMode; | 1975 params.m_transmissionMode = txMode; |
1976 m_cschedSapUser->CschedUeConfigUpdateInd (params); | 1976 m_cschedSapUser->CschedUeConfigUpdateInd (params); |
1977 } | 1977 } |
1978 | 1978 |
1979 | 1979 |
1980 } | 1980 } |
LEFT | RIGHT |