- Prototype the extension of enb metrics.

master
faluco 4 years ago committed by Francisco Paisana
parent 5d85307a98
commit dcd1157d39

@ -27,8 +27,18 @@
namespace srsenb { 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 { struct stack_metrics_t {
std::vector<mac_metrics_t> mac; 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; rrc_metrics_t rrc;
s1ap_metrics_t s1ap; s1ap_metrics_t s1ap;
}; };

@ -20,6 +20,7 @@ namespace srsenb {
struct mac_metrics_t { struct mac_metrics_t {
uint16_t rnti; uint16_t rnti;
uint32_t nof_tti; uint32_t nof_tti;
uint32_t cc_idx;
int tx_pkts; int tx_pkts;
int tx_errors; int tx_errors;
int tx_brate; int tx_brate;

Loading…
Cancel
Save