From f89c70dfc34898199861fb93f7c31bbe0ebd6431 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Wed, 30 Nov 2016 18:03:49 +0100
Subject: [PATCH] T: change range of DL/UL MCS plots

[-1 29] was not very pleasant for MCS 28 or no DCI (value is -1 in this case).
[-2 30] looks better.
---
 common/utils/T/tracer/enb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/utils/T/tracer/enb.c b/common/utils/T/tracer/enb.c
index c6f3bba5ff..14e1da35c0 100644
--- a/common/utils/T/tracer/enb.c
+++ b/common/utils/T/tracer/enb.c
@@ -329,7 +329,7 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database,
   line = new_container(g, HORIZONTAL);
   widget_add_child(g, top_container, line, -1);
   w = new_xy_plot(g, 128, 55, "", 20);
-  xy_plot_set_range(g, w, 0, 1024*10, -1, 29);
+  xy_plot_set_range(g, w, 0, 1024*10, -2, 30);
   e->dl_mcs_xy_plot = w;
   widget_add_child(g, line, w, -1);
   l = new_ticked_ttilog(h, database, "ENB_PHY_DL_TICK", "frame", "subframe",
@@ -340,7 +340,7 @@ static void enb_main_gui(enb_gui *e, gui *g, event_handler *h, void *database,
 
   /* UE x UL mcs */
   w = new_xy_plot(g, 128, 55, "", 20);
-  xy_plot_set_range(g, w, 0, 1024*10, -1, 29);
+  xy_plot_set_range(g, w, 0, 1024*10, -2, 30);
   e->ul_mcs_xy_plot = w;
   widget_add_child(g, line, w, -1);
   l = new_ticked_ttilog(h, database, "ENB_PHY_DL_TICK", "frame", "subframe",
-- 
GitLab