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.

42 lines
650 B
C++

/**
*
* \section COPYRIGHT
*
* Copyright 2013-2020 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
namespace srsenb {
// PHY metrics per user
struct ul_metrics_t {
float n;
float sinr;
float rssi;
float turbo_iters;
float mcs;
int n_samples;
};
struct dl_metrics_t {
float mcs;
int n_samples;
};
struct phy_metrics_t {
dl_metrics_t dl;
ul_metrics_t ul;
};
} // namespace srsenb
#endif // SRSENB_PHY_METRICS_H