- Prototype the extension of enb metrics.

This commit is contained in:
faluco 2020-12-08 13:55:56 +01:00 committed by Francisco Paisana
parent 5d85307a98
commit dcd1157d39
2 changed files with 11 additions and 0 deletions

View File

@ -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<bearer_container_t>;
struct stack_metrics_t {
std::vector<mac_metrics_t> 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<bearer_list_t> bearers;
rrc_metrics_t rrc;
s1ap_metrics_t s1ap;
};

View File

@ -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;