11#define OSMO_EARFCN_INVALID 666
12#define OSMO_EARFCN_MEAS_INVALID 0xff
#define OSMO_DEPRECATED(text)
GSM TS 04.08 definitions.
#define GSM_MACBLOCK_LEN
Definition: gsm_04_08.h:2269
size_t length
Definition: sysinfo.h:55
bool qrxlm_valid
Definition: sysinfo.h:70
uint8_t qrxlm
Definition: sysinfo.h:63
uint8_t thresh_lo
Definition: sysinfo.h:59
bool thresh_lo_valid
Definition: sysinfo.h:66
bool prio_valid
Definition: sysinfo.h:68
uint8_t * meas_bw
Definition: sysinfo.h:53
uint8_t thresh_hi
Definition: sysinfo.h:57
uint16_t * arfcn
Definition: sysinfo.h:50
uint8_t prio
Definition: sysinfo.h:61
osmo_sysinfo_type
Definition: sysinfo.h:14
@ SYSINFO_TYPE_4
Definition: sysinfo.h:19
@ SYSINFO_TYPE_NONE
Definition: sysinfo.h:15
@ SYSINFO_TYPE_10
Definition: sysinfo.h:25
@ SYSINFO_TYPE_15
Definition: sysinfo.h:40
@ SYSINFO_TYPE_23
Definition: sysinfo.h:44
@ SYSINFO_TYPE_18
Definition: sysinfo.h:29
@ _MAX_SYSINFO_TYPE
Definition: sysinfo.h:45
@ SYSINFO_TYPE_1
Definition: sysinfo.h:16
@ SYSINFO_TYPE_5
Definition: sysinfo.h:20
@ SYSINFO_TYPE_8
Definition: sysinfo.h:23
@ SYSINFO_TYPE_MEAS_INFO
Definition: sysinfo.h:38
@ SYSINFO_TYPE_5ter
Definition: sysinfo.h:36
@ SYSINFO_TYPE_16
Definition: sysinfo.h:27
@ SYSINFO_TYPE_3
Definition: sysinfo.h:18
@ SYSINFO_TYPE_2
Definition: sysinfo.h:17
@ SYSINFO_TYPE_9
Definition: sysinfo.h:24
@ SYSINFO_TYPE_17
Definition: sysinfo.h:28
@ SYSINFO_TYPE_22
Definition: sysinfo.h:43
@ SYSINFO_TYPE_5bis
Definition: sysinfo.h:35
@ SYSINFO_TYPE_13alt
Definition: sysinfo.h:39
@ SYSINFO_TYPE_EMO
Definition: sysinfo.h:37
@ SYSINFO_TYPE_7
Definition: sysinfo.h:22
@ SYSINFO_TYPE_2bis
Definition: sysinfo.h:32
@ SYSINFO_TYPE_6
Definition: sysinfo.h:21
@ SYSINFO_TYPE_13
Definition: sysinfo.h:26
@ SYSINFO_TYPE_19
Definition: sysinfo.h:30
@ SYSINFO_TYPE_21
Definition: sysinfo.h:42
@ SYSINFO_TYPE_20
Definition: sysinfo.h:31
@ SYSINFO_TYPE_2ter
Definition: sysinfo.h:33
@ SYSINFO_TYPE_2quater
Definition: sysinfo.h:34
@ SYSINFO_TYPE_2n
Definition: sysinfo.h:41
size_t osmo_earfcn_bit_size_ext(const struct osmo_earfcn_si2q *e, size_t offset)
Return number of bits necessary to represent earfcn struct as Repeated E-UTRAN Neighbour Cells IE fro...
Definition: sysinfo.c:166
void osmo_earfcn_init(struct osmo_earfcn_si2q *e)
Initialize earfcn struct.
Definition: sysinfo.c:211
size_t osmo_earfcn_bit_size(const struct osmo_earfcn_si2q *e) OSMO_DEPRECATED("Use osmo_earfcn_bit_size_ext()instead.")
Return number of bits necessary to represent earfcn struct as Repeated E-UTRAN Neighbour Cells IE fro...
Definition: sysinfo.c:155
uint8_t osmo_sitype2rsl(enum osmo_sysinfo_type si_type)
Definition: sysinfo.c:220
uint8_t sysinfo_buf_t[GSM_MACBLOCK_LEN]
Definition: sysinfo.h:73
enum osmo_sysinfo_type osmo_rsl2sitype(uint8_t rsl_si)
Definition: sysinfo.c:225
const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE]
Definition: sysinfo.c:104
int osmo_earfcn_del(struct osmo_earfcn_si2q *e, uint16_t arfcn)
Delete arfcn (and corresponding measurement bandwith) from earfcn struct.
Definition: sysinfo.c:195
int osmo_earfcn_add(struct osmo_earfcn_si2q *e, uint16_t arfcn, uint8_t meas_bw)
Add pair of arfcn and measurement bandwith value to earfcn struct.
Definition: sysinfo.c:137