4 #include <osmocom/core/utils.h> 5 #include <osmocom/gsm/protocol/gsm_04_08.h> 7 #define OSMO_EARFCN_INVALID 666 8 #define OSMO_EARFCN_MEAS_INVALID 0xff 10 enum osmo_sysinfo_type {
34 SYSINFO_TYPE_MEAS_INFO,
64 typedef uint8_t sysinfo_buf_t[GSM_MACBLOCK_LEN];
66 extern const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE];
67 int osmo_earfcn_add(
struct osmo_earfcn_si2q *e, uint16_t arfcn, uint8_t meas_bw);
71 uint8_t osmo_sitype2rsl(
enum osmo_sysinfo_type si_type);
72 enum osmo_sysinfo_type osmo_rsl2sitype(uint8_t rsl_si);