- 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
+3 -2
View File
@@ -43,6 +43,7 @@
#include "UTIL/LOG/log.h"
#include "OCG.h"
#include "OCG_extern.h"
#include "UTIL/OPT/opt.h"
#define DEBUG_RAR
@@ -62,9 +63,9 @@ unsigned short fill_rar(u8 Mod_id,
RA_HEADER_RAPID *rarh = (RA_HEADER_RAPID *)dlsch_buffer;
// RAR_PDU *rar = (RAR_PDU *)(dlsch_buffer+1);
uint8_t *rar = (uint8_t *)(dlsch_buffer+1);
int i,ra_idx;
int i,ra_idx = -1;
uint16_t rballoc;
uint8_t mcs,TPC,cqi_req,ULdelay,cqireq;
uint8_t mcs,TPC,ULdelay,cqireq;
for (i=0;i<NB_RA_PROC_MAX;i++) {
if (eNB_mac_inst[Mod_id].RA_template[i].generate_rar == 1) {
+3 -3
View File
@@ -141,10 +141,10 @@ int dump_eNB_l2_stats(char *buffer, int length){
}
}
}
len += sprintf(&buffer[len],"\0");
return len;
return len + 1 /* SR: for trailing \0 */;
}
#ifdef PROC
#ifndef USER_MODE
static int openair2_stats_read(char *buffer, char **my_buffer, off_t off, int length)