From 01da66911f5d844558ceb8630f013fa8a21963bd Mon Sep 17 00:00:00 2001
From: Navid Nikaein <navid.nikaein@eurecom.fr>
Date: Wed, 27 May 2015 21:04:42 +0000
Subject: [PATCH]  increase the OTG/OMG log level and update the getopt help

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7475 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/SIMU/USER/oaisim.c        | 2 +-
 targets/SIMU/USER/oaisim_config.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/targets/SIMU/USER/oaisim.c b/targets/SIMU/USER/oaisim.c
index 641dd6c9a7..7707d4807c 100644
--- a/targets/SIMU/USER/oaisim.c
+++ b/targets/SIMU/USER/oaisim.c
@@ -221,7 +221,7 @@ help (void)
   printf ("-s snr_dB set a fixed (average) SNR, this deactivates the openair channel model generator (OCM)\n");
   printf ("-S snir_dB set a fixed (average) SNIR, this deactivates the openair channel model generator (OCM)\n");
   printf ("-t Gives a fixed UL mcs for eNB scheduler\n");
-  printf ("-T activate the traffic generator: cbr, scbr, mcbr, bcbr, mscbr\n");
+  printf ("-T activate the traffic generator. Valide options are m2m,scbr,mcbr,bcbr,auto_pilot,bicycle_race,open_arena,team_fortress,m2m_traffic,auto_pilot_l,auto_pilot_m,auto_pilot_h,auto_pilot_e,virtual_game_l,virtual_game_m,virtual_game_h,virtual_game_f,alarm_humidity,alarm_smoke,alarm_temperature,openarena_dl,openarena_ul,voip_g711,voip_g729,video_vbr_10mbps,video_vbr_4mbps,video_vbr_2mbp,video_vbr_768kbps,video_vbr_384kbps,video_vbr_192kpbs,background_users\n");
   printf ("-u Set the number of local UE\n");
   printf ("-U Set the mobility model for UE, options are: STATIC, RWP, RWALK\n");
   printf ("-V [vcd_file] Enable VCD dump into vcd_file\n");
diff --git a/targets/SIMU/USER/oaisim_config.c b/targets/SIMU/USER/oaisim_config.c
index e39d1c7475..d812fca536 100644
--- a/targets/SIMU/USER/oaisim_config.c
+++ b/targets/SIMU/USER/oaisim_config.c
@@ -457,8 +457,8 @@ int olg_config(void)
    set_comp_log(PDCP, LOG_DEBUG, 0x15,1);
    set_comp_log(RRC,  LOG_DEBUG, 0x15,1);
    set_comp_log(OCM,  LOG_ERR, 0x15,20);
-   set_comp_log(OTG,  LOG_ERR, 0x15,1);
-   set_comp_log(OMG,  LOG_ERR, 0x15,1);
+   set_comp_log(OTG,  LOG_INFO, 0x15,1);
+   set_comp_log(OMG,  LOG_INFO, 0x15,1);
    set_comp_log(OPT,  LOG_ERR, 0x15,1);
 
 
-- 
GitLab