mirror of https://github.com/PentHertz/srsLTE.git
- Prototype the extension of enb metrics.
This commit is contained in:
parent
5d85307a98
commit
dcd1157d39
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue