diff --git a/lib/include/srslte/interfaces/enb_metrics_interface.h b/lib/include/srslte/interfaces/enb_metrics_interface.h index a8aaba8a3..fc2bf7cd2 100644 --- a/lib/include/srslte/interfaces/enb_metrics_interface.h +++ b/lib/include/srslte/interfaces/enb_metrics_interface.h @@ -27,8 +27,18 @@ namespace srsenb { +//:TODO: move this struct to the layer it belongs to. +struct bearer_container_t { + uint32_t id; + uint32_t qci; +}; +using bearer_list_t = std::vector; + struct stack_metrics_t { std::vector mac; + // For XICO: Each position in the vector represents a ue. Should have the same number of ues and ue order as the mac vector + // above. + std::vector bearers; rrc_metrics_t rrc; s1ap_metrics_t s1ap; }; diff --git a/srsenb/hdr/stack/mac/mac_metrics.h b/srsenb/hdr/stack/mac/mac_metrics.h index e97cb1b05..7ec7df665 100644 --- a/srsenb/hdr/stack/mac/mac_metrics.h +++ b/srsenb/hdr/stack/mac/mac_metrics.h @@ -20,6 +20,7 @@ namespace srsenb { struct mac_metrics_t { uint16_t rnti; uint32_t nof_tti; + uint32_t cc_idx; int tx_pkts; int tx_errors; int tx_brate;