2020-11-26 01:25:22 -08:00
|
|
|
/**
|
2017-06-26 01:21:20 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* \section COPYRIGHT
|
2017-06-26 01:21:20 -07:00
|
|
|
*
|
2021-03-19 03:45:56 -07:00
|
|
|
* Copyright 2013-2021 Software Radio Systems Limited
|
2017-06-26 01:21:20 -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-26 01:21:20 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-03-31 10:04:04 -07:00
|
|
|
#ifndef SRSUE_RRC_COMMON_H
|
|
|
|
#define SRSUE_RRC_COMMON_H
|
2017-06-26 01:21:20 -07:00
|
|
|
|
2021-08-18 08:23:56 -07:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2021-10-07 09:39:43 -07:00
|
|
|
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
|
2017-06-26 01:21:20 -07:00
|
|
|
|
2018-03-31 10:04:04 -07:00
|
|
|
#endif // SRSUE_RRC_COMMON_H
|