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 17 matching lines...) Expand all Loading... |
28 #include <ns3/fdbet-ff-mac-scheduler.h> | 28 #include <ns3/fdbet-ff-mac-scheduler.h> |
29 #include <ns3/lte-vendor-specific-parameters.h> | 29 #include <ns3/lte-vendor-specific-parameters.h> |
30 #include <ns3/boolean.h> | 30 #include <ns3/boolean.h> |
31 #include <set> | 31 #include <set> |
32 #include <cfloat> | 32 #include <cfloat> |
33 | 33 |
34 namespace ns3 { | 34 namespace ns3 { |
35 | 35 |
36 NS_LOG_COMPONENT_DEFINE ("FdBetFfMacScheduler"); | 36 NS_LOG_COMPONENT_DEFINE ("FdBetFfMacScheduler"); |
37 | 37 |
| 38 /// FdBetType0AllocationRbg array |
38 static const int FdBetType0AllocationRbg[4] = { | 39 static const int FdBetType0AllocationRbg[4] = { |
39 10, // RGB size 1 | 40 10, // RGB size 1 |
40 26, // RGB size 2 | 41 26, // RGB size 2 |
41 63, // RGB size 3 | 42 63, // RGB size 3 |
42 110 // RGB size 4 | 43 110 // RGB size 4 |
43 }; // see table 7.1.6.1-1 of 36.213 | 44 }; // see table 7.1.6.1-1 of 36.213 |
44 | 45 |
45 | 46 |
46 NS_OBJECT_ENSURE_REGISTERED (FdBetFfMacScheduler); | 47 NS_OBJECT_ENSURE_REGISTERED (FdBetFfMacScheduler); |
47 | 48 |
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2045 { | 2046 { |
2046 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); | 2047 NS_LOG_FUNCTION (this << " RNTI " << rnti << " txMode " << (uint16_t)txMode); |
2047 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; | 2048 FfMacCschedSapUser::CschedUeConfigUpdateIndParameters params; |
2048 params.m_rnti = rnti; | 2049 params.m_rnti = rnti; |
2049 params.m_transmissionMode = txMode; | 2050 params.m_transmissionMode = txMode; |
2050 m_cschedSapUser->CschedUeConfigUpdateInd (params); | 2051 m_cschedSapUser->CschedUeConfigUpdateInd (params); |
2051 } | 2052 } |
2052 | 2053 |
2053 | 2054 |
2054 } | 2055 } |
OLD | NEW |