Commit 11b1a9c0 authored by winckel's avatar winckel

Moved ITTI configuration values into a separate file.

Included "mme_config.h" explicitely in files because it must be removed from "intertask_interface.h" to make ITTI more generic.
Removed some useless timer definitions.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4247 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 68fed0a1
......@@ -243,9 +243,6 @@ int timer_init(void)
STAILQ_INIT(&timer_desc.timer_queue);
pthread_mutex_init(&timer_desc.timer_list_mutex, NULL);
timer_desc.timeout.tv_sec = MME_TIMER_TIMEOUT_S;
timer_desc.timeout.tv_nsec = MME_TIMER_TIMEOUT_NS;
TMR_DEBUG("Initializing TIMER task interface: DONE\n");
return 0;
}
......@@ -28,8 +28,6 @@
*******************************************************************************/
#include "mme_config.h"
#ifndef TIMER_H_
#define TIMER_H_
......
......@@ -5,6 +5,7 @@
#include <string.h>
#include "intertask_interface.h"
#include "mme_config.h"
#include "nas_defs.h"
......
......@@ -42,6 +42,7 @@
#include <arpa/inet.h> /* To provide inet_addr */
#include "mme_config.h"
#include "intertask_interface_conf.h"
mme_config_t mme_config;
......
......@@ -34,8 +34,6 @@
/*******************************************************************************
* Timer Constants
******************************************************************************/
#define MME_TIMER_TIMEOUT_NS (1000)
#define MME_TIMER_TIMEOUT_S (0)
#define MME_STATISTIC_TIMER_S (60)
/*******************************************************************************
......@@ -82,16 +80,6 @@
#define RELATIVE_CAPACITY (15)
/*******************************************************************************
* Intertask Interface Constants
******************************************************************************/
#define ITTI_QUEUE_SIZE_PER_TASK (5 * 1024 * 1024) /* Limit the queue size to 5M */
#define ITTI_PORT (10007)
/* This is the queue size for signal dumper */
#define ITTI_QUEUE_SIZE_MAX (1 * 1024 * 1024) /* 1 MBytes */
#define ITTI_DUMP_MAX_CON (5) /* Max connections in parallel */
/*******************************************************************************
* IPv4 Constants
******************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment