srsLTE/srsenb/hdr/stack/rrc/rrc_metrics.h

45 lines
933 B
C
Raw Normal View History

/**
2017-06-02 03:46:06 -07:00
*
* \section COPYRIGHT
2017-06-02 03:46:06 -07:00
*
* Copyright 2013-2020 Software Radio Systems Limited
2017-06-02 03:46:06 -07:00
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the distribution.
2017-06-01 03:25:57 -07:00
*
*/
2018-03-31 10:04:04 -07:00
#ifndef SRSENB_RRC_METRICS_H
#define SRSENB_RRC_METRICS_H
2017-06-01 03:25:57 -07:00
#include "srsenb/hdr/stack/upper/common_enb.h"
#include <vector>
2017-06-01 03:25:57 -07:00
namespace srsenb {
typedef enum {
2017-06-01 03:25:57 -07:00
RRC_STATE_IDLE = 0,
RRC_STATE_WAIT_FOR_CON_SETUP_COMPLETE,
RRC_STATE_WAIT_FOR_CON_REEST_COMPLETE,
2017-06-01 03:25:57 -07:00
RRC_STATE_WAIT_FOR_SECURITY_MODE_COMPLETE,
RRC_STATE_WAIT_FOR_UE_CAP_INFO,
RRC_STATE_WAIT_FOR_CON_RECONF_COMPLETE,
RRC_STATE_REESTABLISHMENT_COMPLETE,
2017-06-01 03:25:57 -07:00
RRC_STATE_REGISTERED,
RRC_STATE_RELEASE_REQUEST,
RRC_STATE_N_ITEMS,
} rrc_state_t;
2017-06-01 03:25:57 -07:00
struct rrc_ue_metrics_t {
2017-06-01 03:25:57 -07:00
rrc_state_t state;
};
struct rrc_metrics_t {
std::vector<rrc_ue_metrics_t> ues;
2017-06-01 03:25:57 -07:00
};
} // namespace srsenb
2018-03-31 10:04:04 -07:00
#endif // SRSENB_RRC_METRICS_H