- Force logs level to 7 in pre-ci

- Output logs from ping/oaisim in two distincts files
- Fix some compiler warnings
- Put assertions in some switch default cases
- Create a wrapper for macphy_exit to display FILE and LINE of the caller
- Enabled -Werror=implicit-function-declaration

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4682 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Cedric Roux
2013-12-11 23:26:33 +00:00
parent 54ada88ddb
commit bb52f71432
15 changed files with 86 additions and 53 deletions
+6 -6
View File
@@ -910,11 +910,11 @@ void characters(void *user_data, const xmlChar *xmlch, int xmllen) { // called o
} else if (beam_width_dB_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.beam_width_dB = atof(ch);
} else if (alpha_rad_1_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[1] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[0] = atof(ch);
} else if (alpha_rad_2_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[2] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[1] = atof(ch);
} else if (alpha_rad_3_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[3] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.alpha_rad[2] = atof(ch);
} else if (antenna_gain_dBi_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_gain_dBi = atof(ch);
} else if (tx_power_dBm_) {
@@ -922,11 +922,11 @@ void characters(void *user_data, const xmlChar *xmlch, int xmllen) { // called o
} else if (rx_noise_level_dB_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.rx_noise_level_dB = atof(ch);
} else if (antenna_orientation_degree_1_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[1] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[0] = atof(ch);
} else if (antenna_orientation_degree_2_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[2] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[1] = atof(ch);
} else if (antenna_orientation_degree_3_) {
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[3] = atof(ch);
oai_emulation.environment_system_config.antenna.eNB_antenna.antenna_orientation_degree[2] = atof(ch);
}
} else if (UE_antenna_) {
if (antenna_gain_dBi_) {
+1
View File
@@ -43,6 +43,7 @@
#include "../UTIL/MATH/oml.h"
#include <math.h>
#include "otg_form.h"
#include "otg_kpi.h"
#ifdef ENABLE_DB_STATS
#include <mysql.h>