lte: Move common constants from scheduler classes to parent class

This commit is contained in:
Eduardo Almeida
2023-04-30 19:28:51 +00:00
parent 72c2619897
commit 1960990db5
12 changed files with 10 additions and 81 deletions

View File

@@ -35,13 +35,6 @@
#include <set>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -32,13 +32,6 @@
#include <map>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -33,17 +33,6 @@
#include <set>
#include <vector>
/**
* value for SINR outside the range defined by FF-API, used to indicate that there
* is no CQI for this element
*/
#define NO_SINR -5000
/// number of HARQ processes
#define HARQ_PROC_NUM 8
/// HARQ DL timeout
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -32,17 +32,6 @@
#include <map>
#include <vector>
/**
* value for SINR outside the range defined by FF-API, used to indicate that there
* is no CQI for this element
*/
#define NO_SINR -5000
/// HARQ number of processes
#define HARQ_PROC_NUM 8
/// HARQ DL timeout
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -61,6 +61,16 @@ using UlHarqProcessesDciBuffer_t = std::vector<UlDciListElement_s>;
/// UL HARQ process status vector
using UlHarqProcessesStatus_t = std::vector<uint8_t>;
/// Value for SINR outside the range defined by FF-API, used to indicate that there is
/// no CQI for this element
constexpr double NO_SINR = -5000;
/// Number of HARQ processes
constexpr uint32_t HARQ_PROC_NUM = 8;
/// HARQ DL timeout
constexpr uint32_t HARQ_DL_TIMEOUT = 11;
/**
* \ingroup ff-api
*

View File

@@ -31,13 +31,6 @@
#include <map>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -32,13 +32,6 @@
#include <map>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -31,9 +31,6 @@
#include <map>
#include <vector>
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -32,13 +32,6 @@
#include <map>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -33,13 +33,6 @@
#include <set>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -32,13 +32,6 @@
#include <map>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{

View File

@@ -33,13 +33,6 @@
#include <set>
#include <vector>
// value for SINR outside the range defined by FF-API, used to indicate that there
// is no CQI for this element
#define NO_SINR -5000
#define HARQ_PROC_NUM 8
#define HARQ_DL_TIMEOUT 11
namespace ns3
{