mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
828 B
C++
50 lines
828 B
C++
/**
|
|
*
|
|
* \section COPYRIGHT
|
|
*
|
|
* Copyright 2013-2021 Software Radio Systems Limited
|
|
*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef SRSENB_PHY_METRICS_H
|
|
#define SRSENB_PHY_METRICS_H
|
|
|
|
#include <limits>
|
|
|
|
namespace srsenb {
|
|
|
|
// PHY metrics per user
|
|
|
|
struct ul_metrics_t {
|
|
float n;
|
|
float pusch_sinr;
|
|
float pusch_rssi;
|
|
int64_t pusch_tpc;
|
|
float pucch_sinr;
|
|
float pucch_rssi;
|
|
float pucch_ni;
|
|
float turbo_iters;
|
|
float mcs;
|
|
int n_samples;
|
|
int n_samples_pucch;
|
|
};
|
|
|
|
struct dl_metrics_t {
|
|
float mcs;
|
|
int64_t pucch_tpc;
|
|
int n_samples;
|
|
};
|
|
|
|
struct phy_metrics_t {
|
|
dl_metrics_t dl;
|
|
ul_metrics_t ul;
|
|
};
|
|
|
|
} // namespace srsenb
|
|
|
|
#endif // SRSENB_PHY_METRICS_H
|