Commit ecd09b30 authored by rmagueta's avatar rmagueta

Change variable name

parent d31db3dd
...@@ -94,7 +94,7 @@ ID = GNB_PHY_PUCCH_PUSCH_IQ ...@@ -94,7 +94,7 @@ ID = GNB_PHY_PUCCH_PUSCH_IQ
GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB
FORMAT = int,frame : int,slot : buffer,rxdataF FORMAT = int,frame : int,slot : buffer,rxdataF
ID = GNB_PHY_UL_CHANNEL_ESTIMATE ID = GNB_PHY_UL_CHANNEL_ESTIMATE
DESC = gNodeB channel estimation in the frequency domain DESC = gNodeB channel estimation in the time/frequency domain
GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB
FORMAT = int,gNB_ID : int,rnti : int,frame : int,subframe : int,antenna : buffer,chest_t FORMAT = int,gNB_ID : int,rnti : int,frame : int,subframe : int,antenna : buffer,chest_t
ID = GNB_PHY_PRACH_INPUT_SIGNAL ID = GNB_PHY_PRACH_INPUT_SIGNAL
......
...@@ -17,13 +17,13 @@ int next_ue_id; ...@@ -17,13 +17,13 @@ int next_ue_id;
typedef struct { typedef struct {
widget *pucch_pusch_iq_plot; widget *pucch_pusch_iq_plot;
widget *ul_estimate_ue_xy_plot; widget *ul_freq_estimate_ue_xy_plot;
widget *current_ue_label; widget *current_ue_label;
widget *current_ue_button; widget *current_ue_button;
widget *prev_ue_button; widget *prev_ue_button;
widget *next_ue_button; widget *next_ue_button;
logger *pucch_pusch_iq_logger; logger *pucch_pusch_iq_logger;
logger *ul_estimate_ue_logger; logger *ul_freq_estimate_ue_logger;
} gnb_gui; } gnb_gui;
typedef struct { typedef struct {
...@@ -92,7 +92,7 @@ static void set_current_ue(gui *g, gnb_data *e, int ue) ...@@ -92,7 +92,7 @@ static void set_current_ue(gui *g, gnb_data *e, int ue)
xy_plot_set_title(g, e->e->pucch_pusch_iq_plot, s); xy_plot_set_title(g, e->e->pucch_pusch_iq_plot, s);
sprintf(s, "UL channel estimation in frequency domain [UE %d]", ue); sprintf(s, "UL channel estimation in frequency domain [UE %d]", ue);
xy_plot_set_title(g, e->e->ul_estimate_ue_xy_plot, s); xy_plot_set_title(g, e->e->ul_freq_estimate_ue_xy_plot, s);
} }
void reset_ue_ids(void) void reset_ue_ids(void)
...@@ -181,14 +181,14 @@ static void gnb_main_gui(gnb_gui *e, gui *g, event_handler *h, void *database, g ...@@ -181,14 +181,14 @@ static void gnb_main_gui(gnb_gui *e, gui *g, event_handler *h, void *database, g
/* UL estimated channel */ /* UL estimated channel */
w = new_xy_plot(g, 600, 200, "", 50); w = new_xy_plot(g, 600, 200, "", 50);
e->ul_estimate_ue_xy_plot = w; e->ul_freq_estimate_ue_xy_plot = w;
widget_add_child(g, line, w, -1); widget_add_child(g, line, w, -1);
xy_plot_set_range(g, w, 0, 100*10, -10, 80); xy_plot_set_range(g, w, 0, 100*10, -10, 80);
l = new_framelog(h, database, "GNB_PHY_UL_CHANNEL_ESTIMATE", "subframe", "chest_t"); l = new_framelog(h, database, "GNB_PHY_UL_CHANNEL_ESTIMATE", "subframe", "chest_t");
framelog_set_update_only_at_sf9(l, 0); framelog_set_update_only_at_sf9(l, 0);
v = new_view_xy(100*10, 10, g, w, new_color(g, "#0c0c72"), XY_LOOP_MODE); v = new_view_xy(100*10, 10, g, w, new_color(g, "#0c0c72"), XY_LOOP_MODE);
logger_add_view(l, v); logger_add_view(l, v);
e->ul_estimate_ue_logger = l; e->ul_freq_estimate_ue_logger = l;
set_current_ue(g, ed, ed->ue); set_current_ue(g, ed, ed->ue);
register_notifier(g, "click", e->current_ue_button, click, ed); register_notifier(g, "click", e->current_ue_button, click, ed);
......
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