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.
28 lines
568 B
C
28 lines
568 B
C
4 years ago
|
/**
|
||
8 years ago
|
*
|
||
4 years ago
|
* \section COPYRIGHT
|
||
8 years ago
|
*
|
||
4 years ago
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||
8 years ago
|
*
|
||
4 years ago
|
* 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.
|
||
8 years ago
|
*
|
||
|
*/
|
||
|
|
||
7 years ago
|
#ifndef SRSUE_RRC_COMMON_H
|
||
|
#define SRSUE_RRC_COMMON_H
|
||
8 years ago
|
|
||
3 years ago
|
namespace srsran {
|
||
8 years ago
|
|
||
3 years ago
|
#include <stdint.h>
|
||
|
|
||
|
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);
|
||
|
|
||
3 years ago
|
} // namespace srsran
|
||
8 years ago
|
|
||
7 years ago
|
#endif // SRSUE_RRC_COMMON_H
|