OLD | NEW |
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 18 matching lines...) Expand all Loading... |
29 #include <ns3/rr-ff-mac-scheduler.h> | 29 #include <ns3/rr-ff-mac-scheduler.h> |
30 #include <ns3/simulator.h> | 30 #include <ns3/simulator.h> |
31 #include <ns3/lte-common.h> | 31 #include <ns3/lte-common.h> |
32 #include <ns3/lte-vendor-specific-parameters.h> | 32 #include <ns3/lte-vendor-specific-parameters.h> |
33 #include <ns3/boolean.h> | 33 #include <ns3/boolean.h> |
34 | 34 |
35 namespace ns3 { | 35 namespace ns3 { |
36 | 36 |
37 NS_LOG_COMPONENT_DEFINE ("RrFfMacScheduler"); | 37 NS_LOG_COMPONENT_DEFINE ("RrFfMacScheduler"); |
38 | 38 |
| 39 /// Type 0 allocation RBG |
39 static const int Type0AllocationRbg[4] = { | 40 static const int Type0AllocationRbg[4] = { |
40 10, // RGB size 1 | 41 10, // RGB size 1 |
41 26, // RGB size 2 | 42 26, // RGB size 2 |
42 63, // RGB size 3 | 43 63, // RGB size 3 |
43 110 // RGB size 4 | 44 110 // RGB size 4 |
44 }; // see table 7.1.6.1-1 of 36.213 | 45 }; // see table 7.1.6.1-1 of 36.213 |
45 | 46 |
46 | 47 |
47 | 48 |
48 | 49 |
(...skipping 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1831 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); | 1832 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); |
1832 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; | 1833 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; |
1833 params.m_rnti = rnti; | 1834 params.m_rnti = rnti; |
1834 params.m_transmissionMode = txMode; | 1835 params.m_transmissionMode = txMode; |
1835 m_cschedSapUser->CschedUeConfigUpdateInd (params); | 1836 m_cschedSapUser->CschedUeConfigUpdateInd (params); |
1836 } | 1837 } |
1837 | 1838 |
1838 | 1839 |
1839 | 1840 |
1840 } | 1841 } |
OLD | NEW |