srsLTE/lib/include/srsran/rrc/rrc_common.h

28 lines
568 B
C
Raw Normal View History

/**
*
* \section COPYRIGHT
*
2021-03-19 03:45:56 -07:00
* 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.
*
*/
2018-03-31 10:04:04 -07:00
#ifndef SRSUE_RRC_COMMON_H
#define SRSUE_RRC_COMMON_H
2021-08-18 08:23:56 -07:00
#include <stdint.h>
namespace srsran {
2021-08-18 08:23:56 -07:00
enum quant_s { quant_rsrp, quant_rsrq };
uint8_t rrc_value_to_range(quant_s quant, const float value);
float rrc_range_to_value(quant_s quant, const uint8_t range);
2021-09-22 07:18:03 -07:00
} // namespace srsran
2018-03-31 10:04:04 -07:00
#endif // SRSUE_RRC_COMMON_H