log ack/nack at phy level (process_harq_feedback)

This commit is contained in:
Cedric Roux
2016-05-17 18:48:11 +02:00
parent b0ee0f4c82
commit 0e03381016
3 changed files with 23 additions and 0 deletions
+10
View File
@@ -163,6 +163,14 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
timelog = new_timelog(h, database, "ENB_DLSCH_UE_DCI");
subview = new_subview_time(timeview, 1, new_color(g, "#228"));
logger_add_view(timelog, subview);
/* ACK */
timelog = new_timelog(h, database, "ENB_DLSCH_UE_ACK");
subview = new_subview_time(timeview, 2, new_color(g, "#282"));
logger_add_view(timelog, subview);
/* NACK */
timelog = new_timelog(h, database, "ENB_DLSCH_UE_NACK");
subview = new_subview_time(timeview, 3, new_color(g, "#f22"));
logger_add_view(timelog, subview);
/* uplink UE DCIs */
timelog = new_timelog(h, database, "ENB_UL_TICK");
@@ -231,6 +239,8 @@ int main(int n, char **v)
on_off(database, "ENB_UL_TICK", is_on, 1);
on_off(database, "ENB_DL_TICK", is_on, 1);
on_off(database, "ENB_DLSCH_UE_DCI", is_on, 1);
on_off(database, "ENB_DLSCH_UE_ACK", is_on, 1);
on_off(database, "ENB_DLSCH_UE_NACK", is_on, 1);
for (i = 0; i < on_off_n; i++)
on_off(database, on_off_name[i], is_on, on_off_action[i]);