2020-11-26 01:25:22 -08:00
|
|
|
/**
|
2017-06-02 03:46:06 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* \section COPYRIGHT
|
2017-06-02 03:46:06 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* Copyright 2013-2020 Software Radio Systems Limited
|
2017-06-02 03:46:06 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08: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
|
|
|
|
2019-06-06 07:52:37 -07:00
|
|
|
#include "srsenb/hdr/stack/upper/common_enb.h"
|
2020-11-19 05:40:40 -08:00
|
|
|
#include <vector>
|
2017-06-01 03:25:57 -07:00
|
|
|
|
|
|
|
namespace srsenb {
|
|
|
|
|
2019-12-16 07:04:22 -08:00
|
|
|
typedef enum {
|
2017-06-01 03:25:57 -07:00
|
|
|
RRC_STATE_IDLE = 0,
|
|
|
|
RRC_STATE_WAIT_FOR_CON_SETUP_COMPLETE,
|
2020-05-04 09:33:35 -07:00
|
|
|
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,
|
2020-06-12 04:22:42 -07:00
|
|
|
RRC_STATE_REESTABLISHMENT_COMPLETE,
|
2017-06-01 03:25:57 -07:00
|
|
|
RRC_STATE_REGISTERED,
|
|
|
|
RRC_STATE_RELEASE_REQUEST,
|
|
|
|
RRC_STATE_N_ITEMS,
|
2019-12-16 07:04:22 -08:00
|
|
|
} rrc_state_t;
|
2017-06-01 03:25:57 -07:00
|
|
|
|
2019-12-16 07:04:22 -08:00
|
|
|
struct rrc_ue_metrics_t {
|
2017-06-01 03:25:57 -07:00
|
|
|
rrc_state_t state;
|
|
|
|
};
|
|
|
|
|
2019-12-16 07:04:22 -08:00
|
|
|
struct rrc_metrics_t {
|
2020-11-19 05:40:40 -08:00
|
|
|
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
|